• After updating to the latest version of WordPress, an error occurs:

    Fatal error: Uncaught Error: Call to undefined function wp_remove_surrounding_empty_script_tags() in /home/sg5uqp0s3ywv/public_html/wp-includes/theme.php:3807 Stack trace: #0 /home/sg5uqp0s3ywv/public_html/wp-admin/admin-header.php(253): wp_customize_support_script() #1 /home/sg5uqp0s3ywv/public_html/wp-admin/index.php(137): require_once(‘/home/sg5uqp0s3…’) #2 {main} thrown in /home/sg5uqp0s3ywv/public_html/wp-includes/theme.php on line 3807 There has been a critical error on this website. Please check your site admin email inbox for instructions.”

    I disabled themes, but the same error persists. I changed names, etc. I can’t access the WordPress dashboard. Thank you for your help.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • wp_remove_surrounding_empty_script_tags exists in WP core, since this function is missing (undefined), you will have to reinstall WP.

    You’ll need to start by reviewing the server error logs (depending on your nature of hosting). Here’s a great tutorial to help you start this off.

    Turn on debugging via the wp-config file define(‘WP_DEBUG’, true); This will probably indicate the errors you’re facing.

    One point to note: ALWAYS backup your site before performing any major updates or adjustments.

    Hope that helps!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘After WordPress Update, Critical Error’ is closed to new replies.