API problem regarding to Word Replacement
Your code includes 'id' =&gt; 1

create with an id is for updating an existing value.  Do you already have a WordReplacement with id=1 ?

If you are wanting to create a new one rather than update, just omit 'id' =&gt; 1