Fatal error: Uncaught TypeError: mysqli_error(): Argument #1 ($mysql) must be of type mysqli, bool given in D:\xampp\htdocs\webboard1\Sources\Subs-Auth.php:367
Stack trace:
#0 D:\xampp\htdocs\webboard1\Sources\Subs-Auth.php(367): mysqli_error(false)
#1 D:\xampp\htdocs\webboard1\Sources\Errors.php(422): show_db_error(false)
#2 D:\xampp\htdocs\webboard1\index.php(82): db_fatal_error()
#3 {main}
thrown in D:\xampp\htdocs\webboard1\Sources\Subs-Auth.php on line 367