Skip to content

Don't change Project config during migration #13

@Anubarak

Description

@Anubarak

Please don't change the project config in a migration without security checks, this will throw errors since not everyone allows admin changes in production environment.

That means releasing your plugin in production mode with the correct usage of the project config always throws exceptions for me.

Exception: Changes to the project config are not possible while in read-only mode. (/var/www/thaff/htdocs/page/vendor/craftcms/cms/src/services/ProjectConfig.php:354)

Please read this
https://docs.craftcms.com/v3/extend/project-config.html#project-config-migrations

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions