Title: PHP Fatal error: wfWAFWordPress::runCron()
Last modified: November 26, 2016

---

# PHP Fatal error: wfWAFWordPress::runCron()

 *  [Digitsoft](https://wordpress.org/support/users/digitsoft/)
 * (@digitsoft)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/php-fatal-error-wfwafwordpressruncron/)
 * The latest update rendered my site completely dead, so I had to manually delete
   the plugin and all “wf” database tables.
 * I then tried installing it again, but it just kills the site.
 * I even tried copying the new htaccess rules from another working site to this
   broken site, but no luck. I verified the user.ini file exists.
 * LMK if you have any ideas and I’ll try them.
 * Thanks for the plugin and hope everyone had a great Thanksgiving!
 * Rob
 * Here’s the exact error from the log (I replaced my account name with {site}:
   [
   26-Nov-2016 16:29:11 UTC] PHP Fatal error: wfWAFWordPress::runCron(): The script
   tried to execute a method or access a property of an incomplete object. Please
   ensure that the class definition "wfWAFCronFetchIPListEvent" of the object you
   are trying to operate on was loaded _before_ unserialize() gets called or provide
   a __autoload() function to load the class definition in /home/{site}/public_html/
   wp-content/plugins/wordfence/waf/bootstrap.php on line 133

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

 *  Thread Starter [Digitsoft](https://wordpress.org/support/users/digitsoft/)
 * (@digitsoft)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/php-fatal-error-wfwafwordpressruncron/#post-8484434)
 * For anyone viewing this – I eventually got the site working properly with WF 
   installed.
 * Here’s what I did:
    1. Removed the WF section from htaccess & deleted the user.
   ini file 2. Cleared opcache for the site 3. Deleted the WF plugin 4. Logged into
   the admin area 5. Reinstalled WF 6. Set the WF option to “remove all data & tables
   on deactivation” 7. Deactivated the plugin 8. Used phpmyadmin to clear a few 
   entries left in the options table **WF staff – these are what I found** 8938,‘
   wordfence_syncAttackDataAttempts’, ‘0’, ‘yes’ 8939, ‘wordfence_syncingAttackData’,‘
   0’, ‘yes’ 9. Reactivated the plugin 10. Configured the firewall
 *  [wfalaa](https://wordpress.org/support/users/wfalaa/)
 * (@wfalaa)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/php-fatal-error-wfwafwordpressruncron/#post-8498855)
 * Hi Rob,
    Thanks for sharing this with us and sorry for running into this trouble,
   I just want to make sure of something, do you have another WordPress installation-
   with an older version of Wordfence- in a higher directory than this site on the
   same server?
 * Thanks.
 *  Thread Starter [Digitsoft](https://wordpress.org/support/users/digitsoft/)
 * (@digitsoft)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/php-fatal-error-wfwafwordpressruncron/#post-8498980)
 * I’ve written enough code over 30 years to know that it’s impossible to account
   for every situation.
 * No other installations in this account – just one domain.
 * LMK if you want me to dig into it further for you.
 * Thanks!
 * Rob
 *  [MelanieN1K](https://wordpress.org/support/users/melanien1k/)
 * (@melanien1k)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/php-fatal-error-wfwafwordpressruncron/#post-8919255)
 * I have run into this today myself. My site is completely down. Is there something
   a bit easier I can do to fix this?
    -  This reply was modified 9 years, 3 months ago by [MelanieN1K](https://wordpress.org/support/users/melanien1k/).
 *  Thread Starter [Digitsoft](https://wordpress.org/support/users/digitsoft/)
 * (@digitsoft)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/php-fatal-error-wfwafwordpressruncron/#post-8919305)
 * You can try these steps, but if they don’t work or you’re not comfortable I can
   fix it today for a small fee.
 * 1. Remove the WF section from htaccess & delete the user.ini file (if it exists)
   
   2. Delete the WF plugin from wp-content/plugins 3. Log into the admin area 4.
   Reinstall WF 5. Set the WF option to “remove all data & tables on deactivation”
   6. Deactivate the plugin 7. Reactivate the plugin

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

The topic ‘PHP Fatal error: wfWAFWordPress::runCron()’ 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/)

## Tags

 * [PHP Fatal error](https://wordpress.org/support/topic-tag/php-fatal-error/)

 * 5 replies
 * 3 participants
 * Last reply from: [Digitsoft](https://wordpress.org/support/users/digitsoft/)
 * Last activity: [9 years, 3 months ago](https://wordpress.org/support/topic/php-fatal-error-wfwafwordpressruncron/#post-8919305)
 * Status: not resolved