This thread is resolved. Here is a description of the problem and solution.
Problem:
The client was unable to access their site due to a critical error. The error message indicated that the function
_load_textdomain_just_in_time
was called incorrectly, affecting the WooCommerce Quickpay and WooCommerce domains.
Solution:
For the issue with the function
_load_textdomain_just_in_time
, we recommend updating the WooCommerce Quickpay plugin to the latest version. If an update is not available, contact the plugin author for a potential solution. More information on this error can be found here: WPML Errata.
We highly recommend checking related known issues at WPML 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, do not hesitate to 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: Exception
| Author | Posts |
|---|---|
| May 14, 2025 at 10:54 am #17031727 | |
|
nancyM |
Background of the issue: Symptoms: Questions: |
| May 14, 2025 at 12:21 pm #17032072 | |
|
Bruno Kos WPML Supporter since 12/2018
Languages: English (English ) German (Deutsch ) French (Français ) Timezone: Europe/Zagreb (GMT+02:00) |
Hi, Can you please provide us with the debug information, so that we can get a better idea of your setup? https://wpml.org/faq/provide-debug-information-faster-support/ If not yet the case, make sure to have the latest updates already installed, including not only WPML but also related plugins (such as Elementor, WooCommerce, etc).d https://wpml.org/account/downloads/ Please do the above and let us know if the issue is still happening. Also, for this fatal error, can you remove that plugin from your website and install it anew from https://wpml.org/account/downloads/? Because it is possible that during some of the latest updates, not all of its files got updated properly. |
| May 14, 2025 at 1:10 pm #17032418 | |
|
nancyM |
{We've got the debug information} |
| May 14, 2025 at 2:34 pm #17032941 | |
|
Andrey WPML Supporter since 06/2013
Languages: English (English ) Russian (Русский ) Timezone: Europe/Kyiv (GMT+03:00) |
I will be assigning you further.
This notice concerns the WooCommerce Quickpay plugin. You need to update the plugin to the latest version. If updates are not available, check with the plugin author to see if he has a solution to this notice. Here's more information: https://wpml.org/errata/php-error-wp-6-7-notice-function-_load_textdomain_just_in_time-was-called/
Can you share the full content of the fatal error? Additionally, please upload any relevant screenshots or links that would help illustrate the problem. |
| May 14, 2025 at 3:24 pm #17033326 | |
|
nancyM |
I was able to get the site back online by disabling the Yoast plugin. Now I don't think the wpml plugin is causing an issue: Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the woocommerce 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/vhosts/wift.nu/httpdocs/wp-includes/functions.php on line 6121 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/vhosts/wift.nu/httpdocs/wp-includes/functions.php on line 6121 |
| May 14, 2025 at 3:37 pm #17033500 | |
|
Andrey WPML Supporter since 06/2013
Languages: English (English ) Russian (Русский ) Timezone: Europe/Kyiv (GMT+03:00) |
You need to check if you are using the latest version of the Yoast plugin. If the fatal error still occurs, I need to see its entire content to understand where it comes from. The notices are harmless to your website. Each notice indicates the name of the triggering plugin. |
| May 14, 2025 at 4:06 pm #17033762 | |
|
nancyM |
this was the initial error on the front end after I updated the yoast plugin. I am switching to rank math so disabled it. Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the woocommerce 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/vhosts/wift.nu/httpdocs/wp-includes/functions.php on line 6121 Fatal error: Uncaught Error: Class "WPSEO_Sitemap_Image_Parser" not found in /var/www/vhosts/wift.nu/httpdocs/wp-content/plugins/wp-seo-multilingual/classes/class-wpml-wpseo-main-factory.php:14 Stack trace: #0 /var/www/vhosts/wift.nu/httpdocs/wp-content/plugins/sitepress-multilingual-cms/classes/action-filter-loader/class-wpml-action-filter-loader.php(148): WPML_WPSEO_Main_Factory->create() #1 /var/www/vhosts/wift.nu/httpdocs/wp-content/plugins/sitepress-multilingual-cms/classes/action-filter-loader/class-wpml-action-filter-loader.php(96): WPML_Action_Filter_Loader->run_factory() #2 /var/www/vhosts/wift.nu/httpdocs/wp-content/plugins/sitepress-multilingual-cms/classes/action-filter-loader/class-wpml-action-filter-loader.php(80): WPML_Action_Filter_Loader->load_factory() #3 /var/www/vhosts/wift.nu/httpdocs/wp-content/plugins/sitepress-multilingual-cms/classes/action-filter-loader/class-wpml-action-filter-loader.php(49): WPML_Action_Filter_Loader->load_factory_or_action() #4 /var/www/vhosts/wift.nu/httpdocs/wp-content/plugins/wp-seo-multilingual/plugin.php(67): WPML_Action_Filter_Loader->load() #5 /var/www/vhosts/wift.nu/httpdocs/wp-includes/class-wp-hook.php(324): wpml_wpseo_init() #6 /var/www/vhosts/wift.nu/httpdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #7 /var/www/vhosts/wift.nu/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action() #8 /var/www/vhosts/wift.nu/httpdocs/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php(527): do_action() #9 /var/www/vhosts/wift.nu/httpdocs/wp-includes/class-wp-hook.php(324): SitePress->init() #10 /var/www/vhosts/wift.nu/httpdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #11 /var/www/vhosts/wift.nu/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action() #12 /var/www/vhosts/wift.nu/httpdocs/wp-settings.php(578): do_action() #13 /var/www/vhosts/wift.nu/httpdocs/wp-config.php(51): require_once('...') #14 /var/www/vhosts/wift.nu/httpdocs/wp-load.php(50): require_once('...') #15 /var/www/vhosts/wift.nu/httpdocs/wp-admin/admin.php(35): require_once('...') #16 /var/www/vhosts/wift.nu/httpdocs/wp-admin/index.php(10): require_once('...') #17 {main} thrown in /var/www/vhosts/wift.nu/httpdocs/wp-content/plugins/wp-seo-multilingual/classes/class-wpml-wpseo-main-factory.php on line 14 |
| May 14, 2025 at 7:15 pm #17034182 | |
|
Andrey WPML Supporter since 06/2013
Languages: English (English ) Russian (Русский ) Timezone: Europe/Kyiv (GMT+03:00) |
Thank you for the details. Do I understand that it's okay now since you've switched the plugins? Or do you still need assistance? |
| May 15, 2025 at 8:15 am #17035504 | |
|
nancyM |
I think it's ok now, thanks. |