Support » Plugin: Wordfence Security - Firewall & Malware Scan » Issues while installing Wordfence

  • Resolved nishwenith


    Today morning I tried to install wordfence through my website
    Suddenly it showed an error message and failed to activate the plugin. From that onward I could not log into my website and the wordpress dashboard. Pls log into to see the error message. But in the cpanel, in the plugins folder the wordfence folder is not there…pls help me to resolve this. I want to remove all the files related to wordfence from my site

Viewing 2 replies - 1 through 2 (of 2 total)
  • Warning: Invalid argument supplied for foreach() in /home/gwsite/public_html/wp-content/plugins/wordfence/wordfence.php on line 19

    Fatal error: Call to undefined function wp_get_current_user() in /home/gwsite/public_html/wp-includes/user.php on line 209

    Here is the error message

    Plugin Author WFMattR



    The error message in your last post shows that the Wordfence folder must still exist at:

    Removing the folder should deactivate the plugin so the site works normally again. If you can’t find it in cPanel, your host should be able to help.

    This error message can only be caused on old versions of WordPress — even if you don’t reinstall Wordfence, make sure to update WordPress in order to stay safe. Newer versions of WordPress may cause conflicts with the theme (or other plugins), so be sure to test the new version before running it on the live site — if a developer made the theme for you, you may want to check with them.

    -Matt R

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Issues while installing Wordfence’ is closed to new replies.