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 1' in /home/lybhahgw/public_html/cls/classes/class.superclass.php:37
Stack trace:
#0 /home/lybhahgw/public_html/cls/classes/class.superclass.php(37): PDO->query('SELECT * FROM l...')
#1 /home/lybhahgw/public_html/cls/classes/class.offer.php(490): superclass->sql_select('SELECT * FROM c...')
#2 /home/lybhahgw/public_html/p/product.php(10): offer->get_Data_Category('name', 'txt', false, '')
#3 /home/lybhahgw/public_html/index.php(93): include('/home/lybhahgw/...')
#4 {main}
thrown in /home/lybhahgw/public_html/cls/classes/class.superclass.php on line 37