Notice: Undefined index: gallery_id in /home/teatrosocialecom/public_html/src/Frontend/FrontendModule/Controllers/NewsController.php on line 87

Fatal error: Uncaught TypeError: Argument 1 passed to WebRefreshCoreFrontend\Gallery\GalleryManager::getFirstGalleryItem() must be of the type integer, null given, called in /home/teatrosocialecom/public_html/src/Frontend/FrontendModule/Controllers/NewsController.php on line 87 and defined in /home/teatrosocialecom/public_html/src/Core/WebRefreshCoreFrontend/Gallery/GalleryManager.php:231 Stack trace: #0 /home/teatrosocialecom/public_html/src/Frontend/FrontendModule/Controllers/NewsController.php(87): WebRefreshCoreFrontend\Gallery\GalleryManager->getFirstGalleryItem(NULL, 6) #1 [internal function]: Frontend\FrontendModule\Controllers\NewsController->detailAction('teatro', 'news', 'il-teatro-socia...') #2 /home/teatrosocialecom/public_html/src/Core/Lavarel/Dispatcher/Dispatcher.php(28): call_user_func_array(Array, Array) #3 /home/teatrosocialecom/public_html/src/Core/Lavarel/Application/Application.php(256): Lavarel\Dispatcher\Dispatcher->dispatchRequest(Object(Symfony\Component\HttpFoundation\Request)) #4 /home/teatrosoc in /home/teatrosocialecom/public_html/src/Core/WebRefreshCoreFrontend/Gallery/GalleryManager.php on line 231