• 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

    (@digitsoft)

    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

    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

    (@digitsoft)

    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

    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 7 years, 8 months ago by MelanieN1K.
    Thread Starter Digitsoft

    (@digitsoft)

    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.