-
Notifications
You must be signed in to change notification settings - Fork 15
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
Upgrading from D7 throws PHP notices on update.php #95
Comments
I filed a PR at #96 that prevents metatag from modifying install.php and update.php pages. This seems like it's a good idea because update.php can easily have situations where metatag's settings aren't as expected, not only when updating from Drupal 7 but even updates for metatag if we were to ever refactor the |
I found this error can still occur because |
I am seeing this on an attempt to upgrade a D7 site as well:
Temporary workaround is to split line 2036 up from this:
to this:
|
Just saw this too on a dry run. I did something similar:
Probably makes sense to make this permanent since even regularly can't assume the variable is an array. |
I added a second PR. Perhaps both could be useful? @quicksketch |
I am trying to update from 1.x-1.22.1 to 1.x-1.22.2 (or later, same effect). The site was never a Drupal site, but a vanilla Backdrop installation back then. After the update I loose all my configuration, and can't add new settings per Content type or whatever entity. I wonder if this is the same mistake as for the D7 upgrade....? BTW, unistalling/reinstall the modulel solves the problem, but I loose the all the site's meta content entered by an SEO specialist. [UPDATE 07012023] The conflict was because of an incompatibility with an older i18n module version, in the meantime I could upgrade without loosing the content. |
When upgrading from Drupal 7, Metatag module throws a PHP notice when it tries to load
metatag.settings
config before values are defined.The text was updated successfully, but these errors were encountered: