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.

This topic contains 5 replies, has 2 voices.

Last updated by Marsel Nikolli 1 year, 8 months ago.

Assisted by: Marsel Nikolli.

Author Posts
October 18, 2023 at 11:37 am #14603551

larsH-11

Tell us what you are trying to do?

Hi i am trying to translate a website (using Divi theme builder) and advanced translator. But it only shows the page title and no content at all. I have not had this issue before.

Is there any documentation that you are following?

I saw this on the forum : https://wpml.org/forums/topic/advanced-translator-only-showing-title-of-page/

I have the same issue, but i dont know if i have the same database issue. I am not getting any errors.

What is the link to your site?

hidden link

Im using my clients WPML account.

October 19, 2023 at 12:53 pm #14614931

Marsel Nikolli

Hi,

Thank you for contacting WPML Support.

1) Can you please tell me how you create the content in the default language?
2) In order to check if you have the same issue as the ticket you mentioned, please provide me with the WordPress debug.log, this will allow us to see if any PHP errors are being produced. Please check our documentation: https://wpml.org/documentation/support/debugging-wpml/

*if there is anything showing on the debug.log file, please paste the file content to https://pastebin.com/ and provide me with that link.

3) I see from the debug info that the "WP Memory Limit" is set to 40M. WPML requires a memory limit of at least 128MB while 256MB is recommended. You can set the WP Memory Limit by adding the following code in your wp-config.php file, right before the line /* That's all, stop editing! Happy publishing. */:

define( 'WP_MEMORY_LIMIT', '128M' );
define( 'WP_MAX_MEMORY_LIMIT', '256M' );

For more see: https://wpml.org/faq/checklist-before-opening-a-ticket-in-wpml-support/#how-can-i-increase-my-sites-memory-limit

After you add the code, you would need to re-save the default language page and re-translate it in order to see if the same issue happens again and let me know.

Looking forward to your reply,
Marsel

October 20, 2023 at 10:07 am #14622525

larsH-11

Hi,

Im using the Divi theme webbuilder, i have used it before with wpml but never got this issue. Usually works perfect ;).

I increased the limits and now its giving me several errors. I triggered them a few times so there are some duplicates in the pastebin. the log :
https://pastebin.com/U5weGB9k

re-saving after some changes did not resolve the issue. I still only see the page title in the translator.

October 20, 2023 at 12:53 pm #14623711

Marsel Nikolli

Hi there,

Thank you for the debug.log info and the information you provided.

1) In order to further investigate the issue I would require you to try to reproduce the issue on a staging/testing environment with a minimal setup, meaning:

- set Divi theme on WP
- active only WPML Plugins and necessary plugin/s to reproduce the issue
- disable all the other plugins

2) Alternatively, I would require you to provide a copy of your website so I can perform further tests, in this case, you can use the plugin Duplicator:
Please follow our guide for more: https://wpml.org/faq/provide-supporters-copy-site/

I set your next reply as private in order for you to provide the Duplicator package.

Let me know if have any questions,
Marsel

October 25, 2023 at 4:28 pm #14663231

Marsel Nikolli

Hi,

Thank you for the duplicator package and the related information about the testing you did.

I need to escalate this ticket to our 2nd tier support team regarding the issue and will update you as soon as I get their reply.

Regards,
Marsel

Best regards,

October 26, 2023 at 12:33 pm #14670353

Marsel Nikolli

Hi there,

I got an update from the team and it seems that the issue happens because of the large value of post IDs, they are like 10000001215. Due to that, the WPML logic is failing, this might be fixed in future updates but for now please follow these steps:

1) Make sure you have a complete backup of your site files and DB
2) On PHPMyAdmin or any other database manager you are using, run this query:

ALTER TABLE `2tgapr_icl_string_packages` CHANGE `post_id` `post_id` BIGINT NULL DEFAULT NULL;

3) Go to WPML > Packages and delete the package for the Post ID that is not working.
4) Edit the post, make a small change and update it, then translate it.

After these steps, you should see the page title and content.

Please let me know if this works out or if you need further help.

Looking forward to your reply,
Marsel

October 27, 2023 at 12:42 pm #14678989

larsH-11

Following your steps worked, i did get some other errors but i fixed those! I can translate everything now like normally again. Thanks!