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,

    Scott

Viewing 13 replies - 1 through 13 (of 13 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. jamesmarshlaw.com

    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…

    I am also having this issue on a couple of site – ugh. Waiting on Sucuri to update their plugin!

    The same issue is also happening in one of the sites – strangely enough, that is the only site that encounters such issue despite there are numerous sites that have Sucuri plugin installed in the same server (with the same memory limit assigned to them)

    I am having the same error. Error message: Allowed memory size of 268435456 bytes exhausted (tried to allocate 67108872 bytes)

    Same issue and only on one of my sites. I cant deactivate it either as I get an error message when doing so.

    There has been a critical error on your website. Please check your site admin email inbox for instructions.

    It is throwing the above error performing pretty much any action within the WP Admin site. So I couldnt deactivate the plugin. After some googling, please see how I fixed the issue below.

    For anyone that is having trouble,
    – FTP to your files and rename the wp-content\plugin directory to something like wp-content\pluginbackup.
    – Reload your plugin page on your site and you should get a message for each plugin saying its been deactivated.
    – Now rename the folder back to the original.
    – Reload the plugin page and you can reactivate the plugins again.

    In this case minus the Sucuri plugin. The site is now working again.

    • This reply was modified 2 years, 4 months ago by waynesingh.
    • This reply was modified 2 years, 4 months ago by waynesingh.
    • This reply was modified 2 years, 4 months ago by waynesingh. Reason: Added solution and reformatted

    We are also having the error message of reaching allowed memory size:

    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.

    Sucuri, please fix this issue!

    Same error here after updating to version 1.8.25.
    Had to log in into my website using recovery mode. I have the Sucuri plugin deactivated now.
    Any suggestions?

    Same issue, but only on one of my sites. Using v1.8.25.
    All though I’m able to login, I just keep getting nightly email from WordPress “Your site experiencing a Technical issue”.

    An error of type E_ERROR was caused in line 431 of the file /wp-content/plugins/sucuri-scanner/src/fileinfo.lib.php. Error message: Allowed memory size of 134217728 bytes exhausted.

    I’ve increased my memory limit in wp-config and php.ini, but no change.

    Any ideas?
    Thanks.

    Sorry to be rude, but this issue is 1.5 yr old, and it looks like Sucuri’s team doesn’t give a sh***.
    😡

    amm2021

    (@amm2021)

    Have you seen this thread?: https://wordpress.org/support/topic/memory-limit-issues-during-scan/

    Deleting the following two files as suggested in that thread has resolved the problem for me.
    • wp-content/uploads/sucuri/sucuri-auditqueue.php
    • wp-content/uploads/sucuri/sucuri-oldfailedlogins.php

    Commeuneimage

    (@commeuneimage)

    @amm2021 » Many thanks for this.
    I deleted the files and reactivated the plugin, now I’m waiting to see if it’s stable.
    Too bad this was not correctly took into consideration by the editors :/

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Sucuri plugin causing login page to break, forced to use recovery mode to access’ is closed to new replies.