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 `status`=1' at line 1 in /home/xhoyvrtu/public_html/config/system_functions/functions_products.php:836
Stack trace:
#0 /home/xhoyvrtu/public_html/config/system_functions/functions_products.php(836): PDOStatement->execute()
#1 /home/xhoyvrtu/public_html/services-list.php(104): get_products_by_main_category_and_sub_category_both()
#2 {main}
thrown in /home/xhoyvrtu/public_html/config/system_functions/functions_products.php on line 836