Skip Navigation

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

Problem:
The client translated a page, but only the header and footer are visible in the translated version, not the main content.
Solution:
We recommend running the following SQL query to update the post name, which might resolve the issue:

UPDATE `teqzwp_posts` SET `post_name` = 'page' WHERE `ID` = '717';

This changes the post name to 'page' for the post with ID '717'.

If this solution does not apply because it might be outdated or not suitable for your case, please check the related known issues and verify the version of the permanent fix. Ensure you have installed the latest versions of themes and plugins. If the issue persists, we highly recommend opening 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 9 replies, has 2 voices.

Last updated by Bruno Kos 7 months ago.

Assisted by: Bruno Kos.

Author Posts
July 9, 2024 at 7:30 am

riencov

Background of the issue:
We translated the page hidden link into English at hidden link. The header and footer are translated properly, but the content is not showing. I already translated the templates and all patterns. The 404 page is showing well: hidden link

Symptoms:
The content of the translated page is not showing, only the header and footer are visible.

Questions:
Why is the content of the translated page not showing?
Have I missed any steps in translating the templates and patterns?

July 9, 2024 at 7:56 am
July 9, 2024 at 12:30 pm #15920797

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

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

Can you remove this entry from the database and check then?

tax.jpg
July 9, 2024 at 12:34 pm #15920832

riencov

I removed it. After that i flushed the servercache. Unfortunately the content still doesn't show up.

July 9, 2024 at 2:42 pm #15921499

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

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

To troubleshoot this problem, I'll install the Duplicator plugin and generate packages for further debugging purposes. I'll ensure to exclude all media files to maintain a minimal package size. You can find more information about the process here: [link](https://wpml.org/faq/provide-supporters-copy-site/). Please confirm if this approach is acceptable to you.

July 9, 2024 at 2:53 pm #15921534

riencov

Yeah you're good to go. I created a extra backup.

July 10, 2024 at 6:20 am #15925814

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

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

Escalated to 2nd Tier, I will keep you posted!

July 12, 2024 at 7:54 am #15940675

riencov

Hi Bruno,

Please keep me posted, my customer is waiting for it.

July 15, 2024 at 5:22 am #15951934

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

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

Can you please try the following:

1. Run the following SQL query to update the post name:

   UPDATE `teqzwp_posts` SET
   `post_name` = 'page'
   WHERE `ID` = '717';

This will change the post name to 'page' for the post with ID '717' and should fix this issue.

July 15, 2024 at 6:56 am #15952408

riencov

Thanks, that worked. Do we need to update this every time we're creating a post?

July 15, 2024 at 7:33 am #15952563

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

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

I am not sure about that as we weren't able to reproduce the issue, we escalated this case to our developers to have a look also.