Skip Navigation

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.

WordPress 6.7 has introduced a new issue that impact translations, please update WooCommerce and WPML to the latest versions before you report issues. More about this here - https://wpml.org/errata/php-error-wp-6-7-notice-function-_load_textdomain_just_in_time-was-called/
Sun Mon Tue Wed Thu Fri Sat
- 12:00 – 14:00 12:00 – 14:00 12:00 – 14:00 12:00 – 14:00 12:00 – 14:00 -
- 17:00 – 21:00 17:00 – 21:00 17:00 – 21:00 17:00 – 21:00 17:00 – 21:00 -

Supporter timezone: Europe/Vienna (GMT+01:00)

Tagged: 

This topic contains 3 replies, has 0 voices.

Last updated by Bigul 4 days, 5 hours ago.

Assisted by: Bigul.

Author Posts
November 15, 2024 at 10:09 am #16407058

philippF-8

Posts translated to German shows fatal error - hidden link

PHP Fatal error: Uncaught TypeError: str_contains(): Argument #1 ($haystack) must be of type string, array given in /****/public_html/wp-includes/blocks.php:1687

2024-11-15_15h39_58.png
November 15, 2024 at 11:08 am #16407686

Bigul
Supporter

Languages: English (English )

Timezone: Europe/Vienna (GMT+01:00)

Hello,

Welcome to the WPML support forum. I will do my best to help you to resolve the issue.

We noticed this issue while testing the original bug you have reported. It happens with all the ELPEGUARD posts translated to German.

hidden link

hidden link

Have you noticed this error before? It works as expected for the Chinese post - hidden link

Therefore it will be great if you can share more details about the template settings you are using for the ELPEGUARD post type.

--
Thanks!

Bigul

November 18, 2024 at 2:23 am #16412418

philippF-8

Hi Bigul,

The above message is not from me, maybe an internal message of your team. I don't know why it's under my nick. This critical error message is new to me, it didn't show before.

The custom post template for this product group uses the elementor text editor widgets to reference the pods fields.

Best,
Philipp

November 18, 2024 at 2:22 pm #16415256

Bigul
Supporter

Languages: English (English )

Timezone: Europe/Vienna (GMT+01:00)

Hello,

Thank you for the updates. We have created this ticket for the easy follow-up of tracking the following error. So we can avoid discussing multiple issues in a single ticket.


PHP Fatal error: Uncaught TypeError: str_contains(): Argument #1 ($haystack) must be of type string, array given in

We will debug it further the with the main ticket and get back to you as early as possible. Please wait.

--
Thanks!

Bigul