Cornerstone showing critical error on all sites

Hi

Cornerstone has just started showing a critical error when I try to go into it regardless of version running. I’ve checked on a bunch of our sites and getting the same error.

Something to do with licenses maybe? I’d added the theme to a new wordpress install but not yet activated the license and I can run cornerstone fine.

It’s looking like it’s just the sites that we are using cloudflare for. I’ll get onto them about it.

Okay. Done a bit of further checking, and there’s sites that aren’t on cloudflare that are experiencing the same issue.

Just checked i have critical error on all my websites too when i go on backend cornerstone…

Any news on this? Cornerstone still isn’t working on all my sites except for on one domain for some reason. Different versions of Pro installed, different versions of wordpress.

@sarammog in my case it works with 6.7.13, but it doesnt work with 6.8.5

I have one domain (all our sites are on the same server) that we use for site development and cornerstone is working for all wordpress installs on that domain (all 6.8.5). Every other domain, it’s not working. A mix of versions across the sites.

if you need to work on the websites to dont have Critical error you go in !
Screenshot 2026-04-20 at 14.53.30|690x31

and comment this function:

/*
  public function getLegacySites() {
    $env = $this->env->envData();
    if ( ! isset( $env['templates'] ) || empty( $env['templates']['legacyUrl'] ) ) {
      return [];
    }

    $request = wp_remote_get( $env['templates']['legacyUrl'] . '/index' );

    if ( is_wp_error( $request ) ) {
      return [];
    }

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

      if ( ! is_array( $items ) ) {
        $items = [];
      }

      $items = array_filter( $items, function( $item ) {
        if ( ! $this->validLegacyType($item) ) return false;

        if (empty ($item['status'])) return false;
        if ( $item['status'] !== 'publish' ) return false;
        return true;
      } );

      return array_values( array_map( function($item) use ($env) {
        $type = $item['asset_type'][0];

        $remapped = [
          'id' => 'legacy:' . $item['id'],
          'title' => $item['title'],
          'type' => $type,
          'groupKey' => $type,
          'preview' => $item['thumbnail_url'],
          'demo_url' => $item['demo_url'],
          'isRemote' => true,
          'legacyInstallUrl' => $env['templates']['legacyUrl'] . '/asset/' . $item['id']
        ];

        // Preset remap
        if ($type === 'preset') {
          $remapped['type'] = 'pack';
          $remapped['subType'] = '__multi__';
          $remapped['groupKey'] = 'pack';

          $remapped['id'] = 'cs-pack:' . $remapped['legacyInstallUrl'];
        }


        if ( isset( $item['pro_only'] ) && $item['pro_only'] ) {
          $remapped['gate'] = 'pro';
        }
        return $remapped;
      }, $items ) );
    } catch( \Exception $e) {
      return [];
    }
  }
*/

and add this

public function getLegacySites() {
  return [];
}

and it should work again.

my main issue is that i cannot activate a new Pro Theme

I’ve got a work around. Seems to be working on 6.8.5. The update option for the theme has disappeared on all the sites so I downloaded a zip and installed it and cornerstone is working okay.

what provider are you using?
@sarammog

(post withdrawn by author, will be automatically deleted in 24 hours unless flagged)

Hi. It’s been 24hrs now. Is this being addressed?

I can get cornerstone working by uploading a 6.8.5 zip (theme updates aren’t available still in the dashboard) but I can them no longer download pro extensions. I just get ‘Error Encountered’ and the details say ’ Download failed. Forbidden’.

Try again today. Maybe we fixed it.

Cornerstone appears to be working again. I still can’t install extensions but the error messages is different now.