Problem: If you're experiencing issues where your site defaults to English and does not switch back from Arabic correctly, the problem might be related to your site's configuration. Solution: We recommend checking your
Please remove these lines and see if that resolves the issue. This adjustment should help in correctly switching the languages on your site.
Keep in mind that this solution might be outdated or not applicable to your specific case. We highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket.