Open angelokeirsebilck opened 1 month ago
Hi, thanks for reporting. I'm just a hair confused about the circumstances surrounding this error.
If you were installing a fresh copy of Craft, how did you already have CP CSS as part of the equation?
I cloned a starter project, where CP CSS was installed. Somehow this bug slipped in when updating Craft CMS on the starter.
Using php craft setup on a newly cloned project this occurs, because there craft is not installed yet.
Getting this error when installing craft with php craft setup.
$schemaVersion = $pluginRef->getProperty('schemaVersion')->getDefaultValue(); on line 1206 in craftcms/cms/src/migrations/Install.php always returns 1.0.0 but it expects 2.0.0 set in composer.
The default value of craft is 1.0.0 if there is no schemaVersion property set.
Adding the schemaVersion property in CpCSS.php fixes this.
/**