Fatal error: Uncaught PDOException: 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 '2 AND `content_type` LIKE "news" ORDER BY `content_status` DESC, `content_ord...' at line 1 in /var/www/vhosts/lesaubergesdejeunesse.be/httpdocs/wm-admin/functions.php:197
Stack trace:
#0 /var/www/vhosts/lesaubergesdejeunesse.be/httpdocs/wm-admin/functions.php(197): PDO->query()
#1 /var/www/vhosts/lesaubergesdejeunesse.be/httpdocs/wm-admin/modules/content/load.php(189): getData()
#2 /var/www/vhosts/lesaubergesdejeunesse.be/httpdocs/wm-admin/modules/content/load.php(215): getContent()
#3 /var/www/vhosts/lesaubergesdejeunesse.be/httpdocs/controller-static.php(260): getContentSimple()
#4 /var/www/vhosts/lesaubergesdejeunesse.be/httpdocs/_query.php(37): require_once('...')
#5 /var/www/vhosts/lesaubergesdejeunesse.be/httpdocs/wm-admin/index-website.php(28): require_once('...')
#6 /var/www/vhosts/lesaubergesdejeunesse.be/httpdocs/index.php(14): require_once('...')
#7 {main}
thrown in /var/www/vhosts/lesaubergesdejeunesse.be/httpdocs/wm-admin/functions.php on line 197