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 menu.id_padre is not null and menu.id not in (1)
GROUP by menu.id_padre' at line 3 in /home/adminsosfood/public_html/manager1/menu.php:42
Stack trace:
#0 /home/adminsosfood/public_html/manager1/menu.php(42): mysqli_query(Object(mysqli), '\n SELECT men...')
#1 /home/adminsosfood/public_html/manager1/cards.php(29): include('/home/adminsosf...')
#2 {main}
thrown in /home/adminsosfood/public_html/manager1/menu.php on line 42