Skip Navigation

Open

Reported for: WooCommerce Multilingual & Multicurrency 5.3.7

Topic Tags: Bug

Overview of the issue

When saving WooCommerce products that have been duplicated across multiple languages in a WordPress environment using PHP 8.3.x, a fatal error occurs:

PHP Fatal error:  Uncaught Error: Maximum call stack size of 196608 bytes (zend.max_allowed_stack_size - zend.reserved_stack_size) reached. Infinite recursion? in .../wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/collect/src/Illuminate/Support/Traits/Macroable.php:0

Workaround

Please, make sure of having a full site backup of your site before proceeding.

  • Open your php.ini file.
  • Set the following values:
    zend.max_allowed_stack_size = -1
    zend.reserved_stack_size = -1
    

Leave a Reply

Please stay on topic and be respectful to others. If you need help with issues not related to this post, use our Support Forum to start a chat or submit a ticket.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>