Warning: mysqli::__construct(): (HY000/2002): Cannot assign requested address in /home/ebrconce/www/liberary/db.php on line 20

Fatal error: Uncaught Error: Call to undefined method mysqli::connect_error() in /home/ebrconce/www/liberary/db.php:23 Stack trace: #0 /home/ebrconce/www/liberary/db.php(31): db->connect() #1 /home/ebrconce/www/liberary/model.php(1171): db->do_query('SELECT Count(id...') #2 /home/ebrconce/www/liberary/model.php(1092): Model->count_product_in_ss_categorie('29') #3 /home/ebrconce/www/liberary/model.php(1114): Model->liste_ss_categorie(NULL, NULL, '7') #4 /home/ebrconce/www/modules/menu/index.php(82): Model->list_mega_menu('1') #5 /home/ebrconce/www/modules/menu/index.php(30): menuModule->get_mainmenu('principal', '0') #6 /home/ebrconce/www/liberary/module.php(22): menuModule->display() #7 /home/ebrconce/www/liberary/factory.php(71): Module->execute('principal') #8 /home/ebrconce/www/liberary/framework.php(82): Factory->build_module('menu', 'principal') #9 /home/ebrconce/www/liberary/framework.php(33): Site->get_modules() #10 /home/ebrconce/www/index.php(35): Site->build_site(Object(Site)) #11 {main} thrown in /home/ebrconce/www/liberary/db.php on line 23