Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /html/hera-live-shop/custom/project/PpDrawings/Subscriber/DetailSubscriber.php:137 Stack trace: #0 /html/hera-live-shop/custom/project/PpDrawings/Subscriber/DetailSubscriber.php(137): count(NULL) #1 /html/hera-live-shop/custom/project/PpDrawings/Subscriber/DetailSubscriber.php(183): PpDrawings\Subscriber\DetailSubscriber->assignZeichnung(Array, Object(Enlight_View_Default)) #2 /html/hera-live-shop/engine/Library/Enlight/Event/Handler/Default.php(90): PpDrawings\Subscriber\DetailSubscriber->onDetailPostDispatch(Object(Enlight_Controller_ActionEventArgs)) #3 /html/hera-live-shop/engine/Library/Enlight/Event/EventManager.php(207): Enlight_Event_Handler_Default->execute(Object(Enlight_Controller_ActionEventArgs)) #4 /html/hera-live-shop/engine/Library/Enlight/Controller/Action.php(203): Enlight_Event_EventManager->notify('...', Object(Enlight_Controller_ActionEventArgs)) #5 /html/hera-live-shop/engine/Library/Enlight/Controller/Dispatcher/Default.php(467): Enlight_Controller_Action->dispatch('...') #6 /html/hera-live-shop/engine/Library/Enlight/Controller/Front.php(226): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp)) #7 /html/hera-live-shop/engine/Shopware/Kernel.php(195): Enlight_Controller_Front->dispatch() #8 /html/hera-live-shop/vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php(85): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #9 /html/hera-live-shop/vendor/symfony/http-kernel/HttpCache/HttpCache.php(479): Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle(Object(Shopware\Kernel), Object(Symfony\Component\HttpFoundation\Request), 1, true) #10 /html/hera-live-shop/engine/Shopware/Components/HttpCache/AppCache.php(270): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #11 /html/hera-live-shop/vendor/symfony/http-kernel/HttpCache/HttpCache.php(452): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true) #12 /html/hera-live-shop/vendor/symfony/http-kernel/HttpCache/HttpCache.php(346): Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch(Object(Symfony\Component\HttpFoundation\Request), true) #13 /html/hera-live-shop/engine/Shopware/Components/HttpCache/AppCache.php(196): Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup(Object(Symfony\Component\HttpFoundation\Request), true) #14 /html/hera-live-shop/vendor/symfony/http-kernel/HttpCache/HttpCache.php(224): Shopware\Components\HttpCache\AppCache->lookup(Object(Symfony\Component\HttpFoundation\Request), true) #15 /html/hera-live-shop/engine/Shopware/Components/HttpCache/AppCache.php(117): Symfony\Component\HttpKernel\HttpCache\HttpCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #16 /html/hera-live-shop/shopware.php(122): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request)) #17 {main} thrown in /html/hera-live-shop/custom/project/PpDrawings/Subscriber/DetailSubscriber.php on line 137