Fehler in Shopware Vendor-Plugin/Library ? / Value is not an integer or a number castable to integer

Hallo,

wer kann mir helfen, folgenden Fehler zu beheben, der seit dem Update auf 5.4.3 in meinen Error Logs aufläuft… bzw. wer kann mir sagen, was ich korrigieren muss um diesen Fehler abzustellen?

Danke für jeden TIPP!

 

StackTrace:

Assert\InvalidArgumentException: Value "" is not an integer or a number castable to integer. in /html/shopware/vendor/beberlei/assert/lib/Assert/Assertion.php:218
Stack trace:
#0 /html/shopware/vendor/beberlei/assert/lib/Assert/Assertion.php(391): Assert\Assertion::createException('', 'Value "" is not...', 12, NULL)
#1 [internal function]: Assert\Assertion::integerish('')
#2 /html/shopware/vendor/beberlei/assert/lib/Assert/Assertion.php(1500): call_user_func_array(Array, Array)
#3 /html/shopware/engine/Shopware/Bundle/SearchBundle/Condition/CategoryCondition.php(47): Assert\Assertion::__callStatic('Integerish', Array)
#4 /html/shopware/engine/Shopware/Bundle/SearchBundle/CriteriaRequestHandler/CoreCriteriaRequestHandler.php(110): Shopware\Bundle\SearchBundle\Condition\CategoryCondition->__construct(Array)
#5 /html/shopware/engine/Shopware/Bundle/SearchBundle/CriteriaRequestHandler/CoreCriteriaRequestHandler.php(83): Shopware\Bundle\SearchBundle\CriteriaRequestHandler\CoreCriteriaRequestHandler->addCategoryCondition(Object(Enlight_Controller_Request_RequestHttp), Object(Shopware\Bundle\SearchBundle\Criteria))
#6 /html/shopware/engine/Shopware/Bundle/SearchBundle/StoreFrontCriteriaFactory.php(284): Shopware\Bundle\SearchBundle\CriteriaRequestHandler\CoreCriteriaRequestHandler->handleRequest(Object(Enlight_Controller_Request_RequestHttp), Object(Shopware\Bundle\SearchBundle\Criteria), Object(Shopware\Bundle\StoreFrontBundle\Struct\ShopContext))
#7 /html/shopware/engine/Shopware/Bundle/SearchBundle/StoreFrontCriteriaFactory.php(129): Shopware\Bundle\SearchBundle\StoreFrontCriteriaFactory->createCriteriaFromRequest(Object(Enlight_Controller_Request_RequestHttp), Object(Shopware\Bundle\StoreFrontBundle\Struct\ShopContext))
#8 /html/shopware/engine/Shopware/Controllers/Frontend/Listing.php(261): Shopware\Bundle\SearchBundle\StoreFrontCriteriaFactory->createListingCriteria(Object(Enlight_Controller_Request_RequestHttp), Object(Shopware\Bundle\StoreFrontBundle\Struct\ShopContext))
#9 /html/shopware/engine/Shopware/Controllers/Frontend/Listing.php(243): Shopware_Controllers_Frontend_Listing->hasProducts('', Object(Shopware\Bundle\StoreFrontBundle\Struct\ShopContext), NULL)
#10 /html/shopware/engine/Shopware/Controllers/Frontend/Listing.php(56): Shopware_Controllers_Frontend_Listing->getEmotionConfiguration('', false, NULL)
#11 /html/shopware/engine/Library/Enlight/Controller/Action.php(193): Shopware_Controllers_Frontend_Listing->indexAction()
#12 /html/shopware/engine/Library/Enlight/Controller/Dispatcher/Default.php(549): Enlight_Controller_Action->dispatch('indexAction')
#13 /html/shopware/engine/Library/Enlight/Controller/Front.php(222): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp))
#14 /html/shopware/engine/Shopware/Kernel.php(215): Enlight_Controller_Front->dispatch()
#15 /html/shopware/vendor/symfony/http-kernel/HttpCache/HttpCache.php(486): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#16 /html/shopware/engine/Shopware/Components/HttpCache/AppCache.php(268): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL)
#17 /html/shopware/vendor/symfony/http-kernel/HttpCache/HttpCache.php(443): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true)
#18 /html/shopware/vendor/symfony/http-kernel/HttpCache/HttpCache.php(339): Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch(Object(Symfony\Component\HttpFoundation\Request), true)
#19 /html/shopware/engine/Shopware/Components/HttpCache/AppCache.php(189): Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup(Object(Symfony\Component\HttpFoundation\Request), true)
#20 /html/shopware/vendor/symfony/http-kernel/HttpCache/HttpCache.php(205): Shopware\Components\HttpCache\AppCache->lookup(Object(Symfony\Component\HttpFoundation\Request), true)
#21 /html/shopware/engine/Shopware/Components/HttpCache/AppCache.php(116): Symfony\Component\HttpKernel\HttpCache\HttpCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#22 /html/shopware/shopware.php(122): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request))
#23 {main}

 

Zugehöriger Request:

 { "uri": "/cat/index/sCategory/", "method": "GET", "query": { "module": "frontend", "controller": "cat", "action": "index", "sCategory": "" }, "post": [] }

Hallo,

ich möchte mich hier anschliessen, habe exakt den identischen Fehler in Version 5.4.4.
Hat evtl. jemand einen Hinweis auf die Ursache?

Danke

Hi,

wie sieht der Referrer dazu aus?

Laut der Fehlermeldung und wie ich es sehe, ist der Link defekt.

Es fehlt die ID.

Gruß Heiner