Skip to content Skip to sidebar

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.

This topic contains 1 reply, has 2 voices.

Last updated by Laura 1 year, 9 months ago.

Author Posts
November 30, 2023 at 10:37 am #14960881

BCDR AAA

I am trying to:

Update WPML CMS to the latest version

I expected to see:

Update completes successfully

Instead, I got:

Complete admin dashboard fails. Receive the error message "There has been a critical error on this website. Please check your site admin email".

The admin email has the following message:

When seeking help with this issue, you may be asked for some of the following information:
WordPress version 5.5.13
Current theme: ****
Current plugin: WPML Multilingual CMS (version 4.6.8)
PHP version 7.4.33

Error Details
=============
An error of type E_ERROR was caused in line 123 of the file /var/www/****/wp-content/plugins/sitepress-multilingual-cms/classes/request-handling/wpml-request.class.php. Error message: Uncaught Error: Call to undefined function str_contains() in /var/www/****/wp-content/plugins/sitepress-multilingual-cms/classes/request-handling/wpml-request.class.php:123
Stack trace:
#0 /var/www/****/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php(981): WPML_Request->show_hidden()
#1 /var/www/****/wp-content/plugins/wpml-string-translation/classes/translations-file-scan/translations-file/wpml-st-translations-file-locale.php(141): SitePress->get_active_languages()
#2 /var/www/****/wp-content/plugins/wpml-string-translation/classes/translations-file-scan/translations-file/wpml-st-translations-file-locale.php(63): WPML_ST_Translations_File_Locale->get_locales()
#3 /var/www/****/wp-content/plugins/wpml-string-translation/classes/translations-file-scan/translations-file/wpml-st-translations-file-locale.php(38): WPML_ST_Translations_File_Locale->get_from_mo_file('/var/www/****...')
#4 /var/www/****/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LoadTextDom

November 30, 2023 at 5:20 pm #14965689

Laura
WPML Supporter since 05/2018

Languages: English (English ) Italian (Italiano )

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

Hi,

thanks for contacting us.

You're using a very old version, so please follow this guide to update https://wpml.org/it/faq/how-to-safely-update-wpml-from-an-old-to-new-version/

The topic ‘[Closed] Unable to update to WPML Multilingual CMS v 4.6.8’ is closed to new replies.