Entity was not found. in vendor/doctrine/orm/lib/Doctrine/..

Hallo Forum, habe Version 5 installiert und zwei Artikel angelegt. Danach bekam ich folgende Fehlermeldung: ----------------- Entity was not found. in vendor/doctrine/orm/lib/Doctrine/ORM/Proxy/ProxyFactory.php on line 177 ----------------- Diesen Ordner gibt es allerding nicht. Wer weiß, was man hier machen kann um eine Neuinstallation zu vermeiden. Würde mich sehr freuen, wenn jemand mir eine Lösung dafür hätte.(Dringend!) Danke. nic

Hi, kannst du eben in den „logs“-Ordner schauen, ob es da noch einen StackTrace gibt? Dort kann man ggf. noch mehr Details entnehmen. Daniel

[quote=“Daniel Nögel”]Hi, kannst du eben in den “logs”-Ordner schauen, ob es da noch einen StackTrace gibt? Dort kann man ggf. noch mehr Details entnehmen. Daniel[/quote] Lasse mir die Fehlermeldungen immer per Email senden… Vielen Dank. -------------------------------------------------------- exception ‘Doctrine\ORM\EntityNotFoundException’ with message ‘Entity was not found.’ in /www/htdocs/w0132fdb/quovadisverlag.net/vendor/doctrine/orm/lib/Doctrine/ORM/Proxy/ProxyFactory.php:177 Stack trace: #0 /www/htdocs/w0132fdb/quovadisverlag.net/cache/production_201504271122/doctrine/proxies/__CG__ShopwareModelsCategoryCategory.php(307): Doctrine\ORM\Proxy\ProxyFactory->Doctrine\ORM\Proxy{closure}(Object(Shopware\Proxies__CG__\Shopware\Models\Category\Category), ‘getName’, Array) #1 /www/htdocs/w0132fdb/quovadisverlag.net/cache/production_201504271122/doctrine/proxies/__CG__ShopwareModelsCategoryCategory.php(307): Closure->__invoke(Object(Shopware\Proxies__CG__\Shopware\Models\Category\Category), ‘getName’, Array) #2 /www/htdocs/w0132fdb/quovadisverlag.net/engine/Shopware/Bundle/StoreFrontBundle/Struct/Category.php(140): Shopware\Proxies__CG__\Shopware\Models\Category\Category->getName() #3 /www/htdocs/w0132fdb/quovadisverlag.net/engine/Shopware/Bundle/StoreFrontBundle/Struct/Shop.php(119): Shopware\Bundle\StoreFrontBundle\Struct\Category::createFromCategoryEntity(Object(Shopware\Proxies__CG__\Shopware\Models\Category\Category)) #4 /www/htdocs/w0132fdb/quovadisverlag.net/engine/Shopware/Bundle/StoreFrontBundle/Service/Core/ContextService.php(188): Shopware\Bundle\StoreFrontBundle\Struct\Shop::createFromShopEntity(Object(Shopware\Models\Shop\Shop)) #5 /www/htdocs/w0132fdb/quovadisverlag.net/engine/Shopware/Models/Shop/Shop.php(711): Shopware\Bundle\StoreFrontBundle\Service\Core\ContextService->initializeShopContext() #6 /www/htdocs/w0132fdb/quovadisverlag.net/engine/Shopware/Controllers/Backend/Theme.php(126): Shopware\Models\Shop\Shop->registerResources(Object(Shopware_Proxies_ShopwareBootstrapProxy)) #7 /www/htdocs/w0132fdb/quovadisverlag.net/engine/Shopware/Controllers/Backend/Theme.php(58): Shopware_Controllers_Backend_Theme->resetPreviewSessionAction() #8 /www/htdocs/w0132fdb/quovadisverlag.net/engine/Library/Enlight/Controller/Action.php(159): Shopware_Controllers_Backend_Theme->assignAction() #9 /www/htdocs/w0132fdb/quovadisverlag.net/engine/Library/Enlight/Controller/Dispatcher/Default.php(524): Enlight_Controller_Action->dispatch(‘assignAction’) #10 /www/htdocs/w0132fdb/quovadisverlag.net/engine/Library/Enlight/Controller/Front.php(227): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp)) #11 /www/htdocs/w0132fdb/quovadisverlag.net/engine/Shopware/Kernel.php(143): Enlight_Controller_Front->dispatch() #12 /www/htdocs/w0132fdb/quovadisverlag.net/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpCache/HttpCache.php(490): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #13 /www/htdocs/w0132fdb/quovadisverlag.net/engine/Shopware/Components/HttpCache/AppCache.php(255): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #14 /www/htdocs/w0132fdb/quovadisverlag.net/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpCache/HttpCache.php(261): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true) #15 /www/htdocs/w0132fdb/quovadisverlag.net/engine/Shopware/Components/HttpCache/AppCache.php(103): Symfony\Component\HttpKernel\HttpCache\HttpCache->pass(Object(Symfony\Component\HttpFoundation\Request), true) #16 /www/htdocs/w0132fdb/quovadisverlag.net/shopware.php(101): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request)) #17 {main} ------------------------------------- Channel: core request: { “uri”: “/backend/theme/assign”, “method”: “POST”, “query”: { “module”: “backend”, “controller”: “theme”, “action”: “assign” }, “post”: { “shopId”: “1”, “themeId”: “33” } } session: { “sessionId”: “100de9c28a9430e22caedeb83bfad50a9666c734”, “Bot”: false, “sOutputNet”: false, “sArea”: null, “sCountry”: null, “sState”: null, “sUserId”: null, “Admin”: true, “shop”: “1” }

Beim Seitenaufruf kam neben der Fehlerzeile noch diese Zusatzinfo: ----------------- #0 cache/production_201504271122/doctrine/proxies/__CG__ShopwareModelsCategoryCategory.php(307): Doctrine\ORM\Proxy\ProxyFactory->Doctrine\ORM\Proxy{closure}(Object(Shopware\Proxies__CG__\Shopware\Models\Category\Category), ‘getName’, Array) #1 cache/production_201504271122/doctrine/proxies/__CG__ShopwareModelsCategoryCategory.php(307): Closure->__invoke(Object(Shopware\Proxies__CG__\Shopware\Models\Category\Category), ‘getName’, Array) #2 Shopware/Bundle/StoreFrontBundle/Struct/Category.php(140): Shopware\Proxies__CG__\Shopware\Models\Category\Category->getName() #3 Shopware/Bundle/StoreFrontBundle/Struct/Shop.php(119): Shopware\Bundle\StoreFrontBundle\Struct\Category::createFromCategoryEntity(Object(Shopware\Proxies__CG__\Shopware\Models\Category\Category)) #4 Shopware/Bundle/StoreFrontBundle/Service/Core/ContextService.php(188): Shopware\Bundle\StoreFrontBundle\Struct\Shop::createFromShopEntity(Object(Shopware\Models\Shop\Shop)) #5 Shopware/Models/Shop/Shop.php(711): Shopware\Bundle\StoreFrontBundle\Service\Core\ContextService->initializeShopContext() #6 Shopware/Controllers/Backend/Theme.php(83): Shopware\Models\Shop\Shop->registerResources(Object(Shopware_Proxies_ShopwareBootstrapProxy)) #7 Enlight/Controller/Action.php(159): Shopware_Controllers_Backend_Theme->previewAction() #8 Enlight/Controller/Dispatcher/Default.php(524): Enlight_Controller_Action->dispatch(‘previewAction’) #9 Enlight/Controller/Front.php(227): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp)) #10 Shopware/Kernel.php(143): Enlight_Controller_Front->dispatch() #11 vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpCache/HttpCache.php(490): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #12 Shopware/Components/HttpCache/AppCache.php(255): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #13 vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpCache/HttpCache.php(261): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true) #14 Shopware/Components/HttpCache/AppCache.php(103): Symfony\Component\HttpKernel\HttpCache\HttpCache->pass(Object(Symfony\Component\HttpFoundation\Request), true) #15 shopware.php(101): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request)) #16 {main} ---------------------------

Hi, die Fehlermeldung deutet auf ein Problem mit dem Category-Proxy-Objekt hin. Das Category-Model scheint zwar grundsätzlich da zu sein (auch der Proxy) und anscheinend kann er auch die “Id” über den Proxy auflösen - nicht aber mehr den Namen. So zumindest deute ich den StackTrace und den dazu gehörenden SourceCode. So kann ich leider sehr schwer einschätzen, wo das Problem konkret besteht - in inkonsistenten Daten oder noch wo anders. Probeweise kannst du einmal alle Caches leeren und nochmal frontend / backend neu aufrufen oder die Kategorien einmal komplett löschen und neu anlegen (wenn du noch nicht live bist). Daniel P.S.: Welche PHP-Version hast du im Einsatz?

[quote=„Daniel Nögel“]Hi, P.S.: Welche PHP-Version hast du im Einsatz?[/quote] 5.5 als Apache Modul