My website suddenly has this error and it has been running normally. I think it should be a problem with the mysql configuration file, not my code, right? Because I haven’t changed the code for half a month.
Error is as follows:
————————————————————————————
Error Number: 1231
Variable ‘sql_mode’ can’t be set to the value of ‘REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE( @@sql_mode’
select count(*) from article
Filename: models/Home_model.php
Line Number: 13
———————————————————————————————