• Resolved lifestyletrading

    (@lifestyletrading)


    After updating to the most recent version of WooCommerce I get the following critical error:

    fatal-errors-2023-03-18-008f98c98cd473cf06aac8b9ef07ca5a.log (18 March 2023 at 15:32 CET)
    2023-03-18T14:32:48+00:00 CRITICAL Uncaught UnexpectedValueException: RecursiveDirectoryIterator::__construct(/home/customer/www/xxxxx/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/build/cart -blocks/cart-express-payment–checkout-blocks): failed to open dir: Too many open files in /home/customer/www/xxxxx/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/ src/BlockTypes/AbstractBlock.php:188
    stack trace:

    0 [internal function]: RecursiveDirectoryIterator->__construct(‘/home/customer/…’, 0)

    1 /home/customer/www/xxxxx/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php(188): RecursiveDirectoryIterator->getChildren()

    2 /home/customer/www/xxxxx/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/Cart.php(251): Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->get_chunks_paths (“cart blocks”)

    3 /home/customer/www/xxxxx/public_html/wp-content/plugins/woocommerce/packages/woocommerc in /home/customer/www/xxxxx/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/ src/BlockTypes/AbstractBlock.php on line 188

    Current WP version is 6.1.1 en
    WooCommerce 7.5.1

    Does anyone have an idea how I can get this resolved?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Saif

    (@babylon1999)

    Hello @lifestyletrading,

    I understand the error started to happen after you updated WooCommerce to the latest version.

    Did you try disabling all plugins to ensure there’s no conflict with any of them? Also, it might be helpful to switch to a storefront theme.

    You don’t need to do this on the live version of your site, you can create a staging environment using WP-STAGING.

    If that didn’t help, then please attach a copy of your site’s system status report so we can look further into this. You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”.? Once you’ve done that, paste it here in your response or in a Gist.

    Cheers!


    Thread Starter lifestyletrading

    (@lifestyletrading)

    Hi Saif,

    Thanks for your comment. I did what you asked, we found no errors.

    After the report on March 18, we received the same again on March 19. We have decided to restore a backup from March 17 (WooCommerce version 7.4.1) and have not received any notifications since.

    One of the updates on March 18 was WooCommerce to version 7.5.0, after that we got the error. WooCommerce update to 7.5.1 fixed it in our opinion.

    We have not been able to find any other explanation.

    Roxy

    (@roxannestoltz)

    Hi @lifestyletrading ,

    Thanks for providing an update, and glad to hear that the issue is no longer present ??

    Since this has been resolved, feel free to create a new topic should you need any further help.

    Cheers!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘CRITICAL Uncaught UnexpectedValueException’ is closed to new replies.