Support » Plugin: Sucuri Security - Auditing, Malware Scanner and Security Hardening » Sucuri plugin causing login page to break, forced to use recovery mode to access

  • We are receiving an email from WordPress to access our site in recovery mode and disable Sucuri plugin. The plugin worked without issue for a couple of months on this site and on the another there has not been an issue.

    The issue highlighted in the email is: An error of type E_ERROR was caused in line 431 of the file /public_html/wp-content/plugins/sucuri-scanner/src/fileinfo.lib.php. Error message: Allowed memory size of 41943040 bytes exhausted (tried to allocate 4194312 bytes). Not sure where to begin to resolve the issue since there is little information on where in the scanning process the memory size gets exhausted. The site had previous issues with bad actors, so we a cautious of ignoring file locations.

    Any insight or assistance is appreciated.

    Thanks in advanced,


Viewing 3 replies - 1 through 3 (of 3 total)
  • @salzheimertrc Are you able to share the domain name? It looks like this particular PHP function would be resource heavy as it is turns every line of text from files into arrays, so a large file (many thousands lines of code) could trigger the php.ini memory_limit.

    I’m guessing it was something within wp-content/plugins/ or wp-content/themes/ but would need more info to be more accurate.

    I am having this problem also.

    I also have this issue on 2 websites.
    The reason is a heavy memory consumption that runs into PHP memory limit.
    On one of the websites, I was able to increase this memory limit (128M -> 256M) but unfortunately on the second one, which lies on a cheaper hosting offer, this was not possible so I had to deactivate the plugin.

    I’m now waiting for a new Sucuri release that, hopefully, fixes the problem…

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.