There are some steps required when updating to Craft 3.4 and Neo 2.7.x+ from older versions. This is because Craft 3.4 re-saves the entries before Neo has a chance to add the database changes which throws an error when saving.
-
Edit your composer.json.
Craft should be
3.4.0
and Neo2.6.5.1
. Your composer.json for Craft and Neo should look like this:"craftcms/cms": "3.4.0", "spicyweb/craft-neo": "2.6.5.1",
-
Run the update command
Either
./craft update
orcomposer update
-
Visit the CMS backend and let it run the migration/update
-
Change your composer.json file back or like below:
"craftcms/cms": "^3.4.0", "spicyweb/craft-neo": "^2.6.5.1",
-
Rerun the update command.