Skip to content Skip to sidebar

This thread is resolved. Here is a description of the problem and solution.

Problem:
If you're experiencing a fatal error when using PHP 8 with the WPML Multilingual & Multicurrency for WooCommerce plugin, and the error disappears when the plugin is deactivated or when using PHP 7.4, the issue might be related to a specific string translation.
Solution:
We recommend the following steps to resolve this issue:
1. Navigate to WPML -> Strings Translation.
2. Search for "All %s" under the "woocommerce" domain with "Exact match" checked.
3. Edit the German translation to include an "s" after "Alle %".
4. Press Enter to save the change.
This adjustment should resolve the fatal error. Please check your site to confirm that the problem is solved.

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 issue persists, please open a new support ticket at WPML support forum.

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 2 replies, has 0 voices.

Last updated by oblaum 1 day, 3 hours ago.

Assisted by: Itamar.

Author Posts
February 22, 2026 at 4:02 pm

oblaum

i want to use php 8 unfortunately it crashes with a fatal error.

February 22, 2026 at 7:36 pm #17841361

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi,

I have created a package of your site and downloaded it to my computer. I'll continue to investigate this issue, and if needed, I will esclate it to our second-tier supporters.

I appreciate your patience.
Itamar.

February 23, 2026 at 3:25 pm #17843671

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi,

I've found the source of the fatal error and fixed it also on your site. The problem was with the translation of the string "All %s" into German. In German, it was missing the "s". So this is what I did to fix the problem:

1. Go to WPML -> Strings Translation.
2. Search for "All %s" under the "woocommerce" domain with "Exact match" checked.
3. Edit the German translation and add "s" after "Alle %".
4. Click Enter to save the change.
Please see the attached screenshot.

There is no fatal error on your site now.
Can you please confirm that the problem is solved?

Thanks,
Itamar.

2026-02-23_17-17-57.jpg
February 26, 2026 at 5:44 am #17853379

oblaum

thank you so much! this solved my problem. great!