Pular para o conteúdo Pular para a barra lateral

Marcado: 

Este tópico contém 0, tem 0 vozes.

Última atualização: roaas 4 semanas atrás.

Assistido por: Noman.

Autor Posts
dezembro 11, 2025 às 12:46 pm #17655938

roaas

Dear WPML Support Team,

I am experiencing critical issues on my WordPress site, which uses WPML, Tutor LMS, Elementor, and the Edumall Theme. I have attempted all standard troubleshooting steps and require specialized assistance to resolve a core conflict.

1. 🛑 Critical Issue 1: Malformed Dashboard URLs (The Primary Concern)
When viewing the site in the secondary language (Arabic, using ?lang=ar), all links within the Tutor LMS Frontend Dashboard are incorrectly constructed, which causes the user to be redirected or displayed the wrong content.

WPML Language Format: I am using "Language name added as a parameter" (?lang=ar).

Incorrect URL Pattern: The links are built by placing the language parameter before the dashboard slug/endpoint.

Example of Incorrect URL: link oculto (instead of /dashboard/enrolled-courses?lang=ar)

Result: Users are often returned to the English version or a broken page when navigating the dashboard.

2. 📉 Critical Issue 2: Course Page Template/Content Failure
The main Course Listing Page in the Arabic language displays neither the template/design (built with Elementor) nor any course content (even courses that are not translated, where fallback should occur).

WPML Setting: The Courses post type is set to Translatable (use translation or fallback to default language).

3. ✅ Troubleshooting Steps Already Taken (Please Do Not Suggest These)
I have diligently followed troubleshooting guides and implemented custom code without success:

WPML Configuration:

Changed Page URL option to Copy from original language if translation language uses encoded URLs (to force consistent slugs).

Changed critical Custom Fields (e.g., insight_course_options, tutor_course_price, insight_product_options) to Copy instead of Translate to ensure structural settings are synchronized.

Changed Taxonomies (e.g., Course Categories, Course Tags) to Translatable (use translation or fallback).

Confirmed all synchronization settings (page template, taxonomy copy) are enabled.

WordPress Core:

Flushed Permalinks (Settings > Permalinks, Save Changes twice).

Switched to a default theme (like Twenty Twenty-Four) to test for theme conflict (issue persisted).

Caching: All levels of cache (WP Rocket/server cache) have been purged multiple times.

Custom Code (Redirection/Filtering): I attempted to fix the malformed URLs using PHP filters (home_url, tutor_dashboard_nav_items) and even Output Buffering techniques, but the generated links remain incorrect in the HTML output.

❓ Request for Resolution
I suspect this is a deep conflict between WPML's Query Parameter handling and the custom Rewrite Rules/Endpoints used by Tutor LMS for its Dashboard navigation.

Could you please investigate this specific interaction? I am prepared to provide admin access upon request.

Thank you for your prompt attention to these critical issues.

Best regards,