Title: Critical Error
Last modified: March 26, 2021

---

# Critical Error

 *  [kristy1888](https://wordpress.org/support/users/kristy1888/)
 * (@kristy1888)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/critical-error-174/)
 * Hi there,
 * I have a website that is coming up with a critical error and I can’t log on. 
   I have tried disabling the plugins and the theme and have manually updated wordpress
   but it is still not working. I have since found the following error but I am 
   unsure how I should fix this – can anyone help? Fairly new to all this and still
   learning!
 * PHP Fatal error: Uncaught Error: Call to undefined function wp_unregister_GLOBALS()
   in /home/domains/vol2/039/3255039/user/htdocs/wp-settings.php:61
 * Many thanks

Viewing 15 replies - 1 through 15 (of 19 total)

1 [2](https://wordpress.org/support/topic/critical-error-174/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/critical-error-174/page/2/?output_format=md)

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [5 years, 1 month ago](https://wordpress.org/support/topic/critical-error-174/#post-14239244)
 * It may be that you are missing one or more WP files. Please try step #1 here:
   [https://wordpress.org/support/article/updating-wordpress/#manual-update](https://wordpress.org/support/article/updating-wordpress/#manual-update)
 *  Thread Starter [kristy1888](https://wordpress.org/support/users/kristy1888/)
 * (@kristy1888)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/critical-error-174/#post-14239321)
 * Hi there, I have already tried this but still isn’t working.
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [5 years, 1 month ago](https://wordpress.org/support/topic/critical-error-174/#post-14239332)
 * Please try again after deleting all PHP files in the site’s root (except wp-config.
   php) and the directories wp-admin and wp-includes.
 *  Thread Starter [kristy1888](https://wordpress.org/support/users/kristy1888/)
 * (@kristy1888)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/critical-error-174/#post-14239352)
 * Ok, I’ve done that and now when I go to the website, it gives this:
 * Parse error: syntax error, unexpected ”Failed <spa’ (T_ENCAPSED_AND_WHITESPACE)
   in /home/domains/vol2/039/3255039/user/htdocs/wp-includes/post.php on line 457
 * Notice: is_embed was called incorrectly. Conditional query tags do not work before
   the query is run. Before then, they always return false. Please see Debugging
   in WordPress for more information. (This message was added in version 3.1.0.)
   in /home/domains/vol2/039/3255039/user/htdocs/wp-includes/functions.php on line
   5313
 * Notice: is_search was called incorrectly. Conditional query tags do not work 
   before the query is run. Before then, they always return false. Please see Debugging
   in WordPress for more information. (This message was added in version 3.1.0.)
   in /home/domains/vol2/039/3255039/user/htdocs/wp-includes/functions.php on line
   5313
    There has been a critical error on this website.
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [5 years, 1 month ago](https://wordpress.org/support/topic/critical-error-174/#post-14239361)
 * What version of PHP are you using?
 *  Thread Starter [kristy1888](https://wordpress.org/support/users/kristy1888/)
 * (@kristy1888)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/critical-error-174/#post-14239365)
 * 7.4
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [5 years, 1 month ago](https://wordpress.org/support/topic/critical-error-174/#post-14239368)
 * It seems you have a “coming soon” plugin active, too. Please disable that.
 *  Thread Starter [kristy1888](https://wordpress.org/support/users/kristy1888/)
 * (@kristy1888)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/critical-error-174/#post-14239388)
 * It isn’t showing in my FTP anymore as I deactivated a while back? Where else 
   could it be?
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [5 years, 1 month ago](https://wordpress.org/support/topic/critical-error-174/#post-14239408)
 * anything in wp-content/mu-plugins?
 *  Thread Starter [kristy1888](https://wordpress.org/support/users/kristy1888/)
 * (@kristy1888)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/critical-error-174/#post-14239420)
 * nope, nothing!
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [5 years, 1 month ago](https://wordpress.org/support/topic/critical-error-174/#post-14239461)
 * We are talking about the URL in your profile, right? If not, please provide a
   link to the site in question.
 *  Thread Starter [kristy1888](https://wordpress.org/support/users/kristy1888/)
 * (@kristy1888)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/critical-error-174/#post-14239504)
 * Apologies, I thought it was in the code, my mistake.
 * The website is wooliesdumfries.co.uk
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [5 years, 1 month ago](https://wordpress.org/support/topic/critical-error-174/#post-14239542)
 * It still looks like there are corrupt files. How are you uploading the new/replacement
   wp files?
 *  Thread Starter [kristy1888](https://wordpress.org/support/users/kristy1888/)
 * (@kristy1888)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/critical-error-174/#post-14239550)
 * Through FTP – I downloaded from the wordpress website and then uploaded to my
   FTP. Was this correct?
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [5 years, 1 month ago](https://wordpress.org/support/topic/critical-error-174/#post-14239591)
 * Yes, it should be, but `Parse error: syntax error, unexpected ”Failed <spa’ (
   T_ENCAPSED_AND_WHITESPACE)` says it’s corrupt.
 * I know you’ve done this several times, but have you downloaded afresh from wp.
   org each time?

Viewing 15 replies - 1 through 15 (of 19 total)

1 [2](https://wordpress.org/support/topic/critical-error-174/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/critical-error-174/page/2/?output_format=md)

The topic ‘Critical Error’ is closed to new replies.

## Tags

 * [critical error](https://wordpress.org/support/topic-tag/critical-error/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 19 replies
 * 3 participants
 * Last reply from: [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/critical-error-174/page/2/#post-14239962)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
