Skip Navigation

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.

Sun Mon Tue Wed Thu Fri Sat
- 8:00 – 15:00 8:00 – 15:00 8:00 – 15:00 8:00 – 15:00 8:00 – 15:00 -
- 16:00 – 17:00 16:00 – 17:00 16:00 – 17:00 16:00 – 17:00 16:00 – 17:00 -

Supporter timezone: Europe/Rome (GMT+01:00)

This topic contains 5 replies, has 1 voice.

Last updated by Alejandro 1 week, 3 days ago.

Assisted by: Alejandro.

Author Posts
January 15, 2025 at 2:40 pm #16597713

lukasB-20

Background of the issue:
Ich versuche, eine zweisprachige Website mit Deutsch als Hauptsprache und Englisch zu betreiben. Wir haben von Polylang zu WPML gewechselt und die bestehenden Sprachversionen miteinander verbunden. Alles funktionierte korrekt, und der Sprachwechsel funktionierte einwandfrei. Heute ist plötzlich nur noch die deutsche Startseite sichtbar, keine der anderen Seiten. Die englischen Seiten werden korrekt angezeigt. Ich kann die deutschen Seiten duplizieren, und solange sie Entwürfe sind, werden sie angezeigt. Sobald ich sie veröffentliche, sind sie verschwunden. Wir verwenden das Divi-Theme. Auch im Backend laden die Elemente nicht, es dreht sich nur ein Spinner. Wenn ich dieselbe Seite wieder unveröffentliche, ist sie wieder verfügbar. Link zur Seite, auf der das Problem zu sehen ist: hidden link

Symptoms:
Die veröffentlichten deutschen Seiten sind nicht sichtbar und führen zu einem 404-Fehler, während die englischen Seiten korrekt angezeigt werden. Im Backend laden die Elemente nicht und es erscheint nur ein drehender Spinner.

Questions:
Warum sind die veröffentlichten deutschen Seiten nicht sichtbar?
Warum laden die Elemente im Backend nicht und zeigen nur einen Spinner?

January 15, 2025 at 8:17 pm #16599209

lukasB-20

We have tried several things but nothing worked. The German pages show the right slug but also a 404 error as if they don't exist. If you click the language switch to the English translation it directs you to the homepage. If you then go to the English page, which is shown correctly, use the language swith there, it directs you to the German page with the correct slug, but the missing page. So they are properly connected, but the German pages just dont show. With the exeption of the Homepage. I can duplicate German pages and all the elements are there, I can even look at the duplicated page as long as I dont publish it. If I create a new page, within the Divi or Standard editor, doesn't matter which, it will only show once published if the language is set to English, change it to German and gone it is. Same goes for duplicated pages.

All the pages showed up correctly when I first connected them. We are using the Events Manager Pro Plugin on the page. Now that there are events that need to be published I installed the Events Manager and WPML Compatibility Plugin as it was not possible to have different languages for the events without that. I can not really say if that changed something, I can't remember looking at other pages but unpublished events and the homepage yesterday, but disabling it for testing if that might have been the culprit did nothing today. Neither did changing the permalink structure or adding a /de/ before the rest of the pagename in the URL. If the lanuage is set to German, it won't show. Could you please check what is wrong with the page? This is really weird.

Oh, and I changed the translation editor to the classic one now, hoping that that would help, but it did not do anything as well.

January 15, 2025 at 11:56 pm #16599445

lukasB-20

In case you look at the page and wonder, why it is showing. I switched back to my backup from before the WPML installation, cause I cant have the live site not functioning at this time. I will try again to install it afresh tomorrow, but I would like to know if there are any known issues with the compatibility of the Events Manager Pro Plugin that could have caused this and if so, if you have any workarounds at this date.
Thank you for your help.

January 17, 2025 at 10:02 am #16605159

Alejandro
Supporter

Languages: English (English ) Spanish (Español ) Italian (Italiano )

Timezone: Europe/Rome (GMT+01:00)

Hi there Lukas!

I'm not a German supporter but I want to help you here because you really have a super weird issue happening here!

Would it be possible to do the following:

- work on a staging site and move the site again to WPML, if possible documenting it with a video (you can use a tool like loom.com to do it easily). Then send it my way.

- Once the migration is done, check if the problem is happening there as well.

- If it's happening, then do the following to start:
- Go to WPML -> Support -> Troubleshooting
-Press the following buttons:
• "Clear the cache in WPML"
• "Remove ghost entries from the translation tables"
• "Fix element_type collation"
• "Set language information"
• "Fix post type assignment for translations"

- If the problem persists, check if you have any type of custom coding anywhere and remove it for the time being.

- Disable all the plugins except WPML and see if the problem continues.

If it does then send me a reference link where i can see the problem and let's use that to communicate better in the upcoming replies. If possible allow me access to that staging site so I can investigate what's going on.

January 21, 2025 at 4:24 pm #16619848

lukasB-20

I have not yet been able to get a staging site for this website unfortunately. I can provide you with some additional info on the steps I tried last week after my last answer: I did switch back to the newest backup, with WPML running and first tried all the things in the troubleshooting section. As non of these helped I deactivated it as suggested in the support section, including the deletion of the DB-entries. After that the site worked again. So I tried to setup WPML again and this time the German pages didnt even show up before being connected to their English counterparts. So I deactivated WPML again.

I would really like to get it to work, because the Events Manager Pro only seems to work in multiple languages with WPML and they also planned to set up a business directory this year with also requires WPML for multilingual support.

Would it help if I install Duplicator and provide a backup created with that?

Thanks for your help!

January 21, 2025 at 4:42 pm #16619988

Alejandro
Supporter

Languages: English (English ) Spanish (Español ) Italian (Italiano )

Timezone: Europe/Rome (GMT+01:00)

Yes, that would help, but please try to make the backup as light as possible by removing things like other external resources, media files, etc.

Then please provide a reference page and steps that you take (or even just a quick video showing the entire problem with the steps you take to make it visible) and I'll use that to use exactly those steps. This will help us save time and communicate better avoiding possible confusion.

Regards.

Once the duplicator or even "wp All In One Migration" file has been created, upload it into a place like google drive, wetransfer or any other similar platform of your choosing and send me the shared link.

Regards,