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