Unable to edit via Cornerstone - Critical Error

Hi there,

I was wondering if you could help me? I have a website I have made for a client, and when we click on ‘edit with Cornerstone’ on any page, the website throws a critical error. I have updated to most recent theme update, as well as plugins. Problem persists.

The website is www.ucsactive.org.uk

Please also see below for the error log

Any idea what might be causing this?

ucsactive.org.uk [Wed Apr 01 09:16:01 2026] [error] [client 82.19.237.48:0] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught TypeError: array_filter(): Argument #1 ($array) must be of type array, null given in /home/sites/7a/5/57de87facb/public_html/wp-content/themes/pro/cornerstone/includes/classes/Services/RemoteAssets.php:188\nStack trace:\n#0 /home/sites/7a/5/57de87facb/public_html/wp-content/themes/pro/cornerstone/includes/classes/Services/RemoteAssets.php(188): array_filter(NULL, Object(Closure))\n#1 /home/sites/7a/5/57de87facb/public_html/wp-content/themes/pro/cornerstone/includes/classes/Services/RemoteAssets.php(235): Themeco\Cornerstone\Services\RemoteAssets->getLegacySites()\n#2 /home/sites/7a/5/57de87facb/public_html/wp-content/themes/pro/cornerstone/includes/classes/Services/RemoteAssets.php(156): Themeco\Cornerstone\Services\RemoteAssets->getLegacySitesCached()\n#3 /home/sites/7a/5/57de87facb/public_html/wp-content/themes/pro/cornerstone/includes/classes/Services/App.php(286): Themeco\Cornerstone\Services\RemoteAssets->getAppData()\n#4 /home/sites/7a/5/57de87facb/public_ht…’

I’m also a developer and we’re experiencing this on all of our websites this morning. We can’t log into Cornerstone because of a critical error.

Our sites are hosted with WPEngine, so we’re in touch with them to see if it’s a hosting error, but it certainly sounds widespread.

I am having the same issue. Has there been a resolution for this posted yet?

Yep. Same boat

ours are on wpengine as well

When I try to edit with cornerstone I get this error: There has been a critical error on this website.

Learn more about troubleshooting WordPress.

I can confirm this is also happening on several other sites I need to edit today for clients. Please advise.

Same on all our sites as well. Please, please please fix it soon. Starting to get some angry customer calls now.

Me too, all my websites are getting the same message… need urgent solution…

Same here on all our websites.

Panic mode ON!

Same here on my sites

Same for us!

Same here! We need a patch real quick :slight_smile:

Found this solution on the FB-page. It worked.


$items = json_decode( wp_remote_retrieve_body( $request ), true );

$items = array_filter( $items, function( $item ) {

Add a null check between those two lines:

$items = json_decode( wp_remote_retrieve_body( $request ), true );

if (!is_array($items)) return [];

$items = array_filter( $items, function( $item ) {

1 Like

Same here!

Use this as a temp fix

1 Like

I can confirm this fix has worked for me too. I’m surprised Theme Co have’t weighed in on this after 3 hours? Not even a quick message to say they are aware of the issue and are trying to resolve it?

Experiencing the same issue here! ThemCo - get on it please!

We’ve fixed the issue with our demo server and will be taking actions for this to never happen again. Have a great day.