Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
If you're experiencing a broken layout on your translated homepage and a missing footer on all translated pages, it might be due to incorrect taxonomy settings and post slug modifications in the database.
Solution:
We found that the footer template post slug was incorrectly modified in the database and the taxonomies 'wp_template_part_area' and 'wp_theme' were unlocked, which should not be the case. Here's what we recommend you try:
1. Remove the incorrect terms from the 'icl_translations' table.
2. Re-translate the front-page and footer template parts.
3. Correct the post slug in the 'wp_posts' table by changing it from 'footer-2' back to 'footer'.
After these steps, please check your website again to see if the issue is resolved.
If this solution doesn't look relevant to your problem, please open a new support ticket with us.

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 25 replies, has 3 voices.

Last updated by Mateus Getulio 1 year, 6 months ago.

Assisted by: Mateus Getulio.

Author Posts
December 19, 2023 at 6:54 pm #15096061

halil-canO

sure, I am sharing the screen record. I tried the same thing for French, and lost the footer for it too 🙂
hidden link

December 19, 2023 at 7:39 pm #15096335

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello there,

Thank you very much for sharing the screen record, it is going to be quite useful.

I checked this out but so far I couldn't find a fix for it.

I asked my colleagues in the 2nd tier of support to have a look at this issue in order to see if there's anything I'm missing.

I'll come back here as soon as one of my colleagues reply back to me (which it shouldn't take long).

Thanks,

December 20, 2023 at 12:26 pm #15101921

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello,

Thank you for your patience while we debug this.

I thought that maybe I wasn't able to replicate the issue with the footer because I was working in the staging site, however, I went ahead and followed the same steps you did in the screen record in the live site for the German translation and it didn't break the footer.

There's no error logs to help us identify the source of this problem, which is making it specially tricky to debug it.

At this stage, I suspect the issue might be related somehow to your user, since I'm not able to reproduce the issue with the user you shared with us.

We need your help with confirming this scenario, for such, can you please proceed with these steps?

- Go to your site and notice that I fixed the footers once again.
- Edit one of the translations eg.: the German one, just like you did in the screen record to confirm that it will break the footer again.
- Log out from your account and log in using a different admin user(create a new one or use the temporary one you shared with me for my access)
- Try to edit another language, eg.: Arabic, and check if this is going to break the footer using other user to translate it.

After this test, please let us know which one applies:

1- Only translating with your user breaks the template
2- Translating with any user breaks the template
3- This time the footer didn't even get break at all

In our temporary staging copy of your site, we reset your username so we could login and perform the test above but in my tests in the staging site the footer didn't break, hence me asking you to perform this test on the live site this time.

Thank you for you comprehension and help with identifying the issue here.

December 20, 2023 at 9:08 pm #15105947

halil-canO

I tried with my account, WPML support, and a new admin account, yet they all had the same problem. I still don't understand how you can get different results by following the same procedure.

December 21, 2023 at 11:50 am #15109745

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello there,

We're making progress with our investigation.

I've temporarily disabled WPML Media and I also fixed the footer once more on the secondary languages for our next test.

Can you please test it one more time to see if without this plugin enabled the issue stops happening?

Thank you!

December 21, 2023 at 3:51 pm #15111963

halil-canO

hey!
I tried deactivating more unused wpml plugins, but the issue persists each time.

December 22, 2023 at 1:52 pm #15118351

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hi,

This is to let you know that I have escalated this ticket to our 2nd tier of support where our specialists will take a deeper look at this issue and will try to find a solution.

I will get back to you as soon as I get an answer from them.

Best regards,
Mateus

December 25, 2023 at 11:45 am #15126197

halil-canO

Hey,

My website's translation is almost complete, but this issue is preventing me from launching the other languages. I would appreciate any help to speed up the process.

Thanks.

December 26, 2023 at 6:52 pm #15130762

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello there,

This is to keep you informed that our 2nd tier support team continue to investigate this uncommon issue and will provide you with an update as soon as possible.

Please note that due to holidays there is a slight unusual response time.

We apologize and thank you for your patience.

We'll keep you posted!

January 2, 2024 at 7:40 am #15140317

halil-canO

is there any update about this issue?

January 3, 2024 at 2:59 pm #15147449

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello there,

I'm sorry for the delay with this.

Upon further inspection our team has been able to identify the issue and fix it.

We identified that the footer template post slug had been modified to 'footer-2' in the database, which is associated with the 'EN' term of the 'wp_template_part_area' taxonomy.

We noticed that in the default WPML settings, the taxonomies 'wp_template_part_area' and 'wp_theme' are typically locked. However, in your case, these settings were unlocked. It appears that this modification might have been made manually, leading to the translation of terms in the database, such as 'footer' and 'footer-fr'.

To address this, our 2nd tier team took the following steps:

- Removed the wrong terms from the 'icl_translations' table.
- Proceeded to re-translate both the front-page and footer template parts.
- Fixed the post slug in the 'wp_posts' table, changing it from 'footer-2' back to 'footer'.

After implementing these changes, we retested the system thoroughly. I'm pleased to report that the issue has been successfully resolved, and everything is functioning as expected now.

Can you please check it again and let us know?

January 4, 2024 at 6:19 am #15149197

halil-canO

Hey!

Now it's resolved 🙂 thanks a lot!

Have a nice day.