Notice: Undefined offset: 0 in /home/clients/13d2ca737b0346065fc079cfd566ef62/web/nouveaucotrin/controllers/agencies.class.php on line 51

Fatal error: Uncaught TypeError: Argument 1 passed to models\news::getByDepartment() must be of the type string, null given, called in /home/clients/13d2ca737b0346065fc079cfd566ef62/web/nouveaucotrin/controllers/agencies.class.php on line 56 and defined in /home/clients/13d2ca737b0346065fc079cfd566ef62/web/lib/models/news.class.php:58 Stack trace: #0 /home/clients/13d2ca737b0346065fc079cfd566ef62/web/nouveaucotrin/controllers/agencies.class.php(56): models\news->getByDepartment(NULL, 15) #1 /home/clients/13d2ca737b0346065fc079cfd566ef62/web/lib/controller.class.php(48): controllers\agencies->departmentAction() #2 /home/clients/13d2ca737b0346065fc079cfd566ef62/web/lib/launcher.class.php(81): controller->__construct() #3 /home/clients/13d2ca737b0346065fc079cfd566ef62/web/nouveaucotrin/index.php(4): launcher->init() #4 {main} thrown in /home/clients/13d2ca737b0346065fc079cfd566ef62/web/lib/models/news.class.php on line 58