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
Deploying the craft 5 upgrade to a fresh db throws the following error: Exception: Setting unknown property: craft\records\EntryType::slugTranslationMethod (/var/www/html/vendor/yiisoft/yii2/base/Component.php:209)
I've tried deleting my vendor dir and reinstalling & can see a reference to the problematic property in the EntryType class:
Steps to reproduce
Upgrade to craft 5 locally
Rebuild the config
Deploy the changes (apply to a yet upgraded db)
Expected behavior
Craft successfully upgrades to v5
Actual behavior
The above exception is thrown
Craft CMS version
4/5
PHP version
8.2.19
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
The text was updated successfully, but these errors were encountered:
If anyone else comes across this issue: i was initially on an outdated version of 4.x. I'd upgraded to the latest version and then upgraded to v5 in a single branch. I fixed this by separating these out and releasing incrementally.
Thanks for reporting! The minimum Craft 4 version the upgrade should have allowed is 4.5.0, but it was incorrectly set to 4.4.0 instead. Just fixed that for the next release, so going forward you would have at least gotten a more clear error message.
What happened?
Description
Deploying the craft 5 upgrade to a fresh db throws the following error: Exception: Setting unknown property: craft\records\EntryType::slugTranslationMethod (/var/www/html/vendor/yiisoft/yii2/base/Component.php:209)
I've tried deleting my vendor dir and reinstalling & can see a reference to the problematic property in the EntryType class:
Steps to reproduce
Expected behavior
Craft successfully upgrades to v5
Actual behavior
The above exception is thrown
Craft CMS version
4/5
PHP version
8.2.19
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
The text was updated successfully, but these errors were encountered: