Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[4.x]: Fatal PHP error after upgrade to 4.13.1 #16142

Closed
d--j opened this issue Nov 19, 2024 · 1 comment
Closed

[4.x]: Fatal PHP error after upgrade to 4.13.1 #16142

d--j opened this issue Nov 19, 2024 · 1 comment

Comments

@d--j
Copy link
Contributor

d--j commented Nov 19, 2024

What happened?

Description

Steps to reproduce

  1. Upgrade CraftCMS from 4.13.0 to 4.13.1
  2. ddev craft

Expected behavior

Output list of commands

Actual behavior

PHP Fatal error:  Uncaught Error: Class "Craft" not found in /var/www/html/vendor/craftcms/cms/src/helpers/App.php:276
Stack trace:
#0 /var/www/html/vendor/craftcms/cms/bootstrap/bootstrap.php(31): craft\helpers\App::cliOption('--vendorPath', true)
#1 /var/www/html/vendor/craftcms/cms/bootstrap/bootstrap.php(35): {closure}('--vendorPath', 'CRAFT_VENDOR_PA...')
#2 /var/www/html/vendor/craftcms/cms/bootstrap/console.php(42): require('/var/www/html/v...')
#3 /var/www/html/craft(12): require('/var/www/html/v...')
#4 {main}
  thrown in /var/www/html/vendor/craftcms/cms/src/helpers/App.php on line 276
Fatal error: Uncaught Error: Class "Craft" not found in /var/www/html/vendor/craftcms/cms/src/helpers/App.php:276
Stack trace:
#0 /var/www/html/vendor/craftcms/cms/bootstrap/bootstrap.php(31): craft\helpers\App::cliOption('--vendorPath', true)
#1 /var/www/html/vendor/craftcms/cms/bootstrap/bootstrap.php(35): {closure}('--vendorPath', 'CRAFT_VENDOR_PA...')
#2 /var/www/html/vendor/craftcms/cms/bootstrap/console.php(42): require('/var/www/html/v...')
#3 /var/www/html/craft(12): require('/var/www/html/v...')
#4 {main}
  thrown in /var/www/html/vendor/craftcms/cms/src/helpers/App.php on line 276
Failed to run craft : exit status 255

Craft CMS version

4.13.1

PHP version

8.2

Operating system and version

ddev

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

@brandonkelly
Copy link
Member

Doh, thanks for reporting that. Fixed in 4.13.1.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants