Fatal error: Uncaught TypeError: Argument 1 passed to Shopware\Bundle\StoreFrontBundle\Gateway\DBAL\CustomSortingGateway::getList() must be of the type array, null given, called in /var/www/ahg-shop5/engine/Shopware/Bundle/StoreFrontBundle/Gateway/DBAL/CustomSortingGateway.php on line 100 and defined in /var/www/ahg-shop5/engine/Shopware/Bundle/StoreFrontBundle/Gateway/DBAL/CustomSortingGateway.php:77 Stack trace: #0 /var/www/ahg-shop5/engine/Shopware/Bundle/StoreFrontBundle/Gateway/DBAL/CustomSortingGateway.php(100): Shopware\Bundle\StoreFrontBundle\Gateway\DBAL\CustomSortingGateway->getList(NULL, Object(Shopware\Bundle\StoreFrontBundle\Struct\ShopContext)) #1 /var/www/ahg-shop5/engine/Shopware/Bundle/StoreFrontBundle/Service/Core/CustomSortingService.php(59): Shopware\Bundle\StoreFrontBundle\Gateway\DBAL\CustomSortingGateway->getSortingsOfCategories(Array, Object(Shopware\Bundle\StoreFrontBundle\Struct\ShopContext)) #2 /var/www/ahg-shop5/engine/Shopware/Controllers/Frontend/Listing.php(532): Shopware\Bundle\StoreFrontBundle\Service\Core\CustomSortingService->getSortingsOfCategories(Array, Object(Shopware\Bundle\StoreFrontBundle\Struct\ShopContext)) #3 /var/www/ahg-shop5/engine/Shopware/Controllers/Frontend/Listing.php(84): Shopware_Controllers_Frontend_Listing->loadCategoryListing(NULL, Array) #4 /var/www/ahg-shop5/engine/Library/Enlight/Controller/Action.php(193): Shopware_Controllers_Frontend_Listing->indexAction() #5 /var/www/ahg-shop5/engine/Library/Enlight/Controller/Dispatcher/Default.php(549): Enlight_Controller_Action->dispatch('indexAction') #6 /var/www/ahg-shop5/engine/Library/Enlight/Controller/Front.php(222): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp)) #7 /var/www/ahg-shop5/engine/Shopware/Kernel.php(215): Enlight_Controller_Front->dispatch() #8 /var/www/ahg-shop5/vendor/symfony/http-kernel/HttpCache/HttpCache.php(486): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #9 /var/www/ahg-shop5/engine/Shopware/Components/HttpCache/AppCache.php(268): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #10 /var/www/ahg-shop5/vendor/symfony/http-kernel/HttpCache/HttpCache.php(443): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true) #11 /var/www/ahg-shop5/vendor/symfony/http-kernel/HttpCache/HttpCache.php(339): Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch(Object(Symfony\Component\HttpFoundation\Request), true) #12 /var/www/ahg-shop5/engine/Shopware/Components/HttpCache/AppCache.php(189): Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup(Object(Symfony\Component\HttpFoundation\Request), true) #13 /var/www/ahg-shop5/vendor/symfony/http-kernel/HttpCache/HttpCache.php(205): Shopware\Components\HttpCache\AppCache->lookup(Object(Symfony\Component\HttpFoundation\Request), true) #14 /var/www/ahg-shop5/engine/Shopware/Components/HttpCache/AppCache.php(116): Symfony\Component\HttpKernel\HttpCache\HttpCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #15 /var/www/ahg-shop5/shopware.php(122): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request)) #16 {main} thrown in /var/www/ahg-shop5/engine/Shopware/Bundle/StoreFrontBundle/Gateway/DBAL/CustomSortingGateway.php on line 77