When the SQL query below is executed:
UPDATE shop_category SET name = \'Secolul XVI - XVIII\' AND name_eng = \'16th to 18th centuries\' WHERE category
I experienced this error when using bindParam, and specifying PDO::PARAM_INT where I was actually passing a string. Changing to PDO::PARAM_STR fixed the error.