Title: PHP Fatal error:  Call to undefined function wp_normalize_path()
Last modified: August 22, 2016

---

# PHP Fatal error: Call to undefined function wp_normalize_path()

 *  Resolved [Aleksandar Urošević](https://wordpress.org/support/users/urkekg/)
 * (@urkekg)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/php-fatal-error-call-to-undefined-function-wp_normalize_path/)
 * Please change minimal WordPress version required, because wp_normalize_path()
   function used in lib/wpUtils.php does not exist in WP pre 3.9 (used in latest
   WordFence Security 5.3.7).
 * Cheers,
    Urke
 * [https://wordpress.org/plugins/wordfence/](https://wordpress.org/plugins/wordfence/)

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

 *  [WFSupport](https://wordpress.org/support/users/wfsupport/)
 * (@wfsupport)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/php-fatal-error-call-to-undefined-function-wp_normalize_path/#post-5920854)
 * Working on this now with the dev team.
 * tim
 *  [kanenas](https://wordpress.org/support/users/kanenas/)
 * (@kanenas)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/php-fatal-error-call-to-undefined-function-wp_normalize_path/#post-5920902)
 * **[@wfsupport](https://wordpress.org/support/users/wfsupport/)**, same here with
   WordPress v.3.8.1
 *  [Bravo315](https://wordpress.org/support/users/bravo315/)
 * (@bravo315)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/php-fatal-error-call-to-undefined-function-wp_normalize_path/#post-5920916)
 * Can confirm the same issue on 3.5.1. No pressure from here since WF has served
   us so well over the past and WF newsletters have tipped us off on how to stay
   secure in a scenario like this!
 * > Fatal error: Call to undefined function wp_normalize_path() in /home/outofthe/
   > public_html/wp-content/plugins/wordfence/lib/wfUtils.php on line 106 on line
   > 106
 * Cheers,
    Jack.
 *  [WFSupport](https://wordpress.org/support/users/wfsupport/)
 * (@wfsupport)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/php-fatal-error-call-to-undefined-function-wp_normalize_path/#post-5920918)
 * Got it. If you are affected by this revert your WF version to 5.3.6, available
   here:
    [https://wordpress.org/plugins/wordfence/developers/](https://wordpress.org/plugins/wordfence/developers/)
 * tim
 *  [AngeloLazzari](https://wordpress.org/support/users/angelolazzari/)
 * (@angelolazzari)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/php-fatal-error-call-to-undefined-function-wp_normalize_path/#post-5920938)
 * i cannot enter in the plugin menu, so i deleted the wordfence dir but the problem
   is still there….what can i do?
 *  [AngeloLazzari](https://wordpress.org/support/users/angelolazzari/)
 * (@angelolazzari)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/php-fatal-error-call-to-undefined-function-wp_normalize_path/#post-5920941)
 * Hi, already solved, i cleaned the browser cache… sorry. bye!
    Angelo
 *  [WFSupport](https://wordpress.org/support/users/wfsupport/)
 * (@wfsupport)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/php-fatal-error-call-to-undefined-function-wp_normalize_path/#post-5920944)
 * [@all](https://wordpress.org/support/users/all/)
 * We just released a new version to address this. Please update and let me know
   if this fixes your issue.
 * tim
 *  Thread Starter [Aleksandar Urošević](https://wordpress.org/support/users/urkekg/)
 * (@urkekg)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/php-fatal-error-call-to-undefined-function-wp_normalize_path/#post-5920962)
 * Thanks! Solved 🙂
 *  [kanenas](https://wordpress.org/support/users/kanenas/)
 * (@kanenas)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/php-fatal-error-call-to-undefined-function-wp_normalize_path/#post-5920979)
 * **[@tim](https://wordpress.org/support/users/tim/)**, I am sorry to bother you
   again but here [https://wordpress.org/plugins/wordfence/](https://wordpress.org/plugins/wordfence/)
   says “_Requires: 3.9 or higher_“, so in my WordPress installation which is **
   v.3.8.1**, I can’t update through WordPress Dashboard!
 * So if as it says here [https://wordpress.org/plugins/wordfence/changelog/](https://wordpress.org/plugins/wordfence/changelog/)
 * > **5.3.8**
   >  Customers running WP versions older than 3.9 don’t support wp_normalize_path().
   > Added support for older WP versions to fix an error being thrown.
 * support has been added for WP versions older than 3.9 why is it required?
 * Thank you for your time.
 * **P.S**
    I know that running on a WordPress installation that is not up to date
   is not a good practice, but that is another story to tell 🙂
 *  [AngeloLazzari](https://wordpress.org/support/users/angelolazzari/)
 * (@angelolazzari)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/php-fatal-error-call-to-undefined-function-wp_normalize_path/#post-5920993)
 * Yep! Solved in 5.3.8.
 * **Thank you very much guys!**
    Angelo
 *  [WFSupport](https://wordpress.org/support/users/wfsupport/)
 * (@wfsupport)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/php-fatal-error-call-to-undefined-function-wp_normalize_path/#post-5920997)
 * [@kanenas](https://wordpress.org/support/users/kanenas/). That is correct. We
   changed the compatabliltiy requirements to say that, however we patched the plugin
   to work with the older version of WordPress because we know that it affected 
   some of our users. Going forward we are requiring 3.9 and above. You still should
   be able to use this version even though it now says that as others seem to have
   no trouble. If you do, then add the plugin via FTP to update it.
 * thanks all
 * Tim
 *  [jepsonrae](https://wordpress.org/support/users/jepsonrae/)
 * (@jepsonrae)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/php-fatal-error-call-to-undefined-function-wp_normalize_path/#post-5921112)
 * Wow, kick in the teeth for auto-updates!
 * I’ve just had an irate client on the phone who has only just realised that his
   site has been offline for two weeks because of this. Please can you put a check
   for the WordPress version in your plugin so that the auto-update routine stops
   when the minimum compatibility level of Wordfence goes beyond the version of 
   WordPress that it’s updating itself of – and perhaps fire off an email to the
   notifications address to state this.
 * I’m now having to go through 30 other client’s websites to check that they haven’t
   gone down too.

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

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

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

 * 12 replies
 * 6 participants
 * Last reply from: [jepsonrae](https://wordpress.org/support/users/jepsonrae/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/php-fatal-error-call-to-undefined-function-wp_normalize_path/#post-5921112)
 * Status: resolved