Cornerstone stopped working after update of theme X

I’ve just updated to the latest theme X (7.1.2) and Cornerstone (4.1.2) versions and suddenly I was unable to edit pages and open Theme options in Cornerstone, so it seems like Cornerstone doesn’t work at all.

In Google Chrome, the console gives the following error message “Uncaught TypeError: Cannot read property ‘elements’ of undefined” and the error happens in this file cs-vendor.fa34ec9.js on line 1897.

In Firefox, the Cornerstone edit page actually renders but a warning of unreachable code in the cs-vendor.fa34ec9.js is printed out in the console

In my search for an solution, I’ve tried the following steps:

  • Disabled all other plugins
  • Deleted both server- and client side cache
  • Removed custom js and css
  • Reset the htaccess file by renaming it to .htaccess-bak and saved changes
  • Added the following to wp-config.php:
    define( ‘WP_MEMORY_LIMIT’, ‘256M’ );
    define( ‘WP_MAX_MEMORY_LIMIT’, ‘512M’ );

The error still persists despite these different efforts. The only way to get rid of the error is to return back to the old version of X (6.5.5) and cornerstone (3.5.4).

How can I fix this issue?

Hello @peoplenet,

Thanks for writing in!

Please go to X > Status and check your server settings. Make sure that you are using WordPress 5.3.2 and PHP 7.3. At least your server settings meet the requirement to run the latest WordPress, Theme and plugins. You may check this out:

If nothing is helping, provide us access to your site so that we can check your settings. Please create a secure note with the following info:
– Link to your site
– WordPress Admin username / password

To know how to create a secure note, please check this out: https://theme.co/apex/forum/t/how-to-get-support/288

Regards.

I’ve added a secure note

Hey @peoplenet,

I logged in to your site and Cornerstone is working. Please see the screenshot in the Secure Note.

Thanks.

Hi Christian

The issue was my Chrome version, thanks for the reply.

Glad you figure things out,

Cheers!

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