This thread is resolved. Here is a description of the problem and solution.
Problem:
The client reported issues with WPML and Tutor LMS on a WordPress site, where after translating a Polish course, the menu items and language switchers were not displaying correctly in Polish, Danish, and Slovenian. Additionally, a critical error occurred in Tutor LMS when accessing a translated Polish lesson page, indicating a disconnection from its parent course.
Solution:
We identified that the client had pages and courses with the same names and slugs in multiple languages, which likely caused the navigation and course access issues. We advised the client to:
1. Ensure that all course elements, including topics, lessons, quizzes, and other components, are fully translated. Refer to the Tutor LMS WPML documentation: https://docs.themeum.com/tutor-lms/addons/wpml/
2. Delete any duplicate pages that might conflict with the course pages.
3. Create a dedicated Tutor LMS dashboard/course page in the default language, configure it in Tutor LMS settings, and then translate it using WPML to ensure correct page usage across languages.
4. Edit the pages to have unique slugs across the default language and translated pages, ensuring they do not match the course slugs.
If these steps do not resolve the issue or if the solution seems outdated or not applicable 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. For further assistance, please open a new support ticket at WPML support forum.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
This topic is split from https://wpml.org/forums/topic/combination-wordpress-tutor-lms-and-wpml/
Tagged: Exception
This topic contains 14 replies, has 0 voices.
Last updated by Dražen 1 month ago.
Assisted by: Dražen.
| Author | Posts |
|---|---|
|
June 10, 2026 at 6:17 am
#18091962
|
|
|
Hello now it works also added the lang switcher. Thanks . Now, in learning course tab there is the box, but no logo, when i switch to Polish lets say and back to eng, the logo apears.? In other languages it does no show up at all. Also if you click on ti in eng it takes you to the course, but not in PL, DA, SL?! |
|
|
June 10, 2026 at 6:20 am
#18091967
|
|
|
Hello, Regarding the logo issue in the Learning Courses section, could you please share the exact URL and the steps needed to reproduce the problem? Does this happen in the default language as well, or only in the translations? I checked the Learning Courses page on my end, and the logo appears correctly: Please let me know the specific page and steps so I can investigate further. Best regards, |
|
|
June 10, 2026 at 7:56 am
#18092327
|
|
|
June 10, 2026 at 7:57 am
#18092358
|
|
|
And then we could open a ticket regarding tutor and wpml |
|
|
June 10, 2026 at 11:31 am
#18093047
|
|
|
Hello, Sorry, but I am a bit confused about the current issue. Initially, you reported an issue with the logo, but now it seems the issue may be related to the course image or the "Start Learning" button/link at the bottom of the page. Also, the link you shared does not appear to be the correct Slovenian URL. The Slovenian page seems to be: hidden link Could you please clarify what exactly is not working? - Is the course image missing on the translated version? If the issue is related to the course image or button/link, please note that Tutor LMS courses require all related content to be translated as well, including topics, lessons, quizzes, and other course components. Please review the Tutor LMS WPML documentation and make sure all course elements have been translated: hidden link Once you clarify the exact issue, I'll be happy to investigate further if needed. Regards, |
|
|
June 10, 2026 at 11:39 am
#18093129
|
|
|
Hello again, I also noticed that you have both a page called "Pageturners Online Course" and a Tutor LMS course with the same name, including their translations in other languages. I don't believe this setup is correct and it may be causing the issues you're experiencing. Typically, you should have one course and its translations, rather than same named pages. For example, this appears to be your Slovenian course: hidden link While this is a separate Slovenian page with a same name and slug: hidden link Having both may create confusion for you, Tutor LMS and visitors, especially if one is being used as a course page and the other as a regular WordPress page. I would advise deleting those duplicate pages, and create new one that you are going to use as Tutor LMS dashboard, instead current one that you have set. Please review setup and let me know if any questions. Regards, |
|
|
June 10, 2026 at 11:41 am
#18093130
|
|
|
If you click to enter the course it goes nowhere. Also if you open eng, the course logo is not visible. But if you switch to Polish lets say and back to Eng it apears??? I also emptied all trash from tutor in all lang. Now question, if I delete all courses in Polish, Danish and Slovenian, and leave just the eng master. Could i translate it again, and would i have to use credits again. |
|
|
June 10, 2026 at 11:49 am
#18093155
|
|
|
Hello, The reason for this confusion and the incorrect behavior is, as explained in my previous reply, please check: https://wpml.org/forums/topic/split-learning-course-tab-there-is-the-box-but-no-logo/#post-18093129 You currently have a page with the same name as your Tutor LMS course. Because of this, the English version opens the correct course page, while the Slovenian version opens the regular page instead of the translated course. Please review my previous reply carefully. I recommend removing the duplicate pages that share the same purpose and name as the courses. After that, create a dedicated Tutor LMS dashboard/course page in the default language, configure it in Tutor LMS settings, and then translate it with WPML. This should ensure that the correct translated course pages are used in all languages. Regards, |
|
|
June 10, 2026 at 12:00 pm
#18093211
|
|
|
June 10, 2026 at 12:32 pm
#18093293
|
|
|
Hello, I understand that, thanks for sharing. You do not necessarily need to delete either of them. However, they are using the same slug structure, which is likely the source of the issue. Please edit those pages and make sure that the slugs are unique across default language and translated page and not same as your course slugs. Page and course currently have currently same title and slug and it is causing issue for you as described in my previous reply. Unfortunately, we do not provide video calls through support. Regards, |
|
| June 11, 2026 at 4:46 am #18095034 | |
| tjasaR |
Hello WPML Support, I need urgent help with a WPML menu/language switcher issue on my WordPress site. I am using WPML together with Tutor LMS for an Erasmus+ e-learning course. The English course is the master version. To make the correct final course items easy to identify in WPML, I temporarily added a “PT-” prefix to the English master course/module/lesson titles. This was only done so I could clearly identify the final PageTurners items during translation. Before I started the new Polish translation, all menus worked correctly in all languages: English, Polish, Danish, and Slovenian. The language switcher was also visible and working correctly in all languages. After translating the Polish course content and working with the translated menus, the menu system broke. Now the English menu still works correctly, including the language switcher, but in Polish, Danish, and Slovenian the header only shows the logo/site title/search icon. The menu items disappear, and the language switcher is also missing. The footer language switcher also appears only in English. I already tried the following: Checked that the translated menus exist: The issue still remains: English works, but Polish/Danish/Slovenian menus and language switchers do not display on the frontend. This is a serious issue because before the Polish translation process everything worked correctly in all languages. Now the multilingual navigation is broken, which makes the course unusable for participants in the translated languages. Please investigate and fix the WPML menu/language switcher configuration or any database/menu-language relationship issue that may have been caused during translation/menu sync. I need the menus and language switcher restored in all languages. If WPML cannot make the multilingual menus and language switcher work reliably with this setup, then I will need to request a refund, because the plugin is currently not functioning correctly for the multilingual course structure I purchased it for. As now i spent 3 days just adjusting and editing and in the end wpml mage own copies of menus etc. Thank you. New threads created by Dražen and linked to this one are listed below: https://wpml.org/forums/topic/split-help-with-a-wpml-menu-language-switcher-issue/ |
|
June 11, 2026 at 6:10 am
#18095174
|
|
|
Hello, To help you as quickly as possible, let's focus on the original issue from this ticket first. Some of the topics from your recent replies are different issues, so I have opened a separate ticket for one of my colleagues to assist you with those. Could you please let me know if you still need help with the original issue reported in this ticket? If yes, please reply to my last message and let me know how it goes, so I can further help. Keeping one issue per ticket helps us resolve things much faster and avoids confusion. Regards, |
|
|
June 11, 2026 at 8:29 am
#18095541
|
|
|
Yes menus across languages , either mixed, missing, also the language switcher is present in eng, in header and footer, in other languages not. you have access, can you fix it please. |
|
|
June 11, 2026 at 9:31 am
#18095910
|
|
|
Hello WPML Support, I need urgent support because the multilingual setup is now breaking both the menus and Tutor LMS translated lesson pages. I am using WordPress with Tutor LMS, WPML, and the eLearning theme. The English course is the master version. I temporarily added a “PT-” prefix to the English master course/module/lesson titles so the correct final PageTurners course items could be clearly identified during translation. Before creating the new Polish translation, all menus worked correctly in English, Polish, Danish, and Slovenian. The language switcher also worked correctly in all languages. After translating the Polish course content and using WPML menu synchronization, the multilingual navigation broke. English still displays the full menu and language switcher correctly, but Polish, Danish, and Slovenian no longer display the menu items correctly in the header. In some cases only the logo/site title/search icon appear. I also now get a critical Tutor LMS error when opening a translated Polish lesson page. The error shown is: Uncaught TypeError: TUTOR\Course_List::is_public(): Argument #1 ($course_id) must be of type int, null given, called in /wp-content/plugins/tutor/templates/single/lesson/lesson_sidebar.php on line 37 Environment shown in the error screen: This suggests that the translated Polish lesson is not correctly connected to its parent Tutor LMS course/course ID, so Tutor LMS receives a null course_id when loading the lesson sidebar. I already tried the following: Checked that the translated menus exist: The problems still remain: English menu works. Please investigate and fix the WPML/Tutor LMS relationships for the translated course, lessons, and menus. I need the translated Tutor LMS lessons to remain correctly attached to their translated course and the translated menus/language switcher to work again in all languages. This worked before the new Polish translation process, so something in the WPML translation/menu synchronization process appears to have broken the multilingual course/menu relationships. If this cannot be fixed, I will need to request a refund, because WPML is currently not functioning reliably for the multilingual Tutor LMS course structure I purchased it for. Thank you. |
|
|
June 11, 2026 at 9:43 am
#18095932
|
|
|
Hello, We are doing our best to help you, but at the moment it is becoming difficult to make progress because my previous replies and questions have not been addressed. As I have mentioned several times, it is important that we handle one issue at a time. This helps keep the investigation clear and allows us to identify the cause of a problem more efficiently. I have already provided suggestions and troubleshooting steps for the original issue and other related that could be cause, but I have not yet received confirmation from you on whether: - You followed the suggested steps and translation suggestion. At the same time, new and unrelated issues are being added to this ticket, which makes it much harder to track and troubleshoot the original problem. For the latest issue you reported, I have opened a separate ticket so that it can be handled there. We will check and continue to help on it there. I understand that you are facing multiple problems and need assistance quickly. If you require more immediate back-and-forth communication, you can also start a new chat support session, where you can discuss the issue in real time and often reach a solution faster. Thank you for your cooperation and understanding. Regards, |
|





