Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given in /var/www/clients/client1/web2/web/engine/Shopware/Plugins/Community/Frontend/PremsDiscountCategory/Subscriber/Articles.php:170
Stack trace:
#0 /var/www/clients/client1/web2/web/engine/Shopware/Plugins/Community/Frontend/PremsDiscountCategory/Subscriber/Articles.php(170): array_key_exists()
#1 /var/www/clients/client1/web2/web/engine/Library/Enlight/Event/Handler/Default.php(90): Shopware\PremsDiscountCategory\Subscriber\Articles->onGetArticleById()
#2 /var/www/clients/client1/web2/web/engine/Library/Enlight/Event/EventManager.php(291): Enlight_Event_Handler_Default->execute()
#3 /var/www/clients/client1/web2/web/engine/Library/Enlight/Hook/HookExecutionContext.php(105): Enlight_Event_EventManager->filter()
#4 /var/www/clients/client1/web2/web/engine/Library/Enlight/Hook/HookManager.php(172): Enlight_Hook_HookExecutionContext->execute()
#5 /var/www/clients/client1/web2/web/var/cache/production_202306271137/proxies/sArticlesProxy.php(110): Enlight_Hook_HookManager->executeHooks()
#6 /var/www/clients/client1/web2/web/engine/Shopware/Controllers/Frontend/Detail.php(110): Shopware_Proxies_sArticlesProxy->sGetArticleById()
#7 /var/www/clients/client1/web2/web/engine/Library/Enlight/Controller/Action.php(188): Shopware_Controllers_Frontend_Detail->indexAction()
#8 /var/www/clients/client1/web2/web/engine/Library/Enlight/Controller/Dispatcher/Default.php(467): Enlight_Controller_Action->dispatch()
#9 /var/www/clients/client1/web2/web/engine/Library/Enlight/Controller/Front.php(226): Enlight_Controller_Dispatcher_Default->dispatch()
#10 /var/www/clients/client1/web2/web/engine/Shopware/Kernel.php(195): Enlight_Controller_Front->dispatch()
#11 /var/www/clients/client1/web2/web/vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php(85): Shopware\Kernel->handle()
#12 /var/www/clients/client1/web2/web/vendor/symfony/http-kernel/HttpCache/HttpCache.php(479): Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle()
#13 /var/www/clients/client1/web2/web/engine/Shopware/Components/HttpCache/AppCache.php(270): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward()
#14 /var/www/clients/client1/web2/web/vendor/symfony/http-kernel/HttpCache/HttpCache.php(452): Shopware\Components\HttpCache\AppCache->forward()
#15 /var/www/clients/client1/web2/web/vendor/symfony/http-kernel/HttpCache/HttpCache.php(346): Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch()
#16 /var/www/clients/client1/web2/web/engine/Shopware/Components/HttpCache/AppCache.php(196): Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup()
#17 /var/www/clients/client1/web2/web/vendor/symfony/http-kernel/HttpCache/HttpCache.php(224): Shopware\Components\HttpCache\AppCache->lookup()
#18 /var/www/clients/client1/web2/web/engine/Shopware/Components/HttpCache/AppCache.php(117): Symfony\Component\HttpKernel\HttpCache\HttpCache->handle()
#19 /var/www/clients/client1/web2/web/shopware.php(122): Shopware\Components\HttpCache\AppCache->handle()
#20 {main}
thrown in /var/www/clients/client1/web2/web/engine/Shopware/Plugins/Community/Frontend/PremsDiscountCategory/Subscriber/Articles.php on line 170