Title: PHP errors after update
Last modified: April 4, 2022

---

# PHP errors after update

 *  Resolved [radialyr](https://wordpress.org/support/users/radialyr/)
 * (@radialyr)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/php-errors-after-update-5/)
 * I’m having these errors on my site after an update.
    Are these errors simply 
   a failed update? Can this can be solved by simply sFTPing and replacing the contents
   of the Wordfence directory with a freshly extracted one?
 * PHP Warning: include(/wfIPWhitelist.php): failed to open stream: No such file
   or directory in /wp-content/plugins/wordfence/waf/bootstrap.php on line 208
    
   PHP Notice: Undefined variable: wfIPWhitelist in /wp-content/plugins/wordfence/
   waf/bootstrap.php on line 209 PHP Warning: Invalid argument supplied for foreach()
   in /wp-content/plugins/wordfence/waf/bootstrap.php on line 211 PHP Warning: require_once(/
   wp-content/plugins/wordfence/models/page/wfPage.php): failed to open stream: 
   No such file or directory in /wp-content/plugins/wordfence/lib/wordfenceClass.
   php on line 29 PHP Fatal error: require_once(): Failed opening required /wp-content/
   plugins/wordfence/models/page/wfPage.php (include_path=’redacted’) in /wp-content/
   plugins/wordfence/lib/wordfenceClass.php on line 29

Viewing 1 replies (of 1 total)

 *  Thread Starter [radialyr](https://wordpress.org/support/users/radialyr/)
 * (@radialyr)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/php-errors-after-update-5/#post-15526137)
 * It seems to have worked.

Viewing 1 replies (of 1 total)

The topic ‘PHP errors after update’ 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/)

 * 1 reply
 * 1 participant
 * Last reply from: [radialyr](https://wordpress.org/support/users/radialyr/)
 * Last activity: [4 years, 2 months ago](https://wordpress.org/support/topic/php-errors-after-update-5/#post-15526137)
 * Status: resolved