Fatal error: Uncaught TypeError: TspoBlogExtensions\Services\BlogHeaderPicture::get(): Return value must be of type TspoService\Structs\Picture, null returned in /var/www/custom/project/TspoBlogExtensions/Services/BlogHeaderPicture.php:24
Stack trace:
#0 /var/www/custom/project/TspoBlogExtensions/Subscriber/BlogDetailPage.php(85): TspoBlogExtensions\Services\BlogHeaderPicture::get(Array)
#1 /var/www/vendor/shopware/shopware/engine/Library/Enlight/Event/Handler/Default.php(90): TspoBlogExtensions\Subscriber\BlogDetailPage->extendBlogDetailPage(Object(Enlight_Controller_ActionEventArgs))
#2 /var/www/vendor/shopware/shopware/engine/Library/Enlight/Event/EventManager.php(207): Enlight_Event_Handler_Default->execute(Object(Enlight_Controller_ActionEventArgs))
#3 /var/www/vendor/shopware/shopware/engine/Library/Enlight/Controller/Action.php(202): Enlight_Event_EventManager->notify('Enlight_Control...', Object(Enlight_Controller_ActionEventArgs))
#4 /var/www/vendor/shopware/shopware/engine/Library/Enlight/Controller/Dispatcher/Default.php(467): Enlight_Controller_Action->dispatch('detailAction')
#5 /var/www/vendor/shopware/shopware/engine/Library/Enlight/Controller/Front.php(226): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp))
#6 /var/www/vendor/shopware/shopware/engine/Shopware/Kernel.php(195): Enlight_Controller_Front->dispatch()
#7 /var/www/shopware.php(20): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#8 {main}
thrown in /var/www/custom/project/TspoBlogExtensions/Services/BlogHeaderPicture.php on line 24