Fatal error: Uncaught TypeError: Argument 1 passed to App\Controller\Stock::getModels() must be of the type array, null given, called in /home/www-ekino/www/concessions-volkswagen.fr/releases/20231206113155/App/Controller/Stock.php on line 222 and defined in /home/www-ekino/www/concessions-volkswagen.fr/releases/20231206113155/App/Controller/Stock.php:284 Stack trace: #0 /home/www-ekino/www/concessions-volkswagen.fr/releases/20231206113155/App/Controller/Stock.php(222): App\Controller\Stock->getModels(NULL) #1 [internal function]: App\Controller\Stock->newCarsList() #2 /home/www-ekino/www/concessions-volkswagen.fr/releases/20231206113155/App/Vendor/slim/slim/Slim/Route.php(173): call_user_func_array(Array, Array) #3 [internal function]: Slim\Route->Slim\{closure}() #4 /home/www-ekino/www/concessions-volkswagen.fr/releases/20231206113155/App/Vendor/slim/slim/Slim/Route.php(468): call_user_func_array(Object(Closure), Array) #5 /home/www-ekino/www/concessions-volkswagen.fr/releases/20231206113155/App/Vendor/slim/slim/Slim/Sl in /home/www-ekino/www/concessions-volkswagen.fr/releases/20231206113155/App/Controller/Stock.php on line 284