This thread is resolved. Here is a description of the problem and solution.
Problem:
Fatal error after installing WPML.
Ein Fehler vom Typ E_ERROR wurde in der Zeile 404 der Datei wp-content/plugins/sitepress-multilingual-cms/sitepress.php verursacht. Fehlermeldung: Uncaught Error: Class "WPML_Troubleshoot_Action" not found in wp-content/plugins/sitepress-multilingual-cms/sitepress.php:404
Solution:
- Backup the site completely to prevent any issues.
- Deactivate and delete WPML Plugin files.
- Install WPML freshly again from fresh files.
Relevant Documentation:
N/A
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.
The site threw the error below today on this page: hidden link – without previous modifications of any post.
To not be confronted with more of this, I would like to know why this happened.
Ein Fehler vom Typ E_ERROR wurde in der Zeile 404 der Datei /home/clients/c5f0ab5eace616f72c623ed507b51e81/sites/solar21.ch/wp-content/plugins/sitepress-multilingual-cms/sitepress.php verursacht. Fehlermeldung: Uncaught Error: Class "WPML_Troubleshoot_Action" not found in /home/clients/c5f0ab5eace616f72c623ed507b51e81/sites/solar21.ch/wp-content/plugins/sitepress-multilingual-cms/sitepress.php:404
Stack trace:
#0 /home/clients/c5f0ab5eace616f72c623ed507b51e81/sites/solar21.ch/wp-includes/class-wp-hook.php(308): wpml_troubleshoot_action_load('')
#1 /home/clients/c5f0ab5eace616f72c623ed507b51e81/sites/solar21.ch/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
#2 /home/clients/c5f0ab5eace616f72c623ed507b51e81/sites/solar21.ch/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#3 /home/clients/c5f0ab5eace616f72c623ed507b51e81/sites/solar21.ch/wp-admin/admin.php(175): do_action('admin_init')
#4 /home/clients/c5f0ab5eace616f72c623ed507b51e81/sites/solar21.ch/wp-admin/edit.php(10): require_once('/home/clients/c...')
#5 {main}
thrown
Languages: English (English )Spanish (Español )French (Français )
Timezone: Europe/Paris (GMT+01:00)
Hello there,
Welcome to WPML support forum.
Could you uninstall and install your WPML package manually?
============================
==>Backup your website and database <==
============================
-Deactivate all WPML plugins.
-Login via FTP to your wp-content/plugins/ folder.
-Delete all WPML folders.
-Go to http://wpml.org/my-account/downloads/ and download the latest WPML Multilingual CMS Plugin, then extract it.
-Upload the plugin via FTP to wp-content/plugins/ folder.
(alternatively you could upload the .zip folder using Dashboard > Plugins > new > upload)
-Activate the WPML plugin via WP Dashboard > plugins.
-Complete the setup, if needed.
-Register WPML for your site (at the end of setup, click on “generate key” button).
-Navigate to Dashboard > Plugins and locate WPML Multilingual CMS.
-Click on the blue link that says “Registered”.
-Download and activate all needed WPML AddOn Plugins.