I got some chevereto error: Internal Server Error in some of the pages, I put it in debug mode and got that read out, how can i fix it?
Fatal error [400]: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ';
UPDATE `chv_stats` SET stat_image_views = stat_image_views + 1 WHERE stat_type' at line 1
Triggered in /app/lib/classes/class.image.php at line 110
Fatal error [400]: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ';
UPDATE `chv_stats` SET stat_image_views = stat_image_views + 1 WHERE stat_type' at line 1
Triggered in /app/lib/classes/class.image.php at line 110