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
I am upgrading a Craft 2 site to Craft 3, following the documentation on upgrading. I copied changes from my general.php config file over (namely allowAutoUpdates false for production) which evidently has been renamed to allowUpdates in Craft 3.
When hooking the fresh Craft 3 installation up to the Craft 2 database and trying to navigate to /admin (step 11), I get this error (below) prior to seeing the update prompt.
The Craft 3 deprecation code is running on a Craft 2 database, where evidently that line field is not yet allowed to be null (but post the Craft 3 migrations it would be).
The SQL being executed was: INSERT INTO craft_deprecationerrors (lastOccurrence, file, line, message, traces, dateCreated, dateUpdated, uid, key, fingerprint) VALUES ('2018-09-24 22:53:47', '(path to my project)/config/general.php', NULL, 'The allowAutoUpdates config setting has been renamed to allowUpdates.', '[{"objectClass":"craft\\services\\Deprecator","file":"(path to my project)/vendor/craftcms/cms/src/config/GeneralConfig.php","line":755,"class":"craft\ etc...
The text was updated successfully, but these errors were encountered:
Description
I am upgrading a Craft 2 site to Craft 3, following the documentation on upgrading. I copied changes from my general.php config file over (namely allowAutoUpdates false for production) which evidently has been renamed to allowUpdates in Craft 3.
When hooking the fresh Craft 3 installation up to the Craft 2 database and trying to navigate to /admin (step 11), I get this error (below) prior to seeing the update prompt.
The Craft 3 deprecation code is running on a Craft 2 database, where evidently that line field is not yet allowed to be null (but post the Craft 3 migrations it would be).
Bit of an edge case but thought I'd let you know!
Steps to reproduce
This is as if going through the Craft 2 to Craft 3 upgrade process.
Additional info
Error
The text was updated successfully, but these errors were encountered: