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.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 12:00 7:00 – 12:00 7:00 – 12:00 7:00 – 12:00 7:00 – 12:00 -
- 13:00 – 15:00 13:00 – 15:00 13:00 – 15:00 13:00 – 15:00 13:00 – 15:00 -

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

This topic contains 2 replies, has 0 voices.

Last updated by Carlos Rojas 6 days, 7 hours ago.

Assisted by: Carlos Rojas.

Author Posts
January 30, 2025 at 1:09 pm #16651652

urgyenl

Background of the issue:
I am trying to resolve a site crashing issue due to plugin problems. None of the WPML plugins could be updated, and there is a connection issue. I have deactivated WPML String Translation to keep my site live. The issue can be seen at: hidden link

Symptoms:
The site crashes and shows a white screen with a critical error message when I click on any products.

Questions:
How can I resolve the connection issue with WPML?
What steps should I take to update WPML plugins without crashing the site?

January 30, 2025 at 1:19 pm #16651795

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

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

Hello,
Thank you for contacting us

1.- Please follow these steps to gather more information about the cause of the issue:
- Create a full site backup
- Activate the WordPress debug mode as described in this guide: https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/
- Reproduce the error with the blank screen (the one in the screenshot of your message)
- Edit the debug.log file located within the wp-content folder and check if there are fatal errors and share them.

2.- As an alternative you can try upgrading the WPML plugins manually as described in this link: https://wpml.org/faq/updating-wpml-manually/

Regards,
Carlos

January 30, 2025 at 4:00 pm #16652723

urgyenl

Dear Carlos

I have backed up all my datas. and attached the debug content below.

For the alternative solution, before I delete all the wpml as per the documentation and manually upload all the wpml plugins wouldn't I lose all the translation or could I somehow retrieve those. Also pls! check the screen shot of wpml registered site. Could there be any problem. I might have changed some thing in wpml account registered sites. while earlier trying to solve the issue with wpml.

Thank you very much

Urgyen

Debug:- After the white screen

[30-Jan-2025 15:53:44 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/karmas_877/public/wp-includes/functions.php on line 7329
[30-Jan-2025 15:53:44 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /www/karmas_877/public/wp-includes/functions.php on line 2189
[30-Jan-2025 15:53:45 UTC] PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the

wpml-translation-management

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 /www/karmas_877/public/wp-includes/functions.php on line 6114
[30-Jan-2025 15:53:52 UTC] PHP Fatal error: Uncaught Error: Call to undefined method WP_Textdomain_Registry::reset() in /www/karmas_877/public/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php:139
Stack trace:
#0 /www/karmas_877/public/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php(119): WPML\ST\MO\Hooks\LanguageSwitch->resetTranslationAvailabilityInformation()
#1 /www/karmas_877/public/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php(73): WPML\ST\MO\Hooks\LanguageSwitch->changeMoObjects('de_DE')
#2 /www/karmas_877/public/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php(48): WPML\ST\MO\Hooks\LanguageSwitch->switchToLocale('de_DE')
#3 /www/karmas_877/public/wp-includes/class-wp-hook.php(326): WPML\ST\MO\Hooks\LanguageSwitch->languageHasSwitched('de')
#4 /www/karmas_877/public/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#5 /www/karmas_877/public/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#6 /www/karmas_877/public/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php(1178): do_action('wpml_language_h...', 'de', false, 'en')
#7 /www/karmas_877/public/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php(2897): SitePress->switch_lang('de')
#8 /www/karmas_877/public/wp-content/plugins/sitepress-multilingual-cms/classes/seo/class-wpml-seo-headlangs.php(39): SitePress->get_ls_languages(Array)
#9 /www/karmas_877/public/wp-includes/class-wp-hook.php(324): WPML_SEO_HeadLangs->head_langs('')
#10 /www/karmas_877/public/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#11 /www/karmas_877/public/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#12 /www/karmas_877/public/wp-includes/general-template.php(3064): do_action('wp_head')
#13 /www/karmas_877/public/wp-content/themes/flatsome/header.php(17): wp_head()
#14 /www/karmas_877/public/wp-includes/template.php(810): require_once('/www/karmas_877...')
#15 /www/karmas_877/public/wp-includes/template.php(745): load_template('/www/karmas_877...', true, Array)
#16 /www/karmas_877/public/wp-includes/general-template.php(48): locate_template(Array, true, true, Array)
#17 /www/karmas_877/public/wp-content/themes/flatsome/woocommerce/single-product.php(17): get_header('shop')
#18 /www/karmas_877/public/wp-includes/template-loader.php(106): include('/www/karmas_877...')
#19 /www/karmas_877/public/wp-blog-header.php(19): require_once('/www/karmas_877...')
#20 /www/karmas_877/public/index.php(17): require('/www/karmas_877...')
#21 {main}
thrown in /www/karmas_877/public/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php on line 139

Screenshot 2025-01-30 at 16.55.39.png
Screenshot 2025-01-30 at 16.45.13.png
January 31, 2025 at 11:15 am #16655098

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

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

Hi there,
According to the errors, the cause of the issue seems to be a missing file in one of the WPML plugins.

1.- I would like to take a closer look at the issue. Please share the access credentials to the site in your next message that I have set private.

Also, confirm you created a full site backup before sharing the credentials that you can use to restore the site if necessary.

2.- Do you authorize me to manually update the WPML plugins?

January 31, 2025 at 1:33 pm #16655842

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

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

Hi Urgyen,
Thank you for your authorization and for sharing the credentials requested.

I manually updated the WPML plugins to the latest version. Can you confirm that the error disappeared?

January 31, 2025 at 1:45 pm #16655875

urgyenl

Hi Carlos

Yes I have checked and everything I working and uptodate but I have noticed that there is two wpml string translation. one which activated and registered is version 3.2.18 and one which is not active has 3.2.2. can I delete the one which is not active.
pls check screenshot

Thank you

Urgyen

January 31, 2025 at 1:46 pm #16655876

urgyenl

hi

Screenshot 2025-01-31 at 14.43.00.png
January 31, 2025 at 2:57 pm #16656375

urgyenl

HI Carlos
The site is running well with all the wpml Plugins activated and no error screen.

But it still shows that the WPML Plugins cannot connect to wpml.org.
In order for future Updates I think I need wpml plugins to be connected to wpml org otherwise I have to ask you guys for help all the time.

and its also says the site registered as a site in development on WPML?

Pls check screenshot.

Thanks you

Urgyen

Screenshot 2025-01-31 at 15.53.30.png
February 3, 2025 at 9:27 am #16661805

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

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

Hi Urgyen,

Please follow the steps described in this guide: https://wpml.org/faq/how-to-remove-the-this-site-is-registered-on-wpml-org-as-a-development-site-notice/