Quantcast
Channel: Neueste Diskussionen - Shopware Community Forum
Viewing all articles
Browse latest Browse all 14594

Fatal error: Uncaught exception 'BadMethodCallException' nach Update auf 5.1.5

$
0
0

Hi und guten Abend,

nach dem Update auf 5.1.5 lässt sich leider das Frontend nicht mehr aufrufen. Folgendes Stack Trace wird ausgegeben:


Fatal error: Uncaught exception 'BadMethodCallException' with message 'Type of association must be one of *_TO_ONE or MANY_TO_MANY' in /home/www/p123341/html/shopware/shopware5/vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php:1028 Stack trace: #0 /home/www/p123341/html/shopware/shopware5/vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php(1155): Doctrine\ORM\Query\SqlWalker->walkJoinAssociationDeclaration(Object(Doctrine\ORM\Query\AST\JoinAssociationDeclaration), 1, NULL) #1 /home/www/p123341/html/shopware/shopware5/vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php(837): Doctrine\ORM\Query\SqlWalker->walkJoin(Object(Doctrine\ORM\Query\AST\Join)) #2 /home/www/p123341/html/shopware/shopware5/vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php(815): Doctrine\ORM\Query\SqlWalker->walkIdentificationVariableDeclaration(Object(Doctrine\ORM\Query\AST\IdentificationVariableDeclaration)) #3 /home/www/p123341/html/shopware/shopware5/vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php(522): Doctrine\ORM\Query\SqlWalker->walkFromClause(Object(Doctrine\ORM\Query\AST\FromClause)) #4 /home/www/p123341/html/shopware/shopware5/vendor/doctrine/orm/lib/Doctrine/ORM/Query/Exec/SingleSelectExecutor.php(42): Doctrine\ORM\Query\SqlWalker->walkSelectStatement(Object(Doctrine\ORM\Query\AST\SelectStatement)) #5 /home/www/p123341/html/shopware/shopware5/vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php(277): Doctrine\ORM\Query\Exec\SingleSelectExecutor->__construct(Object(Doctrine\ORM\Query\AST\SelectStatement), Object(Doctrine\ORM\Query\SqlWalker)) #6 /home/www/p123341/html/shopware/shopware5/vendor/doctrine/orm/lib/Doctrine/ORM/Query/Parser.php(390): Doctrine\ORM\Query\SqlWalker->getExecutor(Object(Doctrine\ORM\Query\AST\SelectStatement)) #7 /home/www/p123341/html/shopware/shopware5/vendor/doctrine/orm/lib/Doctrine/ORM/Query.php(281): Doctrine\ORM\Query\Parser->parse() #8 /home/www/p123341/html/shopware/shopware5/vendor/doctrine/orm/lib/Doctrine/ORM/Query.php(293): Doctrine\ORM\Query->_parse() #9 /home/www/p123341/html/shopware/shopware5/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php(969): Doctrine\ORM\Query->_doExecute() #10 /home/www/p123341/html/shopware/shopware5/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php(924): Doctrine\ORM\AbstractQuery->executeIgnoreQueryCache(NULL, 2) #11 /home/www/p123341/html/shopware/shopware5/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php(766): Doctrine\ORM\AbstractQuery->execute(NULL, 2) #12 /home/www/p123341/html/shopware/shopware5/engine/Shopware/Core/sCategories.php(674): Doctrine\ORM\AbstractQuery->getOneOrNullResult(2) #13 /home/www/p123341/html/shopware/shopware5/engine/Shopware/Core/sCategories.php(529): sCategories->getActiveCategoryData(3, 1) #14 /home/www/p123341/html/shopware/shopware5/engine/Shopware/Controllers/Frontend/Index.php(48): sCategories->sGetCategoryContent(3) #15 /home/www/p123341/html/shopware/shopware5/engine/Library/Enlight/Controller/Action.php(158): Shopware_Controllers_Frontend_Index->indexAction() #16 /home/www/p123341/html/shopware/shopware5/engine/Library/Enlight/Controller/Dispatcher/Default.php(523): Enlight_Controller_Action->dispatch('indexAction') #17 /home/www/p123341/html/shopware/shopware5/engine/Library/Enlight/Controller/Front.php(226): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp)) #18 /home/www/p123341/html/shopware/shopware5/engine/Shopware/Kernel.php(153): Enlight_Controller_Front->dispatch() #19 /home/www/p123341/html/shopware/shopware5/vendor/symfony/http-kernel/HttpCache/HttpCache.php(492): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #20 /home/www/p123341/html/shopware/shopware5/engine/Shopware/Components/HttpCache/AppCache.php(255): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #21 /home/www/p123341/html/shopware/shopware5/vendor/symfony/http-kernel/HttpCache/HttpCache.php(449): Shopware\Components\HttpCache\ in /home/www/p123341/html/shopware/shopware5/vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php on line 1028
 

Hat jemand eine Idee, was  hier schief läuft?

Vielen Dank und viele Grüße,

Chris


Viewing all articles
Browse latest Browse all 14594


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>