My website Crashed

I cant figure out the main cause but i know its xtheme related…
The website is fireislandnews.com Its just the homepage that seems to be effected.

Fatal error : Uncaught Error: Call to undefined function cs_get_raw_excerpt() in /var/www/wp-content/themes/pro-child/functions.php:98 Stack trace: #0 /var/www/wp-includes/shortcodes.php(343): x_shortcode_recent_posts_v2code(Array, ‘’, ‘x_recent_posts’) #1 [internal function]: do_shortcode_tag(Array) #2 /var/www/wp-includes/shortcodes.php(218): preg_replace_callback(’/\[(\[?)(x_rece…’, ‘do_shortcode_ta…’, ‘\n[x_recent_post…’) #3 /var/www/wp-includes/class-wp-hook.php(287): do_shortcode(’\n[x_recent_post…’) #4 /var/www/wp-includes/plugin.php(212): WP_Hook->apply_filters(’\n[x_recent_post…’, Array) #5 /var/www/wp-content/themes/pro/cornerstone/includes/classes/dynamic-content/class-dynamic-content.php(113): apply_filters(‘cs_dynamic_cont…’, ‘\n[x_recent_post…’) #6 /var/www/wp-includes/class-wp-hook.php(287): Cornerstone_Dynamic_Content->expand_string(’\n[x_recent_post…’) #7 /var/www/wp-includes/plugin.php(212): WP_Hook->apply_filters(’\n[x_recent_post…’, Array) #8 /var/www/wp-content/themes/pro/cornerston in /var/www/wp-content/themes/pro-child/functions.php on line 98

Hey @fatcatgraphics,

The cs_get_raw_excerpt is now deprecated and that’s used by a custom function in your child theme. Please delete the code block that uses that function.

I believe you using a Recent Post custom code. I’d recommend you replace it with the new Posts element. You can learn how to set that up from this video tutorial https://www.youtube.com/watch?v=cMnCiVV3zCA&t=706s

Hope that helps.

Ahhh thank you!

You are most welcome.

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