• Resolved Tilo

    (@netsales)


    Hello,

    I’m having a problem in WooCommerce > Orders with an admin user.
    The error message reads:
    An error of type E_ERROR occurred on line 392 of the file /www/htdocs/….de/wp-content/plugins/woocommerce/src/Blocks/Assets/AssetDataRegistry.php. Error message: Allowed memory size of 536870912 bytes exhausted (tried to allocate 196608 bytes)
    The error occurs with PHP versions 8.4 and 8.3. It works with PHP 8.2, but very slowly.

    Is there a possible cause for this and a solution?

    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi there,

    Thank you for sharing the exact error message that’s very helpful.

    The error you’re seeing indicates that PHP is running out of memory while loading WooCommerce Blocks assets, specifically within the AssetDataRegistry class. While the memory limit is already set quite high (512 MB), this can still occur when additional plugins or custom code heavily interact with WooCommerce Blocks or the admin Orders screen.

    A few important points to note:

    • PHP 8.3 and 8.4 are newer versions, and not all plugins are fully optimized or tested against them yet.
    • The fact that it works on PHP 8.2 (even if slowly) strongly suggests a compatibility or performance issue with a third-party plugin, rather than a core issue in WooCommerce itself.
    • This type of memory exhaustion commonly happens when plugins hook into checkout, orders, tracking, analytics, or blocks-related functionality.

    To help identify the cause, we recommend the following:

    1. Run a full plugin conflict test
      • Temporarily deactivate all plugins except WooCommerce.
      • Check whether the Orders page loads correctly.
      • Reactivate plugins one by one until the issue reappears.

    I’d suggest running a plugin conflict test on a staging site. Here’s a helpful guide that walks you through how to perform a conflict test step by step:
    https://woocommerce.com/document/how-to-test-for-conflicts/

    Please let us know what you find.

    Plugin Support Kay U a11n

    (@kingsleyinfo)

    I’m going to mark this as resolved, as we haven’t heard back from you in a while. Please open a new thread if you need further assistance.

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

You must be logged in to reply to this topic.