UpdateCommand::execute()" must be of the type int, "null" returned

Hallo,

beim Update von 6.3.54 auf 6.4.0.0 erhalte ich trotz offenbar erfolgreichem Update

The update has been finished successfully.
Your shop is currently in maintenance mode.
Please delete ......./update-assets to finish the update.

diesen PHP-Fehler:

PHP Fatal error:  Uncaught TypeError: Return value of "Shopware\Recovery\Update\Command\UpdateCommand::execute()" must be of the type int, "null" returned. in ......./vendor/shopware/recovery/Common/vendor/symfony/console/Command/Command.php:259
Stack trace:
#0 ......./vendor/shopware/recovery/Common/vendor/symfony/console/Application.php(971): Symfony\Component\Console\Command\Command->run()
#1 ......./vendor/shopware/recovery/Common/vendor/symfony/console/Application.php(290): Symfony\Component\Console\Application->doRunCommand()
#2 ......./vendor/shopware/recovery/Common/vendor/symfony/console/Application.php(166): Symfony\Component\Console\Application->doRun()
#3 ......./vendor/shopware/recovery/Update/index.php(36): Symfony\Component\Console\Application->run()
#4 ......./public/recovery/update/index.php(6): require_ in ......./vendor/shopware/recovery/Common/vendor/symfony/console/Command/Command.php on line 259

Fatal error: Uncaught TypeError: Return value of "Shopware\Recovery\Update\Command\UpdateCommand::execute()" must be of the type int, "null" returned. in ......./vendor/shopware/recovery/Common/vendor/symfony/console/Command/Command.php:259
Stack trace:
#0 ......./vendor/shopware/recovery/Common/vendor/symfony/console/Application.php(971): Symfony\Component\Console\Command\Command->run()
#1 ......./vendor/shopware/recovery/Common/vendor/symfony/console/Application.php(290): Symfony\Component\Console\Application->doRunCommand()
#2 ......./vendor/shopware/recovery/Common/vendor/symfony/console/Application.php(166): Symfony\Component\Console\Application->doRun()
#3 ......./vendor/shopware/recovery/Update/index.php(36): Symfony\Component\Console\Application->run()
#4 ......./public/recovery/update/index.php(6): require_ in ......./vendor/shopware/recovery/Common/vendor/symfony/console/Command/Command.php on line 259

Der Shop entspricht dem Standard und ist noch nicht mit Produkten o.ä. befüllt worden und funktioniert, soweit ich das sehen kann.
Vermutlich handelt es sich um ein zu vernachlässigendes Problem, aber ich hätte schon gern gewußt, wie sich der Fehler beheben läßt. Mit ist klar, daß es sich um eine falsche bzw. nicht vorhandene Deklaration einer Variable handeln müsste, aber wo?

php -v
PHP 7.4.18 (cli) (built: Apr 30 2021 18:12:03) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
    with the ionCube PHP Loader + ionCube24 v10.4.5, Copyright (c) 2002-2020, by ionCube Ltd.

Danke für eure Ideen!
Gruß
Peter

1 Like

in 6.4.1.2 immernoch…