Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't change Project config during migration #13

Open
Anubarak opened this issue Oct 9, 2019 · 0 comments
Open

Don't change Project config during migration #13

Anubarak opened this issue Oct 9, 2019 · 0 comments

Comments

@Anubarak
Copy link

Anubarak commented Oct 9, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant