craftcms / cms

Build bespoke content experiences with Craft.
https://craftcms.com
Other
3.28k stars 635 forks source link

[5.x]: craft\services\Config::_createConfigObj(): Argument #3 ($existingConfig) must be of type ?craft\config\BaseConfig, stdClass given, called in /var/www/html/vendor/craftcms/cms/src/services/Config.php on line 107 #15488

Closed SantiagoMenaT11 closed 3 months ago

SantiagoMenaT11 commented 3 months ago

What happened?

Description

craft\services\Config::_createConfigObj(): Argument #3 ($existingConfig) must be of type ?craft\config\BaseConfig, stdClass given, called in /var/www/html/vendor/craftcms/cms/src/services/Config.php on line 107

Steps to reproduce

  1. upgrade "craftcms/cms": "5.3.0-beta.1"
  2. open http://craft.ddev.site

Expected behavior

Work

Actual behavior

TypeError
craft\services\Config::_createConfigObj(): Argument #3 ($existingConfig) must be of type ?craft\config\BaseConfig, stdClass given, called in /var/www/html/vendor/craftcms/cms/src/services/Config.php on line 107
1. in /var/www/html/vendor/craftcms/cms/src/services/Config.phpat line 116

Craft CMS version

5.3.0-beta.1

PHP version

8.2

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

-

brandonkelly commented 3 months ago

This was fixed in Craft 4.11.0.1 and 5.3.0.1 (#15481)