Error while saving note

There was an OpenEMR SQL Escaping ERROR of the following string just

When I go to save a note which I created with layouts I get the error above.

I was working on a layout and I have that layout in a copy of the database. How can I transfer the working layout to my “Production” database?