Warning: Undefined array key "user_id_bng_till" in /home/myworks/bng_till/Assets/index_before.php on line 32

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 '' at line 1 in /home/myworks/bng_till/Assets/index_before.php:32 Stack trace: #0 /home/myworks/bng_till/Assets/index_before.php(32): mysqli_query() #1 /home/myworks/bng_till/Assets/index.php(2): require_once('...') #2 {main} thrown in /home/myworks/bng_till/Assets/index_before.php on line 32