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 'and online = ''' at line 1 in /home/sumshopp/domains/shopsabay.com/public_html/category_list.php:144
Stack trace:
#0 /home/sumshopp/domains/shopsabay.com/public_html/category_list.php(144): PDO->query('select * from s...')
#1 /home/sumshopp/domains/shopsabay.com/public_html/sum.php(89): include('/home/sumshopp/...')
#2 {main}
thrown in
/home/sumshopp/domains/shopsabay.com/public_html/category_list.php on line
144