Warning: mysqli::__construct(): (HY000/2002): No route to host in /var/www/vhosts/interteach.kz/httpdocs/modules/Db.php on line 49

Fatal error: Uncaught Error: Call to undefined function mysql_connect_error() in /var/www/vhosts/interteach.kz/httpdocs/modules/Db.php:29 Stack trace: #0 /var/www/vhosts/interteach.kz/httpdocs/modules/Db.php(14): Database->__construct() #1 /var/www/vhosts/interteach.kz/httpdocs/modules/Query.php(9): Database::getInstance() #2 /var/www/vhosts/interteach.kz/httpdocs/admin/modules/general/mysql.php(35): Query->__construct() #3 /var/www/vhosts/interteach.kz/httpdocs/index.php(10): include_once('/var/www/vhosts...') #4 {main} thrown in /var/www/vhosts/interteach.kz/httpdocs/modules/Db.php on line 29