Fatal error: Uncaught exception 'PDOException' with message '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 '' at line 3' in /var/www/html_db/inc/_database.class.php:239
Stack trace:
#0 /var/www/html_db/inc/_database.class.php(239): PDOStatement->execute(Array)
#1 /var/www/html_db/inc/class/class_menu.php(49): Database->query_prepare_first('select `im_id`,...')
#2 /var/www/html_db/product.php(103): class_menu::getListname('')
#3 {main}
thrown in /var/www/html_db/inc/_database.class.php on line 239