Skip to content Skip to sidebar

Resolved

Reported for: WPML Multilingual & Multicurrency for WooCommerce 5.3.7

Resolved in: WPML 4.8.0

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