Erreur lors de la connexion à la base de données
Fatal error: Uncaught Error: Call to a member function prepare() on null in /htdocs/app/models/FreelanceModel.php:179
Stack trace:
#0 /htdocs/app/controllers/FreelanceController.php(676): FreelanceModel->count_all_freelances_with_speciality_and_conditions_v2(49, 4, NULL)
#1 /htdocs/app/controllers/SpecialityController.php(69): FreelanceController->count_all_freelances_with_speciality_and_conditions_v2(49, 4, NULL)
#2 /htdocs/app/controllers/AgencyController.php(689): SpecialityController->show_agencies_with_speciality_and_city_and_sector()
#3 /htdocs/app/core/Dispatcher.php(51): AgencyController->show_agencies_with_speciality_and_city_and_sector(Object(Request))
#4 /htdocs/public/index.php(34): Dispatcher->__construct()
#5 {main}
thrown in /htdocs/app/models/FreelanceModel.php on line 179