Skip to content Skip to sidebar

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.

Tagged: 

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

tjasaR

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

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

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:
- hidden link

Please let me know the specific page and steps so I can investigate further.

Best regards,
Dražen

June 10, 2026 at 7:56 am #18092327

tjasaR

For ecample here: hidden link

Learning courses page is ok bu at the bottom when you choose the course it takes you to another page.

Screenshot 2026-06-10 at 09-56-04 Learning courses – Erasmus Learning.png
Screenshot 2026-06-10 at 09-56-13 Search Results for “” – Erasmus Learning.png
June 10, 2026 at 7:57 am #18092358

tjasaR

And then we could open a ticket regarding tutor and wpml

June 10, 2026 at 11:31 am #18093047

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

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?
- Is the issue still related to the logo?
- Or is the "Start Learning" button redirecting to the wrong page?

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,
Dražen

June 10, 2026 at 11:39 am #18093129

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

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,
Dražen

June 10, 2026 at 11:41 am #18093130

tjasaR

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

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

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,
Dražen

June 10, 2026 at 12:00 pm #18093211

tjasaR

these two pages are not the same, on is the actual course, and the other is like login page. is it possible to have a video call and clarify?

Screenshot 2026-06-10 at 13-58-22 Split learning course tab there is the box but no logo - WPML.png
June 10, 2026 at 12:32 pm #18093293

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

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,
Dražen

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:
E+learning
E+learning - Polish
E+learning - Danish
E+learning - Slovenian
Checked that the Polish menu is connected as a translation of the English E+learning menu.
Ran WPML Menus Sync. WPML showed the correct mapped menu structure:
Homepage → Strona główna
About → O nas
Learning courses → Kursy edukacyjne
Register now → Strona rejestracji studentów
Applied the WPML menu synchronization.
Checked menu locations and tried assigning the main E+learning menu.
Recreated the WPML menu language switcher under WPML → Languages.
Cleared cache and tested in incognito.

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/

Screenshot 2026-06-11 at 06-37-52 Erasmus Learning.png
Screenshot 2026-06-11 at 06-38-11 Erasmus Learning.png
Screenshot 2026-06-11 at 06-38-55 Erasmus Learning.png
June 11, 2026 at 6:10 am #18095174

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

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,
Dražen

June 11, 2026 at 8:29 am #18095541

tjasaR

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

tjasaR

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:
WordPress: 7.0
PHP: 8.4.22
Theme: eLearning 2.1.6
Tutor LMS: 3.9.12

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:
E+learning
E+learning - Polish
E+learning - Danish
E+learning - Slovenian
Checked that the Polish menu is connected as a translation of the English E+learning menu.
Ran WPML Menus Sync. WPML showed the correct mapped menu structure:
Homepage → Strona główna
About → O nas
Learning courses → Kursy edukacyjne
Register now → Strona rejestracji studentów
Applied the WPML menu synchronization.
Checked menu locations and tested menu assignments.
Recreated the WPML menu language switcher under WPML → Languages.
Cleared cache and tested in incognito.

The problems still remain:

English menu works.
Polish/Danish/Slovenian menus do not display correctly.
The language switcher is not reliable across translated pages.
Polish Tutor LMS lesson pages can trigger a critical error because Tutor LMS receives a null course_id.

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

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

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.
- Previous issue was resolved or remains the same.

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,
Dražen