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.