Fatal error: Uncaught mysqli_sql_exception: 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 OR status = 2)' at line 1 in /home/selectacom/public_html/includes/customfuncs.php:4887
Stack trace:
#0 /home/selectacom/public_html/includes/customfuncs.php(4887): mysqli->query('SELECT * FROM l...')
#1 /home/selectacom/public_html/includes/customfuncs.php(5126): carrito_editable(false)
#2 /home/selectacom/public_html/pages/carrito.php(50): datos_carrito(false)
#3 /home/selectacom/public_html/index.php(60): include_once('/home/selectaco...')
#4 {main}
thrown in /home/selectacom/public_html/includes/customfuncs.php on line 4887