You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
/**
@var string The plugin’s schema version number
*/
public string $schemaVersion = '2.0.0';
The text was updated successfully, but these errors were encountered:
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.
/**
*/
public string $schemaVersion = '2.0.0';
The text was updated successfully, but these errors were encountered: