Warning: Undefined array key "MEMBER_ID" in /home/amcolabo/erp/includes/sidebar.php on line 14
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 '' at line 10 in /home/amcolabo/erp/includes/sidebar.php:15
Stack trace:
#0 /home/amcolabo/erp/includes/sidebar.php(15): mysqli_query(Object(mysqli), 'SELECT u.ID, t....')
#1 /home/amcolabo/erp/pages/index.php(3): include('/home/amcolabo/...')
#2 {main}
thrown in /home/amcolabo/erp/includes/sidebar.php on line 15