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.

Tagged: 

This topic contains 3 replies, has 3 voices.

Last updated by Mihai Apetrei 1 year, 9 months ago.

Assisted by: Mihai Apetrei.

Author Posts
August 21, 2023 at 1:22 pm #14264529

spartakG

Hi.

After WordPress automatically updated to 6.3 our site crashed and was not responding. We found that the problem is with WPML String Translation plugin. If I disable this plugin the website comes live. If I enable it the website becomes again not responding.

I received the following errors in my email:

WordPress <wordpress@zepanatyral.al>
Tue, Aug 15, 3:30 PM (6 days ago)
to me

Howdy!

WordPress has a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.

In this case, WordPress caught an error with one of your plugins, wpml-string-translation.

First, visit your website (hidden link) and check for any visible issues. Next, visit the page where the error was caught (hidden link) and check for any visible issues.

Please contact your host for assistance with investigating this issue further.

If your site appears broken and you can't access your dashboard normally, WordPress now has a special "recovery mode". This lets you safely login to your dashboard and investigate further.

hidden link

To keep your site safe, this link will expire in 1 day. Don't worry about that, though: a new link will be emailed to you if the error occurs again after it expires.

When seeking help with this issue, you may be asked for some of the following information:
WordPress version 6.3
Active theme: Porto (version 6.4.1)
Current plugin: (version )
PHP version 8.0.30

Error Details
=============
An error of type E_ERROR was caused in line 271 of the file /home2/tmuyqamy/public_html/zepanatyral/wp-content/plugins/wpml-string-translation/inc/functions.php. Error message: Uncaught Error: Call to a member function init() on null in /home2/tmuyqamy/public_html/zepanatyral/wp-content/plugins/wpml-string-translation/inc/functions.php:271
Stack trace:
#0 /home2/tmuyqamy/public_html/zepanatyral/wp-content/plugins/wpml-string-translation/inc/admin-texts/wpml-admin-texts.class.php(440): icl_translate('admin_texts_por...', '[porto_settings...', '© Copyrigh...')
#1 /home2/tmuyqamy/public_html/zepanatyral/wp-content/plugins/wpml-string-translation/inc/admin-texts/wpml-admin-texts.class.php(277): WPML_Admin_Texts->translate_single('© Copyrigh...', '[porto_settings...', 'header-copyrigh...', 'porto_settings')
#2 /home2/tmuyqamy/public_html/zepanatyral/wp-content/plugins/wpml-string-translation/inc/admin-texts/wpml-admin-texts.class.php(423): WPML_Admin_Texts->icl_st_translate_admin_string('© Copyrigh...', '[porto_settings...', 'header-copyrigh...', false)
#3 /home2/tmuyqamy/public_html/zepanatyral/wp-content/plugins/wpml-string-translation/inc/admin-texts/wpml-admin-texts.class.php(275): WPML_Admin_Texts->translate_multiple(Array, '', 'porto_settings')
#4 /home2/tmuyqamy/public_html/zepanatyral/wp-includes/class-wp-hook.php(312): WPML_Admin_Texts->icl_st_translate_admin_string(Array)
#5 /home2/tmuyqamy/public_html/zepanatyral/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array)
#6 /home2/tmuyqamy/public_html/zepanatyral/wp-includes/option.php(253): apply_filters('option_porto_se...', Array, 'porto_settings')
#7 /home2/tmuyqamy/public_html/zepanatyral/wp-content/themes/porto/inc/admin/theme_options.php(44): get_option('porto_settings')
#8 /home2/tmuyqamy/public_html/zepanatyral/wp-content/themes/porto/functions.php(56): require_once('/home2/tmuyqamy...')
#9 /home2/tmuyqamy/public_html/zepanatyral/wp-settings.php(600): include('/home2/tmuyqamy...')
#10 /home2/tmuyqamy/public_html/zepanatyral/wp-config.php(101): require_once('/home2/tmuyqamy...')
#11 /home2/tmuyqamy/public_html/zepanatyral/wp-load.php(50): require_once('/home2/tmuyqamy...')
#12 /home2/tmuyqamy/public_html/zepanatyral/wp-admin/admin-ajax.php(22): require_once('/home2/tmuyqamy...')
#13 {main}
thrown
Can you help please?

thank you
best regards
Spartak

August 22, 2023 at 7:34 am #14268465

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello Spartak,

can you please try the next workaround on your stating site and let us know if this helps? This will let us know if we are dealing with the same issue or another.

- https://wpml.org/errata/wordpress-6-3-performance-issues-with-string-translation-in-specific-scenarios/

Thanks,
Drazen

August 25, 2023 at 10:18 am #14290843

spartakG

Hi.
I can confirm that the problem appears with wordpress 6.3. I think I will wait for your update fix.
thank you

August 25, 2023 at 12:08 pm #14291713

Mihai Apetrei
WPML Supporter since 03/2018

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hi there.

Thank you for the update.

Sure, that's fine if you want to wait for the fix.

Have a lovely rest of the day.

Mihai