Shipping Coast Page not Loading in Backend

Hai to All., I have found an Error in My Shopware4.When i Click „Shipping Costs“ in Backend,The Page is not Loading and show some Error.What I mean is when i click „Configuration—>Shipping Costs“ The Shopware shows the following Error in „Error Information“ at backend [color=red]
Fatal error : Uncaught exception ‚Doctrine\ORM\NonUniqueResultException‘ in /home/lefeli/www/htdocs/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php:623 Stack trace: #0 /home/lefeli/www/htdocs/engine/Shopware/Models/Shop/Repository.php(286): Doctrine\ORM\AbstractQuery->getOneOrNullResult() #1 /home/lefeli/www/htdocs/engine/Shopware/Components/Snippet/Manager.php(180): Shopware\Models\Shop\Repository->getDefault() #2 /home/lefeli/www/htdocs/engine/Shopware/Components/Snippet/Manager.php(117): Shopware_Components_Snippet_Manager->getDefaultLocale() #3 /home/lefeli/www/htdocs/engine/Library/Enlight/Components/Snippet/Resource.php(245): Shopware_Components_Snippet_Manager->getNamespace(‚frontend/error/…‘) #4 /home/lefeli/www/htdocs/engine/Library/Enlight/Components/Snippet/Resource.php(207): Enlight_Components_Snippet_Resource->getSnippet(‚frontend/error/…‘, ‚ExceptionHeader‘, ‚Ups! An error h…‘, false) #5 /home/lefeli/www/htdocs/engine/Library/Enlight/Components/Snippet/Resource.php(170): Enlight_Components_Snippe in /home/lefeli/www/htdocs/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php on line 623
503 Service Unavailable[/color] I have found the following Error as well in Logs folder [color=red][2016-01-17 15:33:45] core.ERROR: exception ‚Enlight_Controller_Exception‘ with message ‚Permission denied‘ in /home/lefeli/www/htdocs/engine/Shopware/Plugins/Default/Backend/Auth/Bootstrap.php:249 Stack trace: #0 /home/lefeli/www/htdocs/engine/Shopware/Plugins/Default/Backend/Auth/Bootstrap.php(201): Shopware_Plugins_Backend_Auth_Bootstrap->checkAuth() #1 /home/lefeli/www/htdocs/engine/Library/Enlight/Event/Handler/Plugin.php(149): Shopware_Plugins_Backend_Auth_Bootstrap->onPreDispatchBackend(Object(Enlight_Controller_ActionEventArgs)) #2 /home/lefeli/www/htdocs/engine/Library/Enlight/Event/EventManager.php(211): Enlight_Event_Handler_Plugin->execute(Object(Enlight_Controller_ActionEventArgs)) #3 /home/lefeli/www/htdocs/engine/Library/Enlight/Controller/Action.php(138): Enlight_Event_EventManager->notify(‚Enlight_Control…‘, Object(Enlight_Controller_ActionEventArgs)) #4 /home/lefeli/www/htdocs/engine/Library/Enlight/Controller/Dispatcher/Default.php(528): Enlight_Controller_Action->dispatch(‚createLogAction‘) #5 /home/lefeli/www/htdocs/engine/Library/Enlight/Controller/Front.php(228): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp)) #6 /home/lefeli/www/htdocs/engine/Shopware/Kernel.php(141): Enlight_Controller_Front->dispatch() #7 /home/lefeli/www/htdocs/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpCache/HttpCache.php(472): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #8 /home/lefeli/www/htdocs/engine/Shopware/Components/HttpCache/AppCache.php(256): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #9 /home/lefeli/www/htdocs/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpCache/HttpCache.php(243): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true) #10 /home/lefeli/www/htdocs/engine/Shopware/Components/HttpCache/AppCache.php(102): Symfony\Component\HttpKernel\HttpCache\HttpCache->pass(Object(Symfony\Component\HttpFoundation\Request), true) #11 /home/lefeli/www/htdocs/shopware.php(109): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request)) #12 {main} {„uid“:„2cc5cc2“}[/color] Please Help me in this to find a solution.

Hi, the first error message indicates, that you have two „default“ shops in your s_core_shops. In some cases this happened by a faulty plugins duplicating shops accidentally. Checking the s_core_shops and removing duplicates (create a backup beforehands) should solve that issue. The second error message might even occur when being logged auto (timeout) - as far as I know, this does not indicate a serious issue. Daniel

1 „Gefällt mir“