Open the site, or try to run any craft console command
Expected behavior
Normal update.
Actual behavior
The following fatal error is thrown in all modes, including console:
Uncaught Error: Class "Craft" not found in /var/www/html/vendor/craftcms/cms/src/helpers/App.php:287
Console error log:
PHP Fatal error: Uncaught Error: Class "Craft" not found in /var/www/html/vendor/craftcms/cms/src/helpers/App.php:287
Stack trace:
#0 /var/www/html/vendor/craftcms/cms/bootstrap/bootstrap.php(31): craft\helpers\App::cliOption()
#1 /var/www/html/vendor/craftcms/cms/bootstrap/bootstrap.php(35): {closure}()
#2 /var/www/html/vendor/craftcms/cms/bootstrap/console.php(42): require('...')
#3 /var/www/html/craft(9): require('...')
#4 {main}
thrown in /var/www/html/vendor/craftcms/cms/src/helpers/App.php on line 287
Fatal error: Uncaught Error: Class "Craft" not found in /var/www/html/vendor/craftcms/cms/src/helpers/App.php:287
Stack trace:
#0 /var/www/html/vendor/craftcms/cms/bootstrap/bootstrap.php(31): craft\helpers\App::cliOption()
#1 /var/www/html/vendor/craftcms/cms/bootstrap/bootstrap.php(35): {closure}()
#2 /var/www/html/vendor/craftcms/cms/bootstrap/console.php(42): require('...')
#3 /var/www/html/craft(9): require('...')
#4 {main}
thrown in /var/www/html/vendor/craftcms/cms/src/helpers/App.php on line 287
What happened?
Description
Upgrading from 5.3 to 5.1 throws a fatal error.
Steps to reproduce
ddev composer update
to update to 5.5.1Expected behavior
Normal update.
Actual behavior
The following fatal error is thrown in all modes, including console:
Uncaught Error: Class "Craft" not found in /var/www/html/vendor/craftcms/cms/src/helpers/App.php:287
Console error log:
Craft CMS version
5.5.1
PHP version
8.3
Operating system and version
MacOS 15.0.1 (24A348)
Database type and version
MySQL 8.0
Image driver and version
No response
Installed plugins and versions
Composer: