You can troubleshoot language configuration problems in WPML by enabling a PHP debug file, resetting and reactivating WPML, going through the language setup again, or getting help from our support team if these steps don’t resolve the issue.
1. How do I enable a PHP debug file?
When you activate WPML, it creates language tables in your database. We need to know if anything went wrong during that critical initialization phase. For that, we’ll need to see a full log of the PHP errors and warnings.
Follow the steps for debugging WPML. You need to enable the error log file and not the error output to the screen.
If this file becomes loaded with issues, don’t panic. You’re seeing every notice, warning and (unfortunately) errors created by WordPress, your theme and all plugins. We’ll know what to get from that file.
2. How can I reset WPML and reactivate it?
Now that you’re logging errors, let’s start from scratch.
Go to WPML → Support page. Open the link that leads to Troubleshootingpage. At Troubleshooting page click on “Reset all language data and deactivate WPML”. There’s a safely checkbox above that button. This isn’t a toy button. It’s going to completely reset WPML and permanently delete language information from your site. Do this only if you haven’t configured WPML and you don’t have any translations yet.
After this, go again to Plugins and enable WPML.
3. What should I do if the error persists when repeating the languages setup?
If you’re seeing the same error as before, do one more thing – check for any JavaScript errors.
WPML’s language configuration screen uses JavaScript. If anything in your site is causing a JavaScript error, you’ll notice it here.
You can use Chrome or Firefox. Click on Tools → JavaScript console and reload this page. The console should be clean. If there’s any message, let us know exactly what it says.
4. How can I get help from WPML?
Go to our technical forum, start a new thread, tell us which versions of WordPress and WPML you’re using, what other plugins are active and what’s your theme. Also, tell us about your type of web server.
Even if you see similar threads, please start your own. Everyone has a different set of plugins and different theme and problems are different. We want to help you with your problem, not someone else’s.