Title: Fatal error: Call to undefined function wp_parse_str()
Last modified: August 24, 2016

---

# Fatal error: Call to undefined function wp_parse_str()

 *  [Antoniam](https://wordpress.org/support/users/antoniam/)
 * (@antoniam)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-wp_parse_str-1/)
 * My site euonym.eu is failing to display, showing the following message:
 * Fatal error: Call to undefined function wp_parse_str() in /home/euonymeu/public_html/
   wp/wp-includes/functions.php on line 2869
 * I looked at that section of the code, but it seems to correspond with what it
   should say according to [https://developer.wordpress.org/reference/functions/wp_parse_args/](https://developer.wordpress.org/reference/functions/wp_parse_args/)
 * I can access the dashboard via wordpress.com, but not posts etc.
 * Can anyone explain and help me get my site back online? I can’t remember which
   version of WP I am using, though I updated it several months ago (not recently)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-wp_parse_str-1/#post-6068300)
 * Try [manually resetting your plugins](https://codex.wordpress.org/FAQ_Troubleshooting#How_to_deactivate_all_plugins_when_not_able_to_access_the_administrative_menus.3F)(
   no Dashboard access required). If that resolves the issue, reactivate each one
   individually until you find the cause.
 * If that does not resolve the issue, access your server via [FTP or SFTP](https://codex.wordpress.org/FTP_Clients),
   navigate to `/wp-content/themes/` and rename the directory of your currently 
   active theme. This will force the default theme to activate and hopefully rule-
   out a theme-specific issue (theme functions can interfere like plugins).
 *  Thread Starter [Antoniam](https://wordpress.org/support/users/antoniam/)
 * (@antoniam)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-wp_parse_str-1/#post-6068373)
 * So I tried the manual resetting but nothing happened. So I did the second thing,
   and got a new error!
 * Fatal error: Call to undefined function wp_spaces_regexp() in /home/euonymeu/
   public_html/wp/wp-includes/functions.php on line 2823
 * Do I need to completely delete it and start again? I’m not sure where to find
   the posts so I can do that.
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-wp_parse_str-1/#post-6068377)
 * Huh, that shouldn’t have happened.
 * Try [downloading WordPress](https://wordpress.org/download/) again and delete
   then replace your copies of everything **except** the `wp-config.php` file and
   the `/wp-content/` directory with fresh copies from the download. This will effectively
   replace all of your core files without damaging your content and settings. Some
   uploaders tend to be unreliable when overwriting files, so don’t forget to delete
   the original files before replacing them.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Fatal error: Call to undefined function wp_parse_str()’ is closed to 
new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [James Huff](https://wordpress.org/support/users/macmanx/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-wp_parse_str-1/#post-6068377)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
