[Resolved] Issue Changing Default Language to German
This thread is resolved. Here is a description of the problem and solution.
Problem: If you're experiencing issues with your website loading indefinitely after changing the default language to German, while it works fine when set to English, we have identified a potential solution. Solution: We recommend modifying a specific piece of code in the YITH WooCommerce Product Bundles Premium plugin. Please navigate to
This modification has been tested and found effective in resolving the loading issue. However, please note that this solution might become outdated or may not apply to your specific 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 this solution does not resolve your issue, please do not hesitate to open a new support ticket with us for further assistance 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.
Background of the issue:
We have two languages on our website, German and English. We’re trying to change the default language to German.
Symptoms:
When we change the default language to German, clear the cache, and try to access the site, it loads indefinitely. When the default language is set to English, the website works fine.
Questions:
Could you please check this issue for us?
05-Sep-2025 10:42:57 UTC] PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the
rocket
domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the
init
action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/afroditedeca_usr/data/www/afroditedecants.com/wp-includes/functions.php on line 6121
[05-Sep-2025 10:42:57 UTC] PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the
yith-woocommerce-product-bundles
domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the
init
action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/afroditedeca_usr/data/www/afroditedecants.com/wp-includes/functions.php on line 6121
[05-Sep-2025 10:43:00 UTC] PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the
woo-discount-rules
domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the
init
action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/afroditedeca_usr/data/www/afroditedecants.com/wp-includes/functions.php on line 6121
[05-Sep-2025 10:43:00 UTC] PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the
rocket
domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the
init
action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/afroditedeca_usr/data/www/afroditedecants.com/wp-includes/functions.php on line 6121
[05-Sep-2025 10:43:00 UTC] PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the
yith-woocommerce-product-bundles
domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the
init
action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/afroditedeca_usr/data/www/afroditedecants.com/wp-includes/functions.php on line 6121
Could you please share a backup of your site? I’d like to set up my localhost and debug the issue further. You can zip up the files and database and share them using a file-sharing platform.
I noticed that the issue is happening because of the memory limit on my localhost.
PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) in …/wp-content/plugins/yith-woocommerce-ajax-product-filter-premium/includes/class-yith-wcan-presets.php on line 133
I deactivated the following two plugins (YITH WooCommerce Ajax Product Filter Premium & YITH WooCommerce Product Bundles Premium) and it worked for me.
Can you please check and confirm? Also, both mentioned plugins are outdated, so please update them and check once.
I’ll be away now and will be available in Monday morning.
We updated both the plugins and still facing the same issue.
It is working fine with the plugin YITH WooCommerce Product Bundles Premium deactivated but we need this plugin as we have some bundled products. So please help us find a solution.
With this plugin activated the when the default language is English both the English and German version is working.
We got in touch with the plugin support and they mentioned that if it was their plugin issues then it shouldn't be working in the English default language as well and asked us to get in touch with you.