Help with error message

Hello guys!

I hope you are well.

I have changed all my posts and pages (almost) from Cornerstone to Guttenberg and eliminated the header to make the site run faster. I have also deleted all the global blocks but I am still seeing this message “unable to locate global block”

can you please help me to eliminate that?
Here is the link to a post but I am seeing it in every post

(see screen shot)

Thanks a lot for your help
cheers
Isabella

Hi Isabella,

Thanks for writing in! You are having this issue in your child theme’s functions.php file, you have added this custom PHP code:

// =============================================================================
function my_custom_content() {
	if ( is_single() ) {
		echo do_shortcode('[cs_gb id=13623]');
	}
}

add_action( 'x_after_view_global__slider-below', 'my_custom_content' );

Please have this code remove as well.

Regards.

1 Like

Awesome ! Thank you so much! :slight_smile:

Cheers
Isabella

You are most welcome Isabella.

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