• Hi Support Team,

    I am encountering a critical error on my WordPress site. The error message is as follows:

    2025-03-06T00:56:21+00:00Critique Allowed memory size of 3221225472 bytes exhausted (tried to allocate 20480 bytes) Contexte supplémentaire{ “error”: { “type”: 1, “file”: “/wp-includes/l10n/class-wp-translation-controller.php”, “line”: 407 }, “remote-logging”: true, “backtrace”: [ { “file”: “/wp-content/plugins/woocommerce/includes/class-woocommerce.php”, “line”: 412, “function”: “critical”, “class”: “WC_Logger”, “type”: “->” }, { “function”: “log_errors”, “class”: “WooCommerce”, “type”: “->” } ] }

    I have already increased the memory limit in both the .htaccess and wp-config.php files, and my current hosting plan provides sufficient resources, so the issue doesn’t appear to stem from a lack of hosting capabilities.

    Could you please provide further guidance on resolving this memory exhaustion issue? I would greatly appreciate any additional insights or recommendations.

    Thank you for your help!

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Zubair Zahid (woo-hc)

    (@doublezed2)

    Hello BYRED,

    Thank you for contacting WooCommerce support.

    I understand your site is encountering a memory exhaustion error despite increasing the memory limit in .htaccess and wp-config.php.

    Please share your site’s System Status Report by pasting it into https://pastebin.com and sharing the link here.

    To determine the cause of the issue, try disabling all plugins to see if the error persists. If the error disappears, activate plugins one by one to identify which one is causing the issue.

    Looking forward to your response. ??

    Thread Starter BYRED

    (@byred)

    Hello @doublezed2,

    We have already tried disabling all plugins…

    System Status Report : https://pastebin.com/mBC665AQ

    Thanks for your help

    Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi there!

    Thank you for sharing the system status report. I can see your memory is currently set to 512MB, but your error message shows memory exhaustion at 3GB (3221225472 bytes), meaning WooCommerce or a plugin is consuming huge memory.

    Also, there are a lot of Action Scheduler events on your site, both completed (45,789) and failed (1,298). This could be contributing to the memory issue. ?? Recommended Steps:

    1?? Delete completed actions – This will free up database space and reduce unnecessary load.
    2?? Investigate failed actions – A large number of failed events could indicate issues with a specific plugin or process. Check WooCommerce > Status > Scheduled Actions for details.
    3?? Use WP Crontrol – This plugin can help you inspect scheduled events and see which ones are running too frequently or failing.

    Also, could you please share the Fatal error logs?(if any) under WooCommerce > Status > Logs.
    Please use?https://pastebin.com/?or?https://gist.github.com/ and share a link to that paste in reply here. Once we have more information, we’ll be able to assist you further

    Thread Starter BYRED

    (@byred)

    Hi @shahzeenfarooq

    We have followed the three steps, but the problem persists. Please find the logs below.

    https://pastebin.com/8kcziJNN

    https://pastebin.com/4rDhu0QX

    Thanks for your help

    Plugin Support Moses M. (woo-hc)

    (@mosesmedh)

    Hi @byred,

    Thank you for providing both logs. After further review, it appears that your Order Synchronizer background job is repeatedly failing. The error message indicates that the processor is enqueued but not scheduled, which suggests that the jobs are not being executed, a background process is being terminated, or there is a conflict affecting your scheduler or cron job.

    To ensure that WP-Cron is not disabled, please add the following line to your wp-config.php file:

    define('DISABLE_WP_CRON', false);
    

    Additionally, check your scheduled actions, manually trigger any pending ones, and delete completed or failed tasks.

    If the issue persists, you may need to create a staging site for testing, as this could be caused by a conflict. On the staging site, switch to the Storefront theme and disable all plugins except WooCommerce and your payment processing plugin. Then, try performing regular actions like creating a test order or replicating the steps that led to the error. Let me know if the issue still occurs.

    Thread Starter BYRED

    (@byred)

    Hi @mosesmedh,

    WP-Cron is not disabled, and i have deleted all completed and failed tasks.

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