Passer au contenu Passer à la barre latérale

Il s'agit du forum d'assistance technique de WPML, le plug-in multilingue pour WordPress.

Il est accessible à tous, toutefois seuls les clients de WPML peuvent y publier leurs messages. L'équipe du WPML répond sur le forum 6 jours par semaine, 22 heures par jour.

Marqué : 

Ce sujet contient 5 réponses, a 2 voix.

Dernière mise à jour par Nicolas V. Il y a 1 année et 10 mois.

Assisté par: Nicolas V..

Auteur Messages
février 5, 2024 à 9:16 pm #15268400

ahmedB-28

Dear WPM Support Team,

I hope this message finds you well. I am reaching out to report a critical issue that has arisen on our website following the activation of WPML plugin, which is affecting the functionality of the Tutor LMS courses page across all language versions.

Issue Description:
After enabling WPML to manage multilingual content, the 'All Courses' page on our website has ceased to function correctly in both the default language (English) and other languages. Specifically, when accessing the 'All Courses' page in English, an erroneous listing titled "All Courses" appears, which oddly references the current page itself. Furthermore, when attempting to access the translated versions of this page, the layout breaks down entirely, defaulting to what appears as a standard archive page layout, rather than displaying the regular Tutor LMS courses page design.

Troubleshooting Attempted:
Verification of WPML and Tutor LMS plugin settings to ensure correct configuration.
Cache clearing on both the website and browser levels to rule out caching issues.
we are using Astra Pro as theme.

Request for Assistance:
Could you please provide guidance on resolving this integration issue? Our primary goal is to restore the 'All Courses' page functionality in all languages as intended with Tutor LMS during this development phase of the website.

Additional Information:
The "all courses" TutorLMS page URL : lien caché
Tutor LMS version: 2.6.0
WPML (multi-lingual CMS) version: 4.6.9

Debugging Steps for WPML Integration Issue on Tutor LMS Courses Page

Initial Observation:
Navigate to the "All Courses" page of TutorLMS at lien caché.

Expected Outcome:
The page should display 3 test courses.

Actual Outcome:
Only one element is visible in the list, which erroneously represents the page itself, adopting the title "Find Your Course" - the actual title of the 'All Courses' page.

Issue Details Before and After WPML Activation:
Before WPML Activation: The page was functioning correctly, displaying all courses as intended.

After WPML Activation: The described issue emerged, indicating a potential conflict or misconfiguration between WPML and Tutor LMS.

Interaction with Filtering Elements:
Action: Select any filtering option on the left panel of the 'All Courses' page.
Result: The incorrect listing (the page representing itself) disappears, and the correct courses are then displayed. This behavior suggests that the issue might be linked to how WPML interacts with Tutor LMS's course listing or filtering functionalities.

Secondary Bug - Language Redirection Issue:
Action: Switching the website language to French.
Expected Redirect: The French version of the 'All Courses' page should load, ideally at lien caché.
Actual Redirect: The browser redirects to an incorrect archive page with an unrelated URL pattern (lien caché). This URL does not correspond to the expected structure for the French version of the courses page, indicating a possible issue with WPML's language redirection or URL translation settings.

Request for WPML Support:
Assistance is requested to diagnose and resolve these two critical issues affecting the Tutor LMS 'All Courses' page following WPML integration.
Insights into potential misconfigurations or steps to ensure correct WPML setup for Tutor LMS course pages across different languages would be highly appreciated.

Your prompt attention to this matter would be immensely appreciated, as it is crucial for our ongoing development of our educational offerings. Please let me know if further information or access is required to diagnose and address this issue.

Thank you for your time and assistance.

Best regards,

Ahmed BEN SALEM

février 6, 2024 à 1:19 pm #15271960

Nicolas V.
Supporter

Les langues: Anglais (English ) Français (Français )

Fuseau horaire: America/Lima (GMT-05:00)

Bonjour,

Merci d'avoir contacté le support de WPML. Pour une assistance plus rapide, j'ai activé un message privé où vous pouvez fournir vos informations de débogage. Cela me permettra de mieux comprendre la configuration de votre site. Veuillez suivre ces instructions:
https://wpml.org/fr/faq/comment-fournir-des-informations-de-debogage-pour-une-assistance-plus-rapide/
En résumé:
- Allez dans "WPML > Assistance > Information de débogage" (lien)
- Copiez l'information.
- Puis trouvez le champ privé que j'ai activé pour la coller.

---

En attendant ce fichier je peux déjà vous offrir une réponse. Comme vous le verrez sur notre listing: https://wpml.org/plugin/tutor-lms-pro/
- Seulement la version PRO est compatible avec WPML
- Et nécessite leur plugin additionnel "WPML Addon"
- De notre côté il faut avoir WPML CMS et String translation

Si vous avez tous ces plugins installés, vous pouvez suivre leur documentation: lien caché

PS: Comme "WPML Addon" est leur plugin, si vous avez des question relatives à son fonctionnement n'hésitez pas à contacter leur support.

février 7, 2024 à 9:38 am #15275565

ahmedB-28

bonjour voici mes infos de déboggage

février 7, 2024 à 1:26 pm #15276757

Nicolas V.
Supporter

Les langues: Anglais (English ) Français (Français )

Fuseau horaire: America/Lima (GMT-05:00)

Bonjour Ahmed,

Veuillez installer le plugin WPML addon de TutorLMS. Ensuite suivez cette documentation: lien caché

février 7, 2024 à 1:43 pm #15276873

ahmedB-28

bonjour l'addon en question est installé et activé
souhaitez vous un accès en admin au site wordpress ?

Capture d’écran 2024-02-07 à 14.42.01.png
février 7, 2024 à 5:30 pm #15278190

Nicolas V.
Supporter

Les langues: Anglais (English ) Français (Français )

Fuseau horaire: America/Lima (GMT-05:00)

Bonjour,

Oui un accès admin (si possible à une copie staging du site) sera plus pratique qu'un appel.

1. J'ai activé un champ privé pour votre prochaine réponse où vous pourrez partager ces informations de manière confidentielle avec notre support. Ne partagez pas votre propre compte admin, créez un nouveau compte que vous pourrez éliminer une fois l'assistance terminée.

IMPORTANT: Avant de continuer, faites un backup complet de votre site et base de données.

2. Je vais annuler l'appel "Coaching session" prévu dans un moment car il s'agit d'un problème technique à résoudre sur le support.

février 11, 2024 à 11:56 am #15289435

ahmedB-28

on a trouvé un contournement, passer par le shortcode. je pense que c'est un problème avec TutoLMS qu'ils vont corriger. je propose de clôturer le ticket ici car ne concerne pas votre plugin mais le leur