• Resolved lackadaize

    (@lackadaize)


    I have been using Wordfence on a large site since the beginning of the year but it has had many problems from the last two updates. It has slowed my site to a halt and was unable to finish scans no matter what I tried with the settings.

    I have deactivated the plugin and the site runs much smoother and faster now. The problem now is that when I attempt to activate the plugin I get “Plugin could not be activated because it triggered a fatal error.” For some reason I just tried it again and it’s not giving me the full error but I remember it being something similar to: “Fatal error: Out of memory (allocated 27262976) (tried to allocate 4403798 bytes) in ../wp-includes/functions.php”

    The memory allocation is much higher on my server so I know it’s not about that. My install allows for 512MB and that should be more than enough to run the plugin.

    I love wordfence but need to remove it from this particular site at this time. Can you please tell me how I can find a way to remove the plugin completely from the database? I have no problem removing the actual ftp site files.

    I have also seen the dicussion at https://ww.wp.xz.cn/support/topic/getting-a-fatal-error-message-on-activation-of-plug-in for reference, although it involves a different file/directory. Any help you can offer is greatly appreciated. Thank you for your time.

    https://ww.wp.xz.cn/plugins/wordfence/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author WFMattR

    (@wfmattr)

    You can temporarily install the plugin “Wordfence Assistant” to remove your Wordfence data, without activating Wordfence itself:
    https://ww.wp.xz.cn/plugins/wordfence-assistant/

    Just install it and click “WF Assistant” on your admin menu, then click the button “Delete all Wordfence Data and Tables”.

    (The memory error that you mentioned in your post above is directly from PHP, which might mean that there is more than one php.ini file on your site, with a much lower memory limit than you should have, or 512MB is your site’s total allowance, but PHP is just set to use less. You or the hosting company may need to search for other php.ini files, or run “phpinfo()” to see which .ini files are being loaded, and adjust the memory_limit as needed. You may run into the same limit with other plugins as well.)

    Thread Starter lackadaize

    (@lackadaize)

    thank you. i’ll give it a go with that plugin.

    I have looked for a second php.ini and don’t see one. I have done a number of things with my database over the last few days and found that there was a lot of unnecessary data in the wp_option table, much of it related to commerce and left over cron jobs from old plugins. I’m going to delete the wordfence tables and then attempt to re-install the plugin to see if the problem was due to a bloated database. If not I’ll have to move to something else. I’ll let you know if I need any more help with anything. Thank you much for your time.

    Plugin Author WFMattR

    (@wfmattr)

    Ok, sounds good.

    If you do get it running, look near the bottom of the Options page for a link that says “Click to view your system’s configuration in a new window” — when you click that, there should be a lot of system information, including a “memory_limit” line in the “Core” section, that shows what it is currently set to, and you can also find a few different lists of .ini files that are being loaded, near the top of the page. Hope this helps!

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

The topic ‘How to remove plugin database entries/ other problems.’ is closed to new replies.