Fatal error: Uncaught TypeError: TspoSupplierFilter\Subscriber\Frontend\Subscriber::readSuppliersOfCurrentCategory(): Return value must be of type array, null returned in /var/www/custom/project/TspoSupplierFilter/Subscriber/Frontend/Subscriber.php:312
Stack trace:
#0 /var/www/custom/project/TspoSupplierFilter/Subscriber/Frontend/Subscriber.php(197): TspoSupplierFilter\Subscriber\Frontend\Subscriber->readSuppliersOfCurrentCategory(Object(Shopware_Proxies_ShopwareControllersFrontendListingProxy), 10)
#1 /var/www/custom/project/TspoSupplierFilter/Subscriber/Frontend/Subscriber.php(141): TspoSupplierFilter\Subscriber\Frontend\Subscriber->_getSuppliers(Object(Shopware_Proxies_ShopwareControllersFrontendListingProxy), 10, '/sale-tmp', 0, false)
#2 /var/www/custom/project/TspoSupplierFilter/Subscriber/Frontend/Subscriber.php(103): TspoSupplierFilter\Subscriber\Frontend\Subscriber->_createSupplierFilterList(Object(Shopware_Proxies_ShopwareControllersFrontendListingProxy), Object(Enlight_View_Default))
#3 /var/www/vendor/shopware/shopware/engine/Library/Enlight/Event/Handler/Default.php(90): TspoSupplierFilter\Subscriber\Frontend\Subscriber->createSupplierFilterListIfActive(Object(Enlight_Controller_ActionEventArgs))
#4 /var/www/vendor/shopware/shopware/engine/Library/Enlight/Event/EventManager.php(207): Enlight_Event_Handler_Default->execute(Object(Enlight_Controller_ActionEventArgs))
#5 /var/www/vendor/shopware/shopware/engine/Library/Enlight/Controller/Action.php(219): Enlight_Event_EventManager->notify('Enlight_Control...', Object(Enlight_Controller_ActionEventArgs))
#6 /var/www/vendor/shopware/shopware/engine/Library/Enlight/Controller/Dispatcher/Default.php(467): Enlight_Controller_Action->dispatch('indexAction')
#7 /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))
#8 /var/www/vendor/shopware/shopware/engine/Shopware/Kernel.php(195): Enlight_Controller_Front->dispatch()
#9 /var/www/shopware.php(20): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#10 {main}
thrown in /var/www/custom/project/TspoSupplierFilter/Subscriber/Frontend/Subscriber.php on line 312