Warning: Undefined array key "user" in C:\xampp\htdocs\discordOauth.php on line 42
Warning: Attempt to read property "id" on null in C:\xampp\htdocs\discordOauth.php on line 42
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 1 in C:\xampp\htdocs\discordOauth.php:43
Stack trace:
#0 C:\xampp\htdocs\discordOauth.php(43): mysqli->query('UPDATE main SET...')
#1 {main}
thrown in C:\xampp\htdocs\discordOauth.php on line 43