Error after update - Site is broken

Hello, my client updated the theme today and some of the pages have broken.

The errors we get are:

Uncaught Error: Call to a member function theme_integration() on bool in /wp-content/plugins/cornerstone/includes/utility/api.php:34]
/wp-content/themes/x/framework/functions/plugins/cornerstone.php(175): cornerstone_theme_integration(Array)
/wp-content/themes/x/framework/functions/plugins/setup.php(46): require_once(’/var/www/vhosts…’)
/wp-content/themes/x/functions.php(185): require_once(’/var/www/vhosts…’)
/wp-content/themes/x/functions.php(128): X_Bootstrap->boot_context(‘preinit’)
/wp-content/themes/x/functions.php(213): X_Bootstrap->boot()

Wordpress version: 5.6
Theme: X: 8.0.8
Cornerstone: 5.0.8

Hi @sk4r,

That function no longer exists in the latest version so I wonder if something happened during the update process. Could you please try deleting Cornerstone? X will show you a prompt to reinstall it in your dashboard and that will be the latest version again.

Hello Alexander,

I got a notification for newer versions of the theme & cornerstone. After updating to v.8.0.9 & v.5.0.9 respectively, the problem is solved and the pages are back up.

Thank you

Hi Stratos,

We’re glad that the issue is solved by updating x theme and cornerstone to the latest version. If you have any other concerns regarding our theme features, feel free to reach us.

Thank you.

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