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 'news.news_code='4' GROUP BY news.news_code' at line 1 in /var/www/vhosts/i-demo.it/humanlines.i-demo.it/db.class.php:47
Stack trace:
#0 /var/www/vhosts/i-demo.it/humanlines.i-demo.it/db.class.php(47): PDO->query()
#1 /var/www/vhosts/i-demo.it/humanlines.i-demo.it/functions.inc.php(1529): db->query()
#2 /var/www/vhosts/i-demo.it/humanlines.i-demo.it/pages/news.inc.php(228): create_front()
#3 /var/www/vhosts/i-demo.it/humanlines.i-demo.it/pages/news.body.php(11): include('...')
#4 /var/www/vhosts/i-demo.it/humanlines.i-demo.it/index.php(193): include('...')
#5 {main}
thrown in /var/www/vhosts/i-demo.it/humanlines.i-demo.it/db.class.php on line 47
|