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/html/engine/Shopware/Bundle/StoreFrontBundle/Gateway/DBAL/CustomSortingGateway.php on line 100 and defined in /var/www/html/engine/Shopware/Bundle/StoreFrontBundle/Gateway/DBAL/CustomSortingGateway.php:77 Stack trace: #0 /var/www/html/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/html/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/html/engine/Shopware/Controllers/Frontend/Listing.php(501): Shopware\Bundle\StoreFrontBundle\Service\Core\CustomSortingService->getSortingsOfCategories(Array, Object(Shopware\Bundle\StoreFrontBundle\Struct\ShopContext)) #3 /var/www/html/engine/Shopware/Controllers/Frontend/Listing.php(83): Shopware_Controllers_Frontend_Listing->loadCategoryListing(NULL, Array) #4 /var/www/html/engine/Library/Enlight/Controller/Action.php(159): Shopware_Controllers_Frontend_Listing->indexAction() #5 /var/www/html/engine/Library/Enlight/Controller/Dispatcher/Default.php(530): Enlight_Controller_Action->dispatch('indexAction') #6 /var/www/html/engine/Library/Enlight/Controller/Front.php(223): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp)) #7 /var/www/html/engine/Shopware/Kernel.php(191): Enlight_Controller_Front->dispatch() #8 /var/www/html/vendor/symfony/http-kernel/HttpCache/HttpCache.php(484): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #9 /var/www/html/engine/Shopware/Components/HttpCache/AppCache.php(268): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #10 /var/www/html/vendor/symfony/http-kernel/HttpCache/HttpCache.php(441): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true) #11 /var/www/html/vendor/symfony/http-kernel/HttpCache/HttpCache.php(337): Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch(Object(Symfony\Component\HttpFoundation\Request), true) #12 /var/www/html/engine/Shopware/Components/HttpCache/AppCache.php(189): Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup(Object(Symfony\Component\HttpFoundation\Request), true) #13 /var/www/html/vendor/symfony/http-kernel/HttpCache/HttpCache.php(203): Shopware\Components\HttpCache\AppCache->lookup(Object(Symfony\Component\HttpFoundation\Request), true) #14 /var/www/html/engine/Shopware/Components/HttpCache/AppCache.php(116): Symfony\Component\HttpKernel\HttpCache\HttpCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #15 /var/www/html/shopware.php(120): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request)) #16 {main} thrown in /var/www/html/engine/Shopware/Bundle/StoreFrontBundle/Gateway/DBAL/CustomSortingGateway.php on line 77