Ich habe einen Shop mit der Version 6.4.8.2 unter PHP 8.1.3 laufen. (Ubuntu 20.04)
Nun habe ich versucht auf die aktuelle Version 6.4.9.0 zu aktualisieren und erhalte folgende Fehler:
Deprecated: Return type of Pimple\Container::offsetExists($id) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/mastersoles-shop/vendor/shopware/recovery/Common/vendor/pimple/pimple/src/Pimple/Container.php on line 133
Deprecated: Return type of Pimple\Container::offsetGet($id) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/mastersoles-shop/vendor/shopware/recovery/Common/vendor/pimple/pimple/src/Pimple/Container.php on line 98
Deprecated: Return type of Pimple\Container::offsetSet($id, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/mastersoles-shop/vendor/shopware/recovery/Common/vendor/pimple/pimple/src/Pimple/Container.php on line 79
Deprecated: Return type of Pimple\Container::offsetUnset($id) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/mastersoles-shop/vendor/shopware/recovery/Common/vendor/pimple/pimple/src/Pimple/Container.php on line 143
Deprecated: Return type of Slim\Collection::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/mastersoles-shop/vendor/shopware/recovery/Common/vendor/slim/slim/Slim/Collection.php on line 112
Deprecated: Return type of Slim\Collection::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/mastersoles-shop/vendor/shopware/recovery/Common/vendor/slim/slim/Slim/Collection.php on line 124
Deprecated: Return type of Slim\Collection::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/mastersoles-shop/vendor/shopware/recovery/Common/vendor/slim/slim/Slim/Collection.php on line 135
Deprecated: Return type of Slim\Collection::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/mastersoles-shop/vendor/shopware/recovery/Common/vendor/slim/slim/Slim/Collection.php on line 145
Deprecated: Return type of Slim\Collection::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/mastersoles-shop/vendor/shopware/recovery/Common/vendor/slim/slim/Slim/Collection.php on line 155
Deprecated: Return type of Slim\Collection::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/mastersoles-shop/vendor/shopware/recovery/Common/vendor/slim/slim/Slim/Collection.php on line 165
Deprecated: Return type of Slim\Collection::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/mastersoles-shop/vendor/shopware/recovery/Common/vendor/slim/slim/Slim/Collection.php on line 112
Deprecated: Return type of Slim\Collection::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/mastersoles-shop/vendor/shopware/recovery/Common/vendor/slim/slim/Slim/Collection.php on line 124
Deprecated: Return type of Slim\Collection::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/mastersoles-shop/vendor/shopware/recovery/Common/vendor/slim/slim/Slim/Collection.php on line 135
Deprecated: Return type of Slim\Collection::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/mastersoles-shop/vendor/shopware/recovery/Common/vendor/slim/slim/Slim/Collection.php on line 145
Deprecated: Return type of Slim\Collection::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/mastersoles-shop/vendor/shopware/recovery/Common/vendor/slim/slim/Slim/Collection.php on line 155
Deprecated: Return type of Slim\Collection::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/mastersoles-shop/vendor/shopware/recovery/Common/vendor/slim/slim/Slim/Collection.php on line 165
Fatal error: Uncaught RuntimeException: Unexpected data in output buffer. Maybe you have characters before an opening <?php tag? in /var/www/mastersoles-shop/vendor/shopware/recovery/Common/vendor/slim/slim/Slim/App.php:621 Stack trace: #0 /var/www/mastersoles-shop/vendor/shopware/recovery/Common/vendor/slim/slim/Slim/App.php(317): Slim\App->finalize() #1 /var/www/mastersoles-shop/vendor/shopware/recovery/Update/index.php(39): Slim\App->run() #2 /var/www/mastersoles-shop/public/recovery/update/index.php(6): require_once(’…’) #3 {main} thrown in /var/www/mastersoles-shop/vendor/shopware/recovery/Common/vendor/slim/slim/Slim/App.php on line 621
Wenn ich das ganze aber mit php 8.0.16 oder 7.4.28 durchführe tritt dieser Fehler nicht auf.
Nachdem ich nun die php Version, nach dem Update, wieder auf die 8.1.3 gestellt habe,
scheint der Shop aber richtig zu funktionieren.
Könnte das Problem mit der Updateroutine zusammen hängen?
Kann jemand dieses Problem nachvollziehen?