SyntaxFix
Write A Post
Hire A Developer
Questions
This happens when PDO::ATTR_EMULATE_PREPARES is set to true on the connection.
PDO::ATTR_EMULATE_PREPARES
true
Careful though, setting it to false disallows the use of parameters more than once. I believe it also affects the quality of the error messages coming back.
false