Fatal error: Uncaught Error: Call to a member function getModel() on null in /var/www/html/cepexpro/src/App/Model/EventCaterers.php:39
Stack trace:
#0 /var/www/html/cepexpro/src/App/View/front/product/location-de-salles/details.html.php(10): App\Model\EventCaterers->getMenusByCaterer(21)
#1 /var/www/html/cepexpro/src/App/Controller/BaseController.php(62): require('/var/www/html/c...')
#2 /var/www/html/cepexpro/src/App/Controller/BProductController.php(102): App\Controller\BaseController->render('product/locatio...', Array)
#3 [internal function]: App\Controller\BProductController->detailsAction('21')
#4 /var/www/html/cepexpro/src/App/App.php(187): call_user_func_array(Array, Array)
#5 /var/www/html/cepexpro/front/index.php(39): App\App->run()
#6 {main}
thrown in /var/www/html/cepexpro/src/App/Model/EventCaterers.php on line 39