Fatal error: Uncaught TypeError: Argument 1 passed to WebRefreshCoreFrontend\Gallery\GalleryManager::getFirstGalleryItem() must be of the type int, null given, called in /home/sportrick/public_html/src/Frontend/FrontendModule/Controllers/NewsController.php on line 92 and defined in /home/sportrick/public_html/src/Core/WebRefreshCoreFrontend/Gallery/GalleryManager.php:231
Stack trace:
#0 /home/sportrick/public_html/src/Frontend/FrontendModule/Controllers/NewsController.php(92): WebRefreshCoreFrontend\Gallery\GalleryManager->getFirstGalleryItem(NULL, 3)
#1 [internal function]: Frontend\FrontendModule\Controllers\NewsController->detailAction('news', 'lotteria-degli-...')
#2 /home/sportrick/public_html/src/Core/Lavarel/Application/Application.php(276): call_user_func_array(Array, Array)
#3 /home/sportrick/public_html/src/Core/Lavarel/Application/Application.php(229): Lavarel\Application\Application->handleRequest(Object(Symfony\Component\HttpFoundation\Request), 1)
#4 /home/sportrick/public_html/src/Core/Lavarel/Application/A in /home/sportrick/public_html/src/Core/WebRefreshCoreFrontend/Gallery/GalleryManager.php on line 231