PHP Fatal error: Uncaught Error: Call to undefined function cornerstone

Hi I am having an error on my site. When I click “Customize” it says theres an error. I contacted my hosting and they say I have a theme error, this is what it is saying:

[07-Jan-2023 07:40:00 UTC] PHP Fatal error: Uncaught Error: Call to undefined function cornerstone() in /home/wrciszr/public_html/wp-content/themes/x/framework/legacy/functions/admin/customizer.php:36
Stack trace:
#0 /home/wrciszr/public_html/wp-includes/class-wp-hook.php(308): x_customizer_manage_theme_options_button(’’)
#1 /home/wrciszr/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
#2 /home/wrciszr/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#3 /home/wrciszr/public_html/wp-admin/customize.php(174): do_action(‘customize_contr…’)
#4 {main} thrown in /home/wrciszr/public_html/wp-content/themes/x/framework/legacy/functions/admin/customizer.php on line 36

I have updated both theme and cornerstone. Not sure which was first though. I have cleared cache too.

I believe I fixed it, I had 2 cornerstone plugins downloaded? An older version was activated, I deactivated and activated the new one!

Hello @jamiepen97,

Glad that you were able to fix your issue by yourself. Please feel free to reach us if you have any more concerns.

Thanks

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