Background of the issue:
I am trying to set up all settings for the WPML plugin. However, when I activate the plugin, I encounter issues during the setup process.
Symptoms:
I received a 502 error upon activating the plugin. During the setup process, each step did not refresh the page after clicking continue. Additionally, the Translation Management feature does not load all posts.
Questions:
Why do I get a 502 error when activating the plugin?
Why doesn't the page refresh during the setup process?
Why doesn't Translation Management load all posts?
- IMPORTANT STEP! Create a backup of your website. Or better approach will be to test this on a copy/staging version of the website to avoid any disruption of a live website.
- Switch to the default theme such as "TwentyTwenty" by going to "WordPress Dashboard > Appearance > themes".
- Go to "WordPress Dashboard > Plugins" and deactivate all plugins except WPML and its add-ons.
- Check if you can still recreate the issue.
- If not, re-activate your plugins one by one and check the issue each time to find out the plugin that causes the problem.