Problem: The client experiences a critical error when changing the language on their website from English to German after updating to PHP version 8.0 or higher. The error does not occur when using PHP 7.x. Solution: If you're experiencing this issue, we recommend you try the following steps: 1. Navigate to WPML >> String Translation. 2. Search for the "All %s" string. 3. Select the WooCommerce domain and enable the "Exact match" option. 4. Update the German translation from:
Alle %
To:
Alle %s
This should resolve the issue.
Please note that this solution might be irrelevant if it's outdated or not applicable to your case. We highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket at WPML support forum.