This thread is resolved. Here is a description of the problem and solution.
Problem:
If you're trying to enable the WPML plugin on your site but cannot access the wp-admin after doing so, it might be due to a compatibility issue with other plugins or your theme. Specifically, you might encounter an error message preventing access to the wp-admin.
Solution:
First, ensure you are using WPML version 4.7.6 and enable the WordPress Debug log to collect more details about the issue. Modify your wp-config.php file as follows:
// Enable WP_DEBUG mode define( 'WP_DEBUG', true ); // Enable Debug logging to the /wp-content/debug.log file define( 'WP_DEBUG_LOG', true ); // Disable display of errors and warnings define( 'WP_DEBUG_DISPLAY', false ); @ini_set( 'display_errors', 0 );
After enabling debugging, reproduce the issue and check the debug.log file in the /wp-content/ directory for any errors related to WPML. If you find errors such as a PHP Fatal error related to the SimpleXML extension, this indicates that the SimpleXML extension is not active on your server. Contact your hosting provider to enable the SimpleXML extension. For more information, visit the following links:
- Debugging WPML
- Debugging in WordPress
- WPML Support Forum 1
- WPML Support Forum 2
- PHP 7 Possible Issues with SimpleXML
If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your case, we highly recommend checking related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If needed, please open a new support ticket.
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 4 replies, has 0 voices.
Last updated by 5 days, 19 hours ago.
Assisted by: Bigul.