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
The topic ‘[Closed] Unable to update to WPML Multilingual CMS v 4.6.8’ is closed to new replies.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.