Update to 5.6.1.2 - Fatal Error
PermalinkI've just tried updating to 5.6.1.2 from 5.6.0.2 using the remote updater and the site worked whilst signed in as admin (and strangely had double the space required for the toolbar at the top) but gave the following fatal error when viewing as a guest:
Fatal error: Call to a member function overrideCollectionPermissions() on a non-object in /home/sites/photoboffin.co.uk/public_html/updates/concrete5.6.1.2_updater/concrete/core/models/permission/assignments/area.php on line 33
I've repeated the process a couple of times, but it's consistent.
Has anyone else experienced this? And does anyone have any ideas as to what's wrong?
Pete
I'm getting this same exact issue, running 5.6.2.1.
The error is almost exactly the same (but no update folder)
Fatal error: Call to a member function overrideCollectionPermissions() on a non-object in /home/mydomain/subdomains/dev/xyzsitename/concrete/core/models/permission/assignments/area.php on line 33
I happens on the home page. However, I'm able to log in and while logged in as Admin, the problem is gone. If I log out, it returns.
It's on a new site that's in just being put together, so I could reinstall if necessary, but a cause and fix would be easier (and more importantly better for others who run into this).
https://www.concrete5.org/community/forums/themes/global-area-not-be...
in your .html if you see the global areas should look like this
$a = new GlobalArea('NAME');
$a->display();
not
$a = new GlobalArea('NAME');
$a->display($c);
*Im just referencing others who have had this issue (best of luck)
mysql error: [1054: Unknown column 'Blocks.btCachedBlockRecord' in 'field list'] in EXECUTE("select CollectionVersionBlocks.isOriginal, Blocks.btCachedBlockRecord, BlockTypes.pkgID, CollectionVersionBlocks.cbOverrideAreaPermissions, CollectionVersionBlocks.cbDisplayOrder, Blocks.bIsActive, Blocks.bID, Blocks.btID, bName, bDateAdded, bDateModified, bFilename, btHandle, Blocks.uID from CollectionVersionBlocks inner join Blocks on (CollectionVersionBlocks.bID = Blocks.bID) inner join BlockTypes on (Blocks.btID = BlockTypes.btID) where CollectionVersionBlocks.arHandle = 'Main' and CollectionVersionBlocks.cID = '1' and (CollectionVersionBlocks.cvID = '266' or CollectionVersionBlocks.cbIncludeAll=1) and CollectionVersionBlocks.bID = '735'")
I did notice the version was wrong and I did get a warning! I guess I should have stopped there!
My SQL backup didn't work! Probably because the version was the same as the last one and it overwrote my files ... just guessing! I was able to restore from the server backups so I'm okay. But this all needs to be fixed before I will try again. :-)