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 thread is resolved. Here is a description of the problem and solution.

Problem: After updating WordPress and WPML my site is showing an error.

Solution: Increasing WP Memory resolved the issue. You can add this to wp-config.php to increase WP memory:

/** Memory Limit */ define('WP_MEMORY_LIMIT', '256M'); define( 'WP_MAX_MEMORY_LIMIT', '256M' );

Add it above the line /* That's all, stop editing! Happy blogging. */

This topic contains 7 replies, has 2 voices.

Last updated by Petros 1 month ago.

Assigned support staff: Lauren.

Author Posts
September 19, 2019 at 12:31 pm #4604697

Petros

I have updated wordpress and WPML
I receive the error:
"The site is experiencing technical difficulties. Please check your site admin email inbox for instructions." very often in the admin area, after reloading the requested page loads fine.

The email says: "...error with one of your plugins, WPML Multilingual CMS."

The email contents:

Howdy!

Since 5.2 there is a built-in feature that detects when a plugin or Site 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 Multilingual CMS.

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 Status normally, now has a special "recovery mode". This lets you safely login to your Status 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.

Error Details
=============
An error of type E_ERROR was caused in line 7 of the file /var/www/vhosts/thea.auth.gr/httpdocs/website/wp-content/plugins/sitepress-multilingual-cms/classes/utilities/admin/class-wpml-admin-url.php. Error message: Uncaught Error: Class 'WPML_Translation_Management' not found in /var/www/vhosts/thea.auth.gr/httpdocs/website/wp-content/plugins/sitepress-multilingual-cms/classes/utilities/admin/class-wpml-admin-url.php:7
Stack trace:
#0 /var/www/vhosts/thea.auth.gr/httpdocs/website/wp-content/plugins/sitepress-multilingual-cms/classes/upgrade/commands/class-wpml-upgrade-display-mode-for-posts.php(83): WPML_Admin_URL::multilingual_setup(7)
#1 /var/www/vhosts/thea.auth.gr/httpdocs/website/wp-content/plugins/sitepress-multilingual-cms/classes/upgrade/commands/class-wpml-upgrade-display-mode-for-posts.php(29): WPML_Upgrade_Display_Mode_For_Posts->get_notice_content()
#2 /var/www/vhosts/thea.auth.gr/httpdocs/website/wp-content/plugins/sitepress-multilingual-cms/classes/upgrade/class-wpml-upgrade.php(146): WPML_Upgrade_Display_Mode_For_Posts->run_admin()
#3 /var/www/vhosts/thea.auth.gr/httpdocs/website/wp-content/plugins/sitepress-multilingual-cms/classes/upgrade/class-wpml-upgrade.php(134): WPML_Upgrade->maybe_run_admin(Object

Please help.
Petros

September 19, 2019 at 12:42 pm #4604819

Lauren
Supporter

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

Please try to to do a manual update by following these steps:

1. Ensure that you have a full backup for the site.

2. Log in to your WPML.org account and go to the Downloads section. Download the WPML components that you need. You will receive a ZIP file for each one of WPML’s components.

3. Deactivate the current WPML version that you are using. Be sure to deactivate WPML and all its components. Otherwise, the installation files may be locked and not writeable. Don’t worry, your translations are not going to be modified.

4. Delete the plugin, so that you can install the new version. Note: if you cannot delete from inside WordPress, use an FTP program to delete the folders of WPML and its components from wp-content/plugins.

5. In the WordPress admin, go to Plugins -> Add New -> Upload and upload the ZIP files that you downloaded. Alternatively, if you cannot upload plugins directly to WordPress, unzip each file. A directory will be created. Then upload the unzipped directories to your site’s ‘wp-contents/plugins’ directory and overwrite the existing folders for WPML and its components.

6. Log in to your site, go to Plugins and activate WPML core first and then its components.

September 19, 2019 at 12:43 pm #4604821

Petros

Here is the debug.log

[19-Sep-2019 12:39:25 UTC] PHP Deprecated: Function create_function() is deprecated in /var/www/vhosts/thea.auth.gr/httpdocs/website/wp-content/plugins/linea-framework/Linea-framework.php on line 314
[19-Sep-2019 12:39:25 UTC] PHP Deprecated: Function create_function() is deprecated in /var/www/vhosts/thea.auth.gr/httpdocs/website/wp-content/plugins/linea-framework/Linea-framework.php on line 320
[19-Sep-2019 12:39:26 UTC] PHP Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /var/www/vhosts/thea.auth.gr/httpdocs/website/wp-content/plugins/js_composer/include/classes/core/class-vc-mapper.php on line 68
[19-Sep-2019 12:39:26 UTC] PHP Deprecated: Function create_function() is deprecated in /var/www/vhosts/thea.auth.gr/httpdocs/website/wp-content/plugins/linea-framework/Linea-framework.php on line 314
[19-Sep-2019 12:39:26 UTC] PHP Deprecated: Function create_function() is deprecated in /var/www/vhosts/thea.auth.gr/httpdocs/website/wp-content/plugins/linea-framework/Linea-framework.php on line 320
[19-Sep-2019 12:39:26 UTC] PHP Warning: Use of undefined constant WPML_TM_FOLDER - assumed 'WPML_TM_FOLDER' (this will throw an Error in a future version of PHP) in /var/www/vhosts/thea.auth.gr/httpdocs/website/wp-content/plugins/sitepress-multilingual-cms/classes/utilities/admin/class-wpml-admin-url.php on line 7
[19-Sep-2019 12:39:26 UTC] PHP Fatal error: Uncaught Error: Class 'WPML_Translation_Management' not found in /var/www/vhosts/thea.auth.gr/httpdocs/website/wp-content/plugins/sitepress-multilingual-cms/classes/utilities/admin/class-wpml-admin-url.php:7
Stack trace:
#0 /var/www/vhosts/thea.auth.gr/httpdocs/website/wp-content/plugins/sitepress-multilingual-cms/classes/upgrade/commands/class-wpml-upgrade-display-mode-for-posts.php(83): WPML_Admin_URL::multilingual_setup(7)
#1 /var/www/vhosts/thea.auth.gr/httpdocs/website/wp-content/plugins/sitepress-multilingual-cms/classes/upgrade/commands/class-wpml-upgrade-display-mode-for-posts.php(29): WPML_Upgrade_Display_Mode_For_Posts->get_notice_content()
#2 /var/www/vhosts/thea.auth.gr/httpdocs/website/wp-content/plugins/sitepress-multilingual-cms/classes/upgrade/class-wpml-upgrade.php(146): WPML_Upgrade_Display_Mode_For_Posts->run_admin()
#3 /var/www/vhosts/thea.auth.gr/httpdocs/website/wp-content/plugins/sitepress-multilingual-cms/classes/upgrade/class-wpml-upgrade.php(134): WPML_Upgrade->maybe_run_admin(Object in /var/www/vhosts/thea.auth.gr/httpdocs/website/wp-content/plugins/sitepress-multilingual-cms/classes/utilities/admin/class-wpml-admin-url.php on line 7
[19-Sep-2019 12:39:30 UTC] PHP Deprecated: Function create_function() is deprecated in /var/www/vhosts/thea.auth.gr/httpdocs/website/wp-content/plugins/linea-framework/Linea-framework.php on line 314
[19-Sep-2019 12:39:30 UTC] PHP Deprecated: Function create_function() is deprecated in /var/www/vhosts/thea.auth.gr/httpdocs/website/wp-content/plugins/linea-framework/Linea-framework.php on line 320
[19-Sep-2019 12:39:30 UTC] PHP Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /var/www/vhosts/thea.auth.gr/httpdocs/website/wp-content/plugins/js_composer/include/classes/core/class-vc-mapper.php on line 68
[19-Sep-2019 12:39:31 UTC] PHP Notice: Undefined variable: redirect in /var/www/vhosts/thea.auth.gr/httpdocs/website/wp-content/plugins/linea-framework/Linea-framework.php on line 55
[19-Sep-2019 12:39:32 UTC] PHP Deprecated: Function create_function() is deprecated in /var/www/vhosts/thea.auth.gr/httpdocs/website/wp-content/plugins/linea-framework/Linea-framework.php on line 314
[19-Sep-2019 12:39:32 UTC] PHP Deprecated: Function create_function() is deprecated in /var/www/vhosts/thea.auth.gr/httpdocs/website/wp-content/plugins/linea-framework/Linea-framework.php on line 320
[19-Sep-2019 12:39:33 UTC] PHP Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /var/www/vhosts/thea.auth.gr/httpdocs/website/wp-content/plugins/js_composer/include/classes/core/class-vc-mapper.php on line 68
[19-Sep-2019 12:40:30 UTC] PHP Deprecated: Function create_function() is deprecated in /var/www/vhosts/thea.auth.gr/httpdocs/website/wp-content/plugins/linea-framework/Linea-framework.php on line 314
[19-Sep-2019 12:40:30 UTC] PHP Deprecated: Function create_function() is deprecated in /var/www/vhosts/thea.auth.gr/httpdocs/website/wp-content/plugins/linea-framework/Linea-framework.php on line 320
[19-Sep-2019 12:40:30 UTC] PHP Warning: Use of undefined constant WPML_TM_FOLDER - assumed 'WPML_TM_FOLDER' (this will throw an Error in a future version of PHP) in /var/www/vhosts/thea.auth.gr/httpdocs/website/wp-content/plugins/sitepress-multilingual-cms/classes/utilities/admin/class-wpml-admin-url.php on line 7
[19-Sep-2019 12:40:30 UTC] PHP Fatal error: Uncaught Error: Class 'WPML_Translation_Management' not found in /var/www/vhosts/thea.auth.gr/httpdocs/website/wp-content/plugins/sitepress-multilingual-cms/classes/utilities/admin/class-wpml-admin-url.php:7
Stack trace:
#0 /var/www/vhosts/thea.auth.gr/httpdocs/website/wp-content/plugins/sitepress-multilingual-cms/classes/upgrade/commands/class-wpml-upgrade-display-mode-for-posts.php(83): WPML_Admin_URL::multilingual_setup(7)
#1 /var/www/vhosts/thea.auth.gr/httpdocs/website/wp-content/plugins/sitepress-multilingual-cms/classes/upgrade/commands/class-wpml-upgrade-display-mode-for-posts.php(29): WPML_Upgrade_Display_Mode_For_Posts->get_notice_content()
#2 /var/www/vhosts/thea.auth.gr/httpdocs/website/wp-content/plugins/sitepress-multilingual-cms/classes/upgrade/class-wpml-upgrade.php(146): WPML_Upgrade_Display_Mode_For_Posts->run_admin()
#3 /var/www/vhosts/thea.auth.gr/httpdocs/website/wp-content/plugins/sitepress-multilingual-cms/classes/upgrade/class-wpml-upgrade.php(134): WPML_Upgrade->maybe_run_admin(Object in /var/www/vhosts/thea.auth.gr/httpdocs/website/wp-content/plugins/sitepress-multilingual-cms/classes/utilities/admin/class-wpml-admin-url.php on line 7

September 19, 2019 at 12:47 pm #4604841

Petros

I will do a manual update now

September 19, 2019 at 12:55 pm #4604911

Lauren
Supporter

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

Great, please let me know if there is any change after the manual update.

September 19, 2019 at 1:02 pm #4604951

Petros

Finished with the manual update of:
sitepress-multilingual-cms.4.2.8
wpml-string-translation.2.10.6
wpml-translation-management.2.8.7

The error message "The site is experiencing technical difficulties." still appears.

The new debug.log:

[19-Sep-2019 12:58:59 UTC] PHP Warning: Use of undefined constant WPML_TM_FOLDER - assumed 'WPML_TM_FOLDER' (this will throw an Error in a future version of PHP) in /var/www/vhosts/thea.auth.gr/httpdocs/website/wp-content/plugins/sitepress-multilingual-cms/classes/utilities/admin/class-wpml-admin-url.php on line 7
[19-Sep-2019 12:58:59 UTC] PHP Fatal error: Uncaught Error: Class 'WPML_Translation_Management' not found in /var/www/vhosts/thea.auth.gr/httpdocs/website/wp-content/plugins/sitepress-multilingual-cms/classes/utilities/admin/class-wpml-admin-url.php:7
Stack trace:
#0 /var/www/vhosts/thea.auth.gr/httpdocs/website/wp-content/plugins/sitepress-multilingual-cms/classes/upgrade/commands/class-wpml-upgrade-display-mode-for-posts.php(83): WPML_Admin_URL::multilingual_setup(7)
#1 /var/www/vhosts/thea.auth.gr/httpdocs/website/wp-content/plugins/sitepress-multilingual-cms/classes/upgrade/commands/class-wpml-upgrade-display-mode-for-posts.php(29): WPML_Upgrade_Display_Mode_For_Posts->get_notice_content()
#2 /var/www/vhosts/thea.auth.gr/httpdocs/website/wp-content/plugins/sitepress-multilingual-cms/classes/upgrade/class-wpml-upgrade.php(146): WPML_Upgrade_Display_Mode_For_Posts->run_admin()
#3 /var/www/vhosts/thea.auth.gr/httpdocs/website/wp-content/plugins/sitepress-multilingual-cms/classes/upgrade/class-wpml-upgrade.php(134): WPML_Upgrade->maybe_run_admin(Object in /var/www/vhosts/thea.auth.gr/httpdocs/website/wp-content/plugins/sitepress-multilingual-cms/classes/utilities/admin/class-wpml-admin-url.php on line 7
[19-Sep-2019 12:59:02 UTC] PHP Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /var/www/vhosts/thea.auth.gr/httpdocs/website/wp-content/plugins/js_composer/include/classes/core/class-vc-mapper.php on line 68
[19-Sep-2019 12:59:03 UTC] PHP Notice: Undefined variable: redirect in /var/www/vhosts/thea.auth.gr/httpdocs/website/wp-content/plugins/linea-framework/Linea-framework.php on line 55
[19-Sep-2019 12:59:35 UTC] PHP Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /var/www/vhosts/thea.auth.gr/httpdocs/website/wp-content/plugins/js_composer/include/classes/core/class-vc-mapper.php on line 68
[19-Sep-2019 12:59:46 UTC] PHP Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /var/www/vhosts/thea.auth.gr/httpdocs/website/wp-content/plugins/js_composer/include/classes/core/class-vc-mapper.php on line 68
[19-Sep-2019 12:59:57 UTC] PHP Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /var/www/vhosts/thea.auth.gr/httpdocs/website/wp-content/plugins/js_composer/include/classes/core/class-vc-mapper.php on line 68
[19-Sep-2019 13:00:06 UTC] PHP Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /var/www/vhosts/thea.auth.gr/httpdocs/website/wp-content/plugins/js_composer/include/classes/core/class-vc-mapper.php on line 68
[19-Sep-2019 13:00:23 UTC] PHP Warning: Use of undefined constant WPML_TM_FOLDER - assumed 'WPML_TM_FOLDER' (this will throw an Error in a future version of PHP) in /var/www/vhosts/thea.auth.gr/httpdocs/website/wp-content/plugins/sitepress-multilingual-cms/classes/utilities/admin/class-wpml-admin-url.php on line 7
[19-Sep-2019 13:00:23 UTC] PHP Fatal error: Uncaught Error: Class 'WPML_Translation_Management' not found in /var/www/vhosts/thea.auth.gr/httpdocs/website/wp-content/plugins/sitepress-multilingual-cms/classes/utilities/admin/class-wpml-admin-url.php:7
Stack trace:
#0 /var/www/vhosts/thea.auth.gr/httpdocs/website/wp-content/plugins/sitepress-multilingual-cms/classes/upgrade/commands/class-wpml-upgrade-display-mode-for-posts.php(83): WPML_Admin_URL::multilingual_setup(7)
#1 /var/www/vhosts/thea.auth.gr/httpdocs/website/wp-content/plugins/sitepress-multilingual-cms/classes/upgrade/commands/class-wpml-upgrade-display-mode-for-posts.php(29): WPML_Upgrade_Display_Mode_For_Posts->get_notice_content()
#2 /var/www/vhosts/thea.auth.gr/httpdocs/website/wp-content/plugins/sitepress-multilingual-cms/classes/upgrade/class-wpml-upgrade.php(146): WPML_Upgrade_Display_Mode_For_Posts->run_admin()
#3 /var/www/vhosts/thea.auth.gr/httpdocs/website/wp-content/plugins/sitepress-multilingual-cms/classes/upgrade/class-wpml-upgrade.php(134): WPML_Upgrade->maybe_run_admin(Object in /var/www/vhosts/thea.auth.gr/httpdocs/website/wp-content/plugins/sitepress-multilingual-cms/classes/utilities/admin/class-wpml-admin-url.php on line 7
[19-Sep-2019 13:00:26 UTC] PHP Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /var/www/vhosts/thea.auth.gr/httpdocs/website/wp-content/plugins/js_composer/include/classes/core/class-vc-mapper.php on line 68
[19-Sep-2019 13:00:27 UTC] PHP Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /var/www/vhosts/thea.auth.gr/httpdocs/website/wp-content/plugins/js_composer/include/classes/core/class-vc-mapper.php on line 68
[19-Sep-2019 13:00:27 UTC] PHP Notice: Undefined variable: redirect in /var/www/vhosts/thea.auth.gr/httpdocs/website/wp-content/plugins/linea-framework/Linea-framework.php on line 55

September 19, 2019 at 1:13 pm #4605083

Petros

Following the suggestion in this post: https://wpml.org/forums/topic/fatal-error-class-wpml_sp_user-not-found-class-wpml-translation-management-p/
I have set
define('WP_MEMORY_LIMIT', '256M');
define('WP_MAX_MEMORY_LIMIT', '256M' );

The problem is solved

September 19, 2019 at 1:14 pm #4605087

Petros

My issue is resolved now. Thank you!