Hallo zusammen,
nach Update auf Shopware 5.7.11 habe ich regelmäßig folgenden Fehler im Log:
Assert\InvalidArgumentException: Value „PL2“ is not an integer or a number castable to integer. in /vendor/beberlei/assert/lib/Assert/Assertion.php:2728 Stack trace:
#0 /vendor/beberlei/assert/lib/Assert/Assertion.php(561): Assert\Assertion::createException()
#1 /vendor/beberlei/assert/lib/Assert/Assertion.php(2134): Assert\Assertion::integerish()
#2 /engine/Shopware/Bundle/SearchBundle/Condition/CustomerGroupCondition.php(48): Assert\Assertion::__callStatic()
#3 /engine/Shopware/Bundle/SearchBundle/CriteriaRequestHandler/CoreCriteriaRequestHandler.php(181): Shopware\Bundle\SearchBundle\Condition\CustomerGroupCondition->__construct()
#4 /engine/Shopware/Bundle/SearchBundle/CriteriaRequestHandler/CoreCriteriaRequestHandler.php(74): Shopware\Bundle\SearchBundle\CriteriaRequestHandler\CoreCriteriaRequestHandler->addCustomerGroupCondition()
#5 /engine/Shopware/Bundle/SearchBundle/StoreFrontCriteriaFactory.php(255): Shopware\Bundle\SearchBundle\CriteriaRequestHandler\CoreCriteriaRequestHandler->handleRequest()
#6 /engine/Shopware/Bundle/SearchBundle/StoreFrontCriteriaFactory.php(117): Shopware\Bundle\SearchBundle\StoreFrontCriteriaFactory->createCriteriaFromRequest()
#7 /custom/plugins/SwagFuzzy/Bundle/SearchBundle/FuzzyStoreFrontCriteriaFactory.php(76): Shopware\Bundle\SearchBundle\StoreFrontCriteriaFactory->createListingCriteria()
#8 /engine/Shopware/Controllers/Frontend/Listing.php(315): SwagFuzzy\Bundle\SearchBundle\FuzzyStoreFrontCriteriaFactory->createListingCriteria()
#9 /engine/Shopware/Controllers/Frontend/Listing.php(301): Shopware_Controllers_Frontend_Listing->hasProducts()
#10 /engine/Shopware/Controllers/Frontend/Listing.php(117): Shopware_Controllers_Frontend_Listing->getEmotionConfiguration()
#11 /engine/Library/Enlight/Controller/Action.php(186): Shopware_Controllers_Frontend_Listing->indexAction()
#12 /engine/Library/Enlight/Controller/Dispatcher/Default.php(467): Enlight_Controller_Action->dispatch()
#13 /engine/Library/Enlight/Controller/Front.php(225): Enlight_Controller_Dispatcher_Default->dispatch()
#14 /engine/Shopware/Kernel.php(197): Enlight_Controller_Front->dispatch()
#15 /vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php(85): Shopware\Kernel->handle()
#16 /vendor/symfony/http-kernel/HttpCache/HttpCache.php(479): Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle()
#17 /engine/Shopware/Components/HttpCache/AppCache.php(266): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward()
#18 /vendor/symfony/http-kernel/HttpCache/HttpCache.php(452): Shopware\Components\HttpCache\AppCache->forward()
#19 /vendor/symfony/http-kernel/HttpCache/HttpCache.php(346): Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch()
#20 /engine/Shopware/Components/HttpCache/AppCache.php(192): Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup()
#21 /vendor/symfony/http-kernel/HttpCache/HttpCache.php(224): Shopware\Components\HttpCache\AppCache->lookup()
#22 /engine/Shopware/Components/HttpCache/AppCache.php(117): Symfony\Component\HttpKernel\HttpCache\HttpCache->handle()
#23 /var/www/vhosts/domain.de/httpdocs/domain/shopware.php(122): Shopware\Components\HttpCache\AppCache->handle()
#24
PL2 ist dabei die Bezeichnung einer Kundengruppe. Der Fehler taucht im selben Wortlaut auch bei allen anderen Kundengruppen auf.
Ich kann den Fehler anhand der Meldung aber überhaupt nicht zuordnen. Scheint irgendwas mit dem Listing zu tun zu haben, aber ich kann mir nicht erklären, an welcher Stelle.
Kann da jemand helfen?