Critical website error AND cannot validate Themeco license/Cornerstone

Hello,

My website (alexbanfield.co.uk) crashed recently due to a “critical error”, and I thought it was because my PHP was outdated. I’ve updated it to PHP 7.2, updated plugins and updated the Themeco plugin, but when I leave recovery mode, the issue persists.

While in recovery mode it says I need to validate my license. (Perhaps this is always the case when in recovery mode?) It says the following:

Cornerstone is not validated . Place your Envato purchase code or Themeco license for instant access to automatic updates, support, and custom templates. [Learn more] about product validation or [manage licenses] directly in your Themeco account.

Then, when I input the license code it says:

This looks like a brand new purchase code that hasn’t been added to a Themeco account yet. Login to your existing account or register a new one to continue.
LOG IN OR REGISTER

When I click the LOG IN link, and then click YES to "Add the license to my account, and validate this site: " it takes me to the following page:

Uh oh!
SOMETHING WENT WRONG

If I deactivate the cornerstone plugin and
leave recovery mode, the same thing happens.

If this validation issue would rectify itself when not in recovery mode, then I am at a complete loss as to what to do next. Any help is greatly appreciated.

Thanks, Alex

The email wordpress sent me about the crash also said:

Next, visit the page where the error was caught (https://alexbanfield.co.uk/wp-admin/admin.php?page=cornerstone-home) and check for any visible issues.

Hi Alex,

Thanks for reaching out.
I have checked your website and found it showing the errors. That means there might be something that is the reason behind your issue. I would suggest you add the debug setup in the wp-config.php file to log the errors into the file name debug.log inside the wp-content folder.

// Enable WP_DEBUG mode
define( 'WP_DEBUG', true );

// Enable Debug logging to the /wp-content/debug.log file
define( 'WP_DEBUG_LOG', true );

// Disable display of errors and warnings 
define( 'WP_DEBUG_DISPLAY', false );
//SET PHP INI DISPLAY ERROR FALSE
@ini_set( 'display_errors', 0 );

Please find the video that will help you to edit wp-config.php and add the above code: https://www.youtube.com/watch?v=3SDPTafEM8o
You can let us know errors logged into debud.log if you find any error that is related to our theme or theme bundled plugins.

NOTE: I would suggest you update the PHP to its latest version or at least to 7.4 and check if that resolves your issue.

Thanks

Hi tristup. Thanks so much for your suggestions. The debug threw up the following (among several other issues):

[03-Nov-2021 18:09:32 UTC] PHP Parse error: syntax error, unexpected ‘)’ in /home/cluster-sites/1/a/alexbanfield.co.uk/public_html/wp-content/themes/x/framework/functions/x/migration.php on line 268

I’m working on the PHP right now and I’ll respond when it’s done.

Thanks,
Alex

Hi Alex,

Thanks for locating that error. I can confirm it’s a bug that we’ve already sorted out for the point release going live this afternoon. It only affects PHP versions older than 7.3, so if there’s a way to change versions that will help in the meantime.

Hello,

I am having the exact same issue, and my website is down because of the issue. Is the new release with the bug fix available?

Thanks,
K

Hi Alex,

A new release of updates is available, please update your theme to the latest version. It is also advisable to update your PHP version 7.4 or up.

Hope that helps.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.