NEW:  
Warning: mysqli_query() expects parameter 1 to be mysqli, bool given in /home/www/index.php on line 503

Fatal error: Uncaught Error: Call to undefined function mysql_error() in /home/www/index.php:503 Stack trace: #0 {main} thrown in /home/www/index.php on line 503