Hallo nachdem wir unseren Shop Schrittweise von 5.5.x auf 5.7.11 geupdated haben, hat beim letzten Sprung auf die 5.7er scheinbar was nicht so richtig geklappt.
1, Beim Sprung über die Sidebar (Warenkorb an der rechten Seite) in den Warenkorb (Warenkorb bearbeiten) → /checkout/cart
Kommt ein Error 500.
- Beim Weg über „Zur Kasse“ → /checkout/shippingPayment
Kann man sich auch registrieren oder anmelden. Nach auswahl der Zahlart und dem bestätigen mit weiter, erfolgt beim Aufruf von „Warenkorb | TESO Shop“ auch ein 500er Error.
Auszug aus dem Error-Log:
2022/06/02 12:40:46 [error] 8505#8505: *1273180 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught TypeError: Return value of Shopware\Components\Template\HtmlMinCompressor::minify() must be of the type string, null returned in /var/www/clients/client3/web8/web/engine/Shopware/Components/Template/HtmlMinCompressor.php:31
Stack trace:
#0 /var/www/clients/client3/web8/web/engine/Shopware/Plugins/Default/Frontend/Seo/Bootstrap.php(181): Shopware\Components\Template\HtmlMinCompressor->minify()
#1 /var/www/clients/client3/web8/web/engine/Library/Enlight/Event/Handler/Plugin.php(155): Shopware_Plugins_Frontend_Seo_Bootstrap->onFilterRender()
#2 /var/www/clients/client3/web8/web/engine/Library/Enlight/Event/EventManager.php(291): Enlight_Event_Handler_Plugin->execute()
#3 /var/www/clients/client3/web8/web/engine/Library/Enlight/Controller/Plugins/ViewRenderer/Bootstrap.php(184): Enlight_Event_EventManager->filter()
#4 /var/www/clients/client3/web8/web/engine/Library/Enlight/Controller/Plugins/ViewRenderer/Bootstrap.php(207): Enlight_Controller_Plugins_ViewRender" while reading response header from upstream, client: 46.114.144.62, server: teso-shop.de, request: "GET /rolladenzubehoer/rolladensteuerung/640/multitec-touch-868-smart-home-von-elero?number=e287150001&gclid=CjwKCAjwv-GUBhAzEiwASUMm4q5-UVj25v2PDh5VA-1Wc8bVK-LVBHM9SOPz4sdTAFElNR5kFt5HoxoCF1YQAvD_BwE HTTP/2.0", upstream: "fastcgi://unix:/var/lib/php5-fpm/web8.sock:", host: "teso-shop.de", referrer: "https://www.google.com/"
2022/06/02 12:41:07 [error] 8509#8509: *1273192 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught TypeError: Return value of Shopware\Components\Template\HtmlMinCompressor::minify() must be of the type string, null returned in /var/www/clients/client3/web8/web/engine/Shopware/Components/Template/HtmlMinCompressor.php:31
Stack trace:
#0 /var/www/clients/client3/web8/web/engine/Shopware/Plugins/Default/Frontend/Seo/Bootstrap.php(181): Shopware\Components\Template\HtmlMinCompressor->minify()
#1 /var/www/clients/client3/web8/web/engine/Library/Enlight/Event/Handler/Plugin.php(155): Shopware_Plugins_Frontend_Seo_Bootstrap->onFilterRender()
#2 /var/www/clients/client3/web8/web/engine/Library/Enlight/Event/EventManager.php(291): Enlight_Event_Handler_Plugin->execute()
#3 /var/www/clients/client3/web8/web/engine/Library/Enlight/Controller/Plugins/ViewRenderer/Bootstrap.php(184): Enlight_Event_EventManager->filter()
#4 /var/www/clients/client3/web8/web/engine/Library/Enlight/Controller/Plugins/ViewRenderer/Bootstrap.php(207): Enlight_Controller_Plugins_ViewRender" while reading response header from upstream, client: 66.249.66.33, server: teso-shop.de, request: "GET /insektenschutz/fliegengitter-profile/fuer-spannrahmen/453/fliegengitterprofil-mit-buerste-zum-fenster?number=TE6258_9016 HTTP/1.1", upstream: "fastcgi://unix:/var/lib/php5-fpm/web8.sock:", host: "teso-shop.de"
2022/06/02 12:41:09 [error] 8516#8516: *1273197 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught TypeError: Return value of Shopware\Components\Template\HtmlMinCompressor::minify() must be of the type string, null returned in /var/www/clients/client3/web8/web/engine/Shopware/Components/Template/HtmlMinCompressor.php:31
Stack trace:
#0 /var/www/clients/client3/web8/web/engine/Shopware/Plugins/Default/Frontend/Seo/Bootstrap.php(181): Shopware\Components\Template\HtmlMinCompressor->minify()
#1 /var/www/clients/client3/web8/web/engine/Library/Enlight/Event/Handler/Plugin.php(155): Shopware_Plugins_Frontend_Seo_Bootstrap->onFilterRender()
#2 /var/www/clients/client3/web8/web/engine/Library/Enlight/Event/EventManager.php(291): Enlight_Event_Handler_Plugin->execute()
#3 /var/www/clients/client3/web8/web/engine/Library/Enlight/Controller/Plugins/ViewRenderer/Bootstrap.php(184): Enlight_Event_EventManager->filter()
#4 /var/www/clients/client3/web8/web/engine/Library/Enlight/Controller/Plugins/ViewRenderer/Bootstrap.php(207): Enlight_Controller_Plugins_ViewRender" while reading response header from upstream, client: 66.249.66.11, server: teso-shop.de, request: "GET /rolladenzubehoer/rolladenantrieb/654/elero-jalousieantrieb-mit-doppelseitigem-antrieb/softbremse-ja-06-soft/ja-09-soft?number=352040003 HTTP/1.1", upstream: "fastcgi://unix:/var/lib/php5-fpm/web8.sock:", host: "teso-shop.de"
2022/06/02 12:41:31 [error] 8510#8510: *1273217 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught TypeError: Return value of Shopware\Components\Template\HtmlMinCompressor::minify() must be of the type string, null returned in /var/www/clients/client3/web8/web/engine/Shopware/Components/Template/HtmlMinCompressor.php:31
Stack trace:
#0 /var/www/clients/client3/web8/web/engine/Shopware/Plugins/Default/Frontend/Seo/Bootstrap.php(181): Shopware\Components\Template\HtmlMinCompressor->minify()
#1 /var/www/clients/client3/web8/web/engine/Library/Enlight/Event/Handler/Plugin.php(155): Shopware_Plugins_Frontend_Seo_Bootstrap->onFilterRender()
#2 /var/www/clients/client3/web8/web/engine/Library/Enlight/Event/EventManager.php(291): Enlight_Event_Handler_Plugin->execute()
#3 /var/www/clients/client3/web8/web/engine/Library/Enlight/Controller/Plugins/ViewRenderer/Bootstrap.php(184): Enlight_Event_EventManager->filter()
#4 /var/www/clients/client3/web8/web/engine/Library/Enlight/Controller/Plugins/ViewRenderer/Bootstrap.php(207): Enlight_Controller_Plugins_ViewRender" while reading response header from upstream, client: 84.136.229.194, server: teso-shop.de, request: "GET /rolladenzubehoer/gurtwickler/45/selve-mini-gurtwickler-aufputz-schwenkbar-ohne-gurt HTTP/2.0", upstream: "fastcgi://unix:/var/lib/php5-fpm/web8.sock:", host: "teso-shop.de", referrer: "https://teso-shop.de/search?sSearch=084601"
2022/06/02 12:41:43 [error] 8516#8516: *1273242 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught TypeError: Return value of Shopware\Components\Template\HtmlMinCompressor::minify() must be of the type string, null returned in /var/www/clients/client3/web8/web/engine/Shopware/Components/Template/HtmlMinCompressor.php:31
Stack trace:
#0 /var/www/clients/client3/web8/web/engine/Shopware/Plugins/Default/Frontend/Seo/Bootstrap.php(181): Shopware\Components\Template\HtmlMinCompressor->minify()
#1 /var/www/clients/client3/web8/web/engine/Library/Enlight/Event/Handler/Plugin.php(155): Shopware_Plugins_Frontend_Seo_Bootstrap->onFilterRender()
#2 /var/www/clients/client3/web8/web/engine/Library/Enlight/Event/EventManager.php(291): Enlight_Event_Handler_Plugin->execute()
#3 /var/www/clients/client3/web8/web/engine/Library/Enlight/Controller/Plugins/ViewRenderer/Bootstrap.php(184): Enlight_Event_EventManager->filter()
#4 /var/www/clients/client3/web8/web/engine/Library/Enlight/Controller/Plugins/ViewRenderer/Bootstrap.php(207): Enlight_Controller_Plugins_ViewRender" while reading response header from upstream, client: 114.119.138.151, server: teso-shop.de, request: "GET /rolladenzubehoer/gurtwickler/39/selve-mini-gurtwickler-schwenkbar-mit-5-m-gurt-15-mm-breit?c=13 HTTP/1.1", upstream: "fastcgi://unix:/var/lib/php5-fpm/web8.sock:", host: "teso-shop.de", referrer: "https://teso-shop.de/rolladenzubehoer/?p=11"
2022/06/02 12:41:44 [error] 8508#8508: *1273246 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught TypeError: Return value of Shopware\Components\Template\HtmlMinCompressor::minify() must be of the type string, null returned in /var/www/clients/client3/web8/web/engine/Shopware/Components/Template/HtmlMinCompressor.php:31
Stack trace:
#0 /var/www/clients/client3/web8/web/engine/Shopware/Plugins/Default/Frontend/Seo/Bootstrap.php(181): Shopware\Components\Template\HtmlMinCompressor->minify()
#1 /var/www/clients/client3/web8/web/engine/Library/Enlight/Event/Handler/Plugin.php(155): Shopware_Plugins_Frontend_Seo_Bootstrap->onFilterRender()
#2 /var/www/clients/client3/web8/web/engine/Library/Enlight/Event/EventManager.php(291): Enlight_Event_Handler_Plugin->execute()
#3 /var/www/clients/client3/web8/web/engine/Library/Enlight/Controller/Plugins/ViewRenderer/Bootstrap.php(184): Enlight_Event_EventManager->filter()
#4 /var/www/clients/client3/web8/web/engine/Library/Enlight/Controller/Plugins/ViewRenderer/Bootstrap.php(207): Enlight_Controller_Plugins_ViewRender" while reading response header from upstream, client: 66.249.66.81, server: teso-shop.de, request: "GET /insektenschutz/insektenschutz-zubehoer/520/ersatzgewebe-fuer-insektenschutz-tuer-rollos?number=TE06040101_9005 HTTP/1.1", upstream: "fastcgi://unix:/var/lib/php5-fpm/web8.sock:", host: "teso-shop.de"
2022/06/02 12:41:49 [error] 8502#8502: *1273251 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught TypeError: Return value of Shopware\Components\Template\HtmlMinCompressor::minify() must be of the type string, null returned in /var/www/clients/client3/web8/web/engine/Shopware/Components/Template/HtmlMinCompressor.php:31
Stack trace:
#0 /var/www/clients/client3/web8/web/engine/Shopware/Plugins/Default/Frontend/Seo/Bootstrap.php(181): Shopware\Components\Template\HtmlMinCompressor->minify()
#1 /var/www/clients/client3/web8/web/engine/Library/Enlight/Event/Handler/Plugin.php(155): Shopware_Plugins_Frontend_Seo_Bootstrap->onFilterRender()
#2 /var/www/clients/client3/web8/web/engine/Library/Enlight/Event/EventManager.php(291): Enlight_Event_Handler_Plugin->execute()
#3 /var/www/clients/client3/web8/web/engine/Library/Enlight/Controller/Plugins/ViewRenderer/Bootstrap.php(184): Enlight_Event_EventManager->filter()
#4 /var/www/clients/client3/web8/web/engine/Library/Enlight/Controller/Plugins/ViewRenderer/Bootstrap.php(207): Enlight_Controller_Plugins_ViewRender" while reading response header from upstream, client: 54.36.148.201, server: teso-shop.de, request: "GET /rolladenzubehoer/zubehoer/84/selve-wellenadapter-fuer-baureihe-2-sw-60 HTTP/2.0", upstream: "fastcgi://unix:/var/lib/php5-fpm/web8.sock:", host: "teso-shop.de"
2022/06/02 12:41:58 [error] 8507#8507: *1273267 openat() "/var/www/teso-shop.de/web/themes/Backend/ExtJs/backend/_resources/images/icons/ico_growl.png" failed (2: No such file or directory), client: 5.9.118.114, server: teso-shop.de, request: "GET /themes/Backend/ExtJs/backend/_resources/images/icons/ico_growl.png HTTP/1.1", host: "teso-shop.de", referrer: "https://teso-shop.de/backend/"
2022/06/02 12:42:40 [error] 8513#8513: *1273396 FastCGI sent in stderr: "PHP message: PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 339684816 bytes) in /var/www/clients/client3/web8/web/engine/Shopware/Plugins/Default/Frontend/Seo/Bootstrap.php on line 201" while reading response header from upstream, client: 79.252.84.196, server: teso-shop.de, request: "GET /checkout HTTP/2.0", upstream: "fastcgi://unix:/var/lib/php5-fpm/web8.sock:", host: "teso-shop.de", referrer: "https://teso-shop.de/checkout/shippingPayment"
2022/06/02 12:44:46 [error] 8504#8504: *1273612 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '658-1' for key 'element_id_shop_id' in /var/www/clients/client3/web8/web/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:117
Stack trace:
#0 /var/www/clients/client3/web8/web/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php(117): PDOStatement->execute()
#1 /var/www/clients/client3/web8/web/engine/Library/Zend/Db/Statement/Pdo.php(219): Doctrine\DBAL\Driver\PDOStatement->execute()
#2 /var/www/clients/client3/web8/web/engine/Library/Zend/Db/Statement.php(297): Zend_Db_Statement_Pdo->_execute()
#3 /var/www/clients/client3/web8/web/engine/Library/Zend/Db/Adapter/Abstract.php(472): Zend_Db_Statement->execute()
#4 /var/www/clients/client3/web8/web/engine/Library/Zend/Db/Adapter/Pdo/Abstract.php(232): Zend_Db_Adapter_Abstract->query()
#5 /var/www/clients/client3/web8/web/engine/Library/Enlight/Components/Db/Adapter/Pdo/Mysql.php(82): Zend_Db_Adapter_Pdo" while reading response header from upstream, client: 79.252.84.196, server: teso-shop.de, request: "GET / HTTP/2.0", upstream: "fastcgi://unix:/var/lib/php5-fpm/web8.sock:", host: "teso-shop.de"
2022/06/02 12:53:52 [error] 8516#8516: *1274330 openat() "/var/www/teso-shop.de/web/themes/Backend/ExtJs/backend/_resources/images/icons/ico_growl.png" failed (2: No such file or directory), client: 5.9.118.114, server: teso-shop.de, request: "GET /themes/Backend/ExtJs/backend/_resources/images/icons/ico_growl.png HTTP/1.1", host: "teso-shop.de", referrer: "https://teso-shop.de/backend/"
2022/06/02 12:54:57 [error] 8513#8513: *1274510 FastCGI sent in stderr: "PHP message: PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 275829320 bytes) in /var/www/clients/client3/web8/web/engine/Shopware/Plugins/Default/Frontend/Seo/Bootstrap.php on line 201" while reading response header from upstream, client: 109.43.49.227, server: teso-shop.de, request: "GET /checkout/cart HTTP/2.0", upstream: "fastcgi://unix:/var/lib/php5-fpm/web8.sock:", host: "teso-shop.de", referrer: "https://teso-shop.de/insektenschutz/insektenschutz-zubehoer/59/gummikeder-fuer-insektenschutzgewebebefestigung-als-meterware?number=SW10042"
2022/06/02 12:59:43 [error] 8513#8513: *1274741 FastCGI sent in stderr: "PHP message: PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 275681624 bytes) in /var/www/clients/client3/web8/web/engine/Shopware/Plugins/Default/Frontend/Seo/Bootstrap.php on line 201" while reading response header from upstream, client: 109.43.49.227, server: teso-shop.de, request: "GET /checkout HTTP/2.0", upstream: "fastcgi://unix:/var/lib/php5-fpm/web8.sock:", host: "teso-shop.de", referrer: "https://teso-shop.de/checkout/shippingPayment"
PHP: 7.4.29
SW: 5.7.11
Hoster: Timmehosting
Hat hier jemand ggf. eine Idee? Wir haben auch schon das Standard-Theme probiert, sowie den "Sicherheitsmodus im Plugin-Manager aktiviert…