Update to 5.6.2.1 causing issue with Stacks/Global Areas

Permalink
I have just updated a site I am currently developing from 5.5.2.1 to 5.6.0.2 manually and then to 5.6.2.1 using the dashboard "Upgrade concrete5" facility. I am using a global area in the masthead of the site to allow the client to update their logo in the future if need be:

$a = new GlobalArea('headerLogo'); $a->display($c);


In 5.6.0.2 I could edit this in edit page mode and changes would be visible across the site. I could also view the Global Area in the Stacks section of the Dashboard. Since updating to 5.6.2.1 the global area content no longer appears in the site.

When I try to add a new block to the global area the add block window appears with the spinner but no block types show. I can add blocks to normal editable areas no problem. The Stack page itself also appears to be broken and only displays an unstyled page with no stacks listed and no concrete5 toolbar.

All very odd and any suggestions would be gratefully received!

Thanks
Paul

 
phowie74 replied on at Permalink Reply
I have also just noticed that the error is different when signed out. Whilst I can browse and update the site when logged in, once signed out the site throws the error
Fatal error: Call to a member function overrideCollectionPermissions() on a non-object…

when it comes to the global area which prevents the rest of the page loading.

Thanks
Paul
phowie74 replied on at Permalink Best Answer Reply
Just in case anyone else is having a similar issue here is how I resolved it.

It seems any existing global areas were corrupted during the update process.

I updated the references to these global areas in my templates so they all had updated names. This re-created the global areas for me to work with and add my content afresh.

I can see it is possible to remove the old global areas references from the database if necessary but I am not sure if it would be possible to remove the stacks of content themselves now they are no longer available through the website?