Hallo Community,
wir haben heute ein Subshop erstellt und ein bestehendes Theme im Theme Manager kopiert, dabei kamen einige Fehlermeldungen. Die logs sagen folgendes unten aus leider kann ich nur 1 log pro Post einfügen, da die Zeichen zu lang sind.
Der Shop ist ganz normal erreichbar, allerdings braucht er 4-5 Sekunden bis eine Seite aufgebaut wird. Pagespeed Insights bricht die Auswertung teilweise ab weil "Request" zu lang ist.
Ich hoffe ihr könnt uns weiterhelfen. Vielen Dank.
[2016-11-20 10:24:00] core.ERROR: exception 'PDOException' with message 'SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '35-mobileLogo' for key 'template_id_name'' in /makrklnc/www.makeupstudio-proshop.de/vendor/doctrine/dbal/lib/Doctrine/DBAL/Statement.php:165 Stack trace: #0 /makrklnc/www.makeupstudio-proshop.de/vendor/doctrine/dbal/lib/Doctrine/DBAL/Statement.php(165): PDOStatement->execute(NULL) #1 /makrklnc/www.makeupstudio-proshop.de/engine/Library/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php(281): Doctrine\DBAL\Statement->execute() #2 /makrklnc/www.makeupstudio-proshop.de/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php(1018): Doctrine\ORM\Persisters\Entity\BasicEntityPersister->executeInserts() #3 /makrklnc/www.makeupstudio-proshop.de/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php(378): Doctrine\ORM\UnitOfWork->executeInserts(Object(Doctrine\ORM\Mapping\ClassMetadata)) #4 /makrklnc/www.makeupstudio-proshop.de/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php(356): Doctrine\ORM\UnitOfWork->commit(NULL) #5 /makrklnc/www.makeupstudio-proshop.de/engine/Shopware/Components/Form/Persister/Theme.php(62): Doctrine\ORM\EntityManager->flush() #6 /makrklnc/www.makeupstudio-proshop.de/engine/Shopware/Components/Theme/Configurator.php(132): Shopware\Components\Form\Persister\Theme->save(Object(Shopware\Components\Form\Container\TabContainer), Object(Shopware\Models\Shop\Template)) #7 /makrklnc/www.makeupstudio-proshop.de/engine/Shopware/Components/Theme/Installer.php(154): Shopware\Components\Theme\Configurator->synchronize(Object(Shopware\Themes\DailyConcepts\Theme)) #8 /makrklnc/www.makeupstudio-proshop.de/engine/Shopware/Components/Theme/Installer.php(116): Shopware\Components\Theme\Installer->synchronizeThemes() #9 /makrklnc/www.makeupstudio-proshop.de/engine/Shopware/Controllers/Backend/Theme.php(219): Shopware\Components\Theme\Installer->synchronize() #10 /makrklnc/www.makeupstudio-proshop.de/engine/Library/Enlight/Controller/Action.php(159): Shopware_Controllers_Backend_Theme->listAction() #11 /makrklnc/www.makeupstudio-proshop.de/engine/Library/Enlight/Controller/Dispatcher/Default.php(523): Enlight_Controller_Action->dispatch('listAction') #12 /makrklnc/www.makeupstudio-proshop.de/engine/Library/Enlight/Controller/Front.php(223): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp)) #13 /makrklnc/www.makeupstudio-proshop.de/engine/Shopware/Kernel.php(177): Enlight_Controller_Front->dispatch() #14 /makrklnc/www.makeupstudio-proshop.de/vendor/symfony/http-kernel/HttpCache/HttpCache.php(487): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #15 /makrklnc/www.makeupstudio-proshop.de/engine/Shopware/Components/HttpCache/AppCache.php(255): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #16 /makrklnc/www.makeupstudio-proshop.de/vendor/symfony/http-kernel/HttpCache/HttpCache.php(258): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true) #17 /makrklnc/www.makeupstudio-proshop.de/engine/Shopware/Components/HttpCache/AppCache.php(103): Symfony\Component\HttpKernel\HttpCache\HttpCache->pass(Object(Symfony\Component\HttpFoundation\Request), true) #18 /makrklnc/www.makeupstudio-proshop.de/shopware.php(113): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request)) #19 {main} Next exception 'Doctrine\DBAL\DBALException' with message 'An exception occurred while executing 'INSERT INTO s_core_templates_config_elements (template_id, type, name, position, default_value, selection, field_label, support_text, allow_blank, less_compatible, attributes, container_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)' with params [35, "theme-media-selection", "mobileLogo", 0, "s:47:\"frontend\/_public\/src\/img\/logos\/logo--mobile.png\";", "N;", "__smartphone__", null, 1, 0, "a:1:{s:14:\"lessCompatible\";b:0;}", 255]: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '35-mobileLogo' for key 'template_id_name'' in /makrklnc/www.makeupstudio-proshop.de/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php:119 Stack trace: #0 /makrklnc/www.makeupstudio-proshop.de/vendor/doctrine/dbal/lib/Doctrine/DBAL/Statement.php(175): Doctrine\DBAL\DBALException::driverExceptionDuringQuery(Object(Doctrine\DBAL\Driver\PDOMySql\Driver), Object(PDOException), 'INSERT INTO s_c...', Array) #1 /makrklnc/www.makeupstudio-proshop.de/engine/Library/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php(281): Doctrine\DBAL\Statement->execute() #2 /makrklnc/www.makeupstudio-proshop.de/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php(1018): Doctrine\ORM\Persisters\Entity\BasicEntityPersister->executeInserts() #3 /makrklnc/www.makeupstudio-proshop.de/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php(378): Doctrine\ORM\UnitOfWork->executeInserts(Object(Doctrine\ORM\Mapping\ClassMetadata)) #4 /makrklnc/www.makeupstudio-proshop.de/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php(356): Doctrine\ORM\UnitOfWork->commit(NULL) #5 /makrklnc/www.makeupstudio-proshop.de/engine/Shopware/Components/Form/Persister/Theme.php(62): Doctrine\ORM\EntityManager->flush() #6 /makrklnc/www.makeupstudio-proshop.de/engine/Shopware/Components/Theme/Configurator.php(132): Shopware\Components\Form\Persister\Theme->save(Object(Shopware\Components\Form\Container\TabContainer), Object(Shopware\Models\Shop\Template)) #7 /makrklnc/www.makeupstudio-proshop.de/engine/Shopware/Components/Theme/Installer.php(154): Shopware\Components\Theme\Configurator->synchronize(Object(Shopware\Themes\DailyConcepts\Theme)) #8 /makrklnc/www.makeupstudio-proshop.de/engine/Shopware/Components/Theme/Installer.php(116): Shopware\Components\Theme\Installer->synchronizeThemes() #9 /makrklnc/www.makeupstudio-proshop.de/engine/Shopware/Controllers/Backend/Theme.php(219): Shopware\Components\Theme\Installer->synchronize() #10 /makrklnc/www.makeupstudio-proshop.de/engine/Library/Enlight/Controller/Action.php(159): Shopware_Controllers_Backend_Theme->listAction() #11 /makrklnc/www.makeupstudio-proshop.de/engine/Library/Enlight/Controller/Dispatcher/Default.php(523): Enlight_Controller_Action->dispatch('listAction') #12 /makrklnc/www.makeupstudio-proshop.de/engine/Library/Enlight/Controller/Front.php(223): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp)) #13 /makrklnc/www.makeupstudio-proshop.de/engine/Shopware/Kernel.php(177): Enlight_Controller_Front->dispatch() #14 /makrklnc/www.makeupstudio-proshop.de/vendor/symfony/http-kernel/HttpCache/HttpCache.php(487): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #15 /makrklnc/www.makeupstudio-proshop.de/engine/Shopware/Components/HttpCache/AppCache.php(255): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #16 /makrklnc/www.makeupstudio-proshop.de/vendor/symfony/http-kernel/HttpCache/HttpCache.php(258): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true) #17 /makrklnc/www.makeupstudio-proshop.de/engine/Shopware/Components/HttpCache/AppCache.php(103): Symfony\Component\HttpKernel\HttpCache\HttpCache->pass(Object(Symfony\Component\HttpFoundation\Request), true) #18 /makrklnc/www.makeupstudio-proshop.de/shopware.php(113): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request)) #19 {main} [] {"uid":"a32d386"}