Warning: Undefined array key "usuarioID" in /home/systemdecorcom/public_html/sg/util/menu.php on line 22

Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND p.status = 10 ORDER BY p.ordem, grupo_cod, nome ASC' at line 19 in /home/systemdecorcom/public_html/sg/model/MySQL.php:38 Stack trace: #0 /home/systemdecorcom/public_html/sg/model/MySQL.php(38): mysqli_query(Object(mysqli), 'SELECT \n\t\t\t\tpag...') #1 /home/systemdecorcom/public_html/sg/util/menu.php(28): MySQL->query('SELECT \n\t\t\t\tpag...') #2 /home/systemdecorcom/public_html/sg/view/dashboard.php(31): require_once('/home/systemdec...') #3 {main} thrown in /home/systemdecorcom/public_html/sg/model/MySQL.php on line 38