Site is down with this error

I have enabled debug mode for the domain, and found the following error log --------------- Fatal error: Uncaught Error: Call to undefined function cornerstone_register_static_style() in /home/riley/public_html/wp-content/themes/x/framework/legacy/functions/frontend/styles.php:93 Stack trace: #0 /home/riley/public_html/wp-includes/class-wp-hook.php(308): x_output_generated_styles(’’) #1 /home/riley/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #2 /home/riley/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #3 /home/riley/public_html/wp-includes/script-loader.php(2180): do_action(‘wp_enqueue_scri…’) #4 /home/riley/public_html/wp-includes/class-wp-hook.php(308): wp_enqueue_scripts(’’) #5 /home/riley/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #6 /home/riley/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #7 /home/riley/public_html/wp-includes/general-template.php(3043): do_action(‘wp_head’) #8 /home/riley/public_html/wp-content/themes/x/framework/legacy/cranium/headers/views/global/_header.php(15): in /home/riley/public_html/wp-content/themes/x/framework/legacy/functions/frontend/styles.php on line 93

any idea what this could be and how to fix?

Hi @itsbobross,

Thanks for reaching out.
It might be due to an improper update of the Cornerstone. I would suggest you updated the Cornerstone by following the below steps.

  1. Delete the existing Cornerstone.
  2. After deleting, use the link in the dashboard to automatically install the Cornerstone. It will be the latest version.

If that does not help, there might be some different reasons behind your issue. I would like to suggest troubleshooting the following common issue to help us to recognize the reason.

  1. Theme Related Issue
  2. Plugin Conflict
  3. Theme Update related issue
  4. CSS/JS Customization
  5. Disabling Cache
  6. Disabling CDN

If you discover that an issue is coming from a custom code or 3rd party plugin, kindly consult with a developer or contact the plugin author. Please note that we do not provide support for custom codes and 3rd party plugins.
If none of the above helps, please provide login credentials for your site in a secure note to examine it further, including:

– WordPress Site URL & Login URL
– WordPress Admin username/password

To create a secure note, click the key icon underneath any of your posts.

Thanks

worked, all set thank you!

Hi @itsbobross,

Glad that we are able to help you.

Thanks

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