Problem: The client was experiencing a 'Too Many Redirects' error on course details pages when WPML String Translation was active in conjunction with Tutor LMS on their educational website. This issue did not occur on other pages or when WPML was deactivated.
Solution: We identified two main issues causing the problem: 1) The necessary WPML addon for Tutor LMS Pro was not activated. We recommended activating this addon through Tutor LMS Pro -> Addons -> WPML. 2) There was a corruption in the database option '[tutor_option]course_permalink_base', which stores the base slug for courses. We fixed this by searching for this option in String Translation, changing the language, removing it, and then redefining it in the settings first in Arabic and then back to English. We also removed its Arabic definition from String Translation to prevent future issues.
If this solution does not resolve your issue, or if it seems outdated or irrelevant to your 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.