Skip Navigation

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

Problem:
You have configured the WPML plugin on your website with English and Spanish languages and are encountering several error messages on the Spanish version. These include incorrect function calls related to translation loading and a fatal Stripe exception error.
Solution:
The translation loading errors are associated with WordPress 6.7. For more details, please refer to the WPML Errata - PHP Error in WP 6.7.

Regarding the Stripe error:

Fatal error: Uncaught StripeExceptionInvalidArgumentException: $config must be a string or an array.

This issue is related to Stripe and is not connected to WPML.

If this solution does not resolve your issue or seems outdated, we 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 problems persist, 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.

Tagged: 

This topic contains 2 replies, has 1 voice.

Last updated by Marcel 1 week, 2 days ago.

Assisted by: Marcel.

Author Posts
January 28, 2025 at 10:32 am #16640817

adrianT-24

Background of the issue:
I have set up the WPML plugin on my website and configured English and Spanish languages. I installed WPML Media Translation, WPML String Translation, and WPML CMS Nav plugins. The English version is working well, but the Spanish version at hidden link is not working.

Symptoms:
I am receiving several error messages: 'Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the ultimate-member domain was triggered too early.' and 'Notice: La función _load_textdomain_just_in_time ha sido llamada de forma incorrecta. Translation loading for the all-in-one-wp-migration domain was triggered too early.' Additionally, there are 'Undefined variable' notices and a 'Fatal error: Uncaught StripeExceptionInvalidArgumentException: $config must be a string or an array.'

Questions:
How can I fix the errors so that the Spanish pages work on my website?

January 29, 2025 at 4:23 am #16644219

adrianT-24

We are still waiting for wpml team support reply . Please tell whether you also need admin detail of website . This issue is very urgent . Please respond quickly

January 29, 2025 at 9:24 am #16645213

Marcel
Supporter

Languages: English (English ) German (Deutsch )

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

Hi,

This issue is related to WordPress 6.7. Please refer to the following link for more details: WPML Errata - PHP Error in WP 6.7

Regarding the error:

Fatal error: Uncaught StripeExceptionInvalidArgumentException: $config must be a string or an array.

This error is related to Stripe and is not connected to WPML.

Best regards,
Marcel