Hello to another “how to upgrade”-thread
A site that was 184.108.40.206 i could upgrade to 220.127.116.11 (latest 5.7) but from there on, nothing works anymore.
I try to change the concrete folder to a new one, visit /ccm/system/upgrade, it shows me the current and target version to upgrade but then fails with:
Error: Call to a member function getCollectionID() on string in file /mySitePath/concrete/src/Page/Page.php on line 2694
Same happens if i just exchange the folder and run
Is there anything i can do? Some secret knowledge of a crucial version to upgrade in steps?
How to Upgrade Concrete CMS is not helping much and i have not found similars i the forum.
edit: i am using php 7.1 on cli + apache for this upgrade attempt. System Requirements for Concrete CMS does not specify anything for versions older than v8
edit2: another error i am getting when trying to migrate the db to 8.5.12 is:
An exception occurred while executing 'INSERT INTO PagePaths (cPath, cID, ppIsCanonical, ppGeneratedFromURLSlugs) VALUES (?, ?, ?, ?)' with params ["\/!trash\/", null, 1, 1]: SQLSTATE: Integrity constraint violation: 1048 Column 'cID' cannot be null
might has to do with the site being multilingual
edit3: i have fumbled in the db as per this ancient comment: Integrity constraint violation: 1048 Column 'cParentID' cannot be null - Concrete CMS and that gives me a different error:
An exception occurred while executing 'update Pages set cParentID = ? where cID = ?' with params [null, "242"]: SQLSTATE: Integrity constraint violation: 1048 Column 'cParentID' cannot be null
I do not know what is happening here. The site 242 is /dashboard/welcome and has cParentID=2. i Do not know where the ‘null’ is coming from.