• Resolved tictubso

    (@tictubso)


    Hi guys,

    On my WooCommerce Status Logs I’m getting the following error daily:



    2026-02-02T23:05:41+00:00 Critical Allowed memory size of 1073741824 bytes exhausted (tried to allocate 268435464 bytes)
    Additional context
    {
    "error": {
    "type": 1,
    "file": "/home/cnylucy/public_html/wp-content/plugins/wordfence/lib/wfUtils.php",
    "line": 1991
    },
    "remote-logging": true,
    "backtrace": [
    {
    "file": "/home/cnylucy/public_html/wp-content/plugins/woocommerce/includes/class-woocommerce.php",
    "line": 454,
    "function": "critical",
    "class": "WC_Logger",
    "type": "->"
    },
    {
    "function": "log_errors",
    "class": "WooCommerce",
    "type": "->"
    }
    ]
    }
    2026-02-02T23:21:01+00:00 Critical Allowed memory size of 1073741824 bytes exhausted (tried to allocate 268435464 bytes)
    Additional context
    {
    "error": {
    "type": 1,
    "file": "/home/cnylucy/public_html/wp-content/plugins/wordfence/lib/wfUtils.php",
    "line": 1991
    },
    "remote-logging": true,
    "backtrace": [
    {
    "file": "/home/cnylucy/public_html/wp-content/plugins/woocommerce/includes/class-woocommerce.php",
    "line": 454,
    "function": "critical",
    "class": "WC_Logger",
    "type": "->"
    },
    {
    "function": "log_errors",
    "class": "WooCommerce",
    "type": "->"
    }
    ]
    }

    What can be done to prevent this please?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support wfphil

    (@wfphil)

    Hi @tictubso

    Please send your Wordfence diagnostics report.

    Update to the latest version of Wordfence if you haven’t already done so.

    Go to the top of the “Diagnostics” tab on the Wordfence “Tools” page. There will be a “SEND REPORT BY EMAIL” button to send the diagnostics report. Enter wftest [at] wordfence [dot] com as the email and tictubso as the forum username please.

    Once you have emailed me the diagnostics report can you reply here to let me know that it has been sent. This is important in the unlikely event that your installation of WordPress is having an issue with sending mail.

    Thread Starter tictubso

    (@tictubso)

    Thank you for the reply. I submitted the diagnostics email just now, please double check

    Plugin Support wfphil

    (@wfphil)

    Hi @tictubso

    Thank you for the update.

    The report hasn’t arrived so WordPress may not be able to send all mail. You can ask your hosting provider to check the mail server for any problems.

    If you have at least Wordfence version 7.4.9 installed then you can export a report instead. There will be an EXPORT button at the top of the page to export a diagnostics report text file.

    Attach the text file in an email and send to wftest [at] wordfence [dot] com. Add your username tictubso to the email subject field so that I can find it.

    Once you have sent the email can you reply here to let me know that it has been sent.

    Thread Starter tictubso

    (@tictubso)

    Hi, the “Send a test email from this WordPress server to an email address:” on the same page did work.

    About the diagnostics, when I clicked the “Export” button it opened a new tab which looks like this: https://prnt.sc/M9T8VNgUArW1

    Plugin Support wfphil

    (@wfphil)

    Hi @tictubso

    Thank you for the update.

    Our plugin doesn’t send any emails. WordPress sends our emails as we use the WordPress mail function to send Wordfence related emails. WordPress not sending all emails is a common problem. You can ask your hosting provider if they can see why WordPress is not sending all email.

    Try the following but send to your own email address

    Update to the latest version of Wordfence if you haven’t already done so.

    Go to the top of the “Diagnostics” tab on the Wordfence “Tools” page. There will be a “SEND REPORT BY EMAIL” button to send the diagnostics report to your own email address and tictubso as the forum username please.

    If it arrives then forward the email to wftest [at] wordfence [dot] com.

    Once you have done that then reply here to let me know that it has been sent.

    Plugin Support wfphil

    (@wfphil)

    Hi @tictubso

    A work colleague mentioned to me that we’ve seen this when using plugins that are meant to modify Wordfence, and that it breaks some of Wordfence’s functionality. You should understand if you look through your list of plugins for one related to Wordfence. If you see it then you need to delete that plugin, then delete and reinstall Wordfence. You could make a copy of the free license key before reinstalling, but don’t use our export/import options tool because the same problem will occur again.

    Thread Starter tictubso

    (@tictubso)

    Hi again,

    Thanks for your assistance on this. This has been done again, this time I believe it’s worked. Please check for me.

    Go to the top of the “Diagnostics” tab on the Wordfence “Tools” page. There will be a “SEND REPORT BY EMAIL” button to send the diagnostics report. Enter wftest [at] wordfence [dot] com as the email and tictubso as the forum username please.

    Once you have emailed me the diagnostics report can you reply here to let me know that it has been sent.

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

You must be logged in to reply to this topic.