Skip to content

[5.x]: Error thrown during upgrade - Setting unknown property: craft\records\EntryType::slugTranslationMethod #15133

@johnrich85

Description

@johnrich85

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:
image

Steps to reproduce

  1. Upgrade to craft 5 locally
  2. Rebuild the config
  3. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions