Help! Home shows an error and no longer loads. 'Call to a member function setBlockObject() on null'

Permalink
Hello, I was editing a container layout on the Home page, but when I was finished and clicked 'save' on the layout toolbar, something broke. I get the following error when trying to load the page:

An unexpected error occurred.
Call to a member function setBlockObject() on null

I tried approving an earlier version, deleting the version that broke it, changing page layouts, and clearing cache but nothing has worked so far.

Any ideas? Thanks in advance.

View Replies:
MrLambert replied on at Permalink Reply
Is there a way I can wipe all the data from my homepage and rebuild it? This error has crippled my website and made it unusable so I need to get it fixed ASAP.

Thanks!
AndyJ replied on at Permalink Reply
Hi,
what version of Concrete5 are you using?
If 5.7 are you able to turn debug on in the dashboard to get a better error message?
This should give more of a clue as to where the issue is.
MrLambert replied on at Permalink Reply
Using 5.7.5.4. It gives me the same error with debug on in addition to the current c5 config.

Whoops\Exception\ErrorException thrown with message "Call to a member function setBlockObject() on null"

Stacktrace:
#0 in /www/html/concrete/blocks/core_area_layout/controller.php:64

I also just tried to update to the newest version (5.7.5.6) and got another error 'Call to a member function getVersion() on null'- related maybe?