Skip Navigation

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

Problem:
The client was unable to duplicate posts while editing, translated posts were not linked to the original English posts, and there were errors when editing posts with Elementor on their WordPress site.
Solution:
We installed a local copy of the client's site to investigate the issues. We discovered that the problems were related to incorrect database records for the existing posts. After correcting these on our local setup, we imported the posts back to the client's site, which resolved the issues. We recommend the client to verify if the connecting translations and duplicating functions are now working correctly.

Please note that this solution might be outdated or not applicable to your specific case. If the problem persists, 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. If needed, please open a new support ticket at WPML support forum for further assistance.

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 4 replies, has 1 voice.

Last updated by Osama Mersal 5 months ago.

Assisted by: Osama Mersal.

Author Posts
December 4, 2024 at 9:50 am #16475485

camillef-5

Background of the issue:
I am trying to translate the posts on my site hidden link using WPML.

Symptoms:
1- Cannot duplicate the post while editing. 2- Translated posts are not linked to the original English posts and are published as new independent posts. 3- Encountering errors when editing posts with Elementor.

Questions:
Why can't I duplicate the post while editing?
Why are translated posts not attached to the original English posts?
Why do I encounter errors when editing posts with Elementor?

December 5, 2024 at 12:10 pm #16481364

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting the support. Meanwhile this ticket is attended by one of my colleagues, please consider following to your queries:

1) Please note that post duplication is only available for post types that use the translation setting Translatable – only show translated items. I'll recommend checking this guide https://wpml.org/documentation/translating-your-contents/displaying-untranslated-content-on-pages-in-secondary-languages/#how-to-convert-a-translation-into-a-duplicate for more information.

2 & 3) We'll need more information about these issue, for example any URLs to the pages where this is happening, screenshots or a screen recording which 'd be much better for understanding (i.e. what exactly is happening).

Please let us know and we'll try our best to help you further on the matter.

Regards.

December 5, 2024 at 12:48 pm #16481501

camillef-5

The issue is for the for the blog posts only, when I try to duplicate the posts.
The issues is only when I try to duplicate the posts from English to Arabic, while the Arabic to English is working fine. I have attached the images for example

Screenshot 2024-12-05 at 5.45.08 PM.png
Screenshot 2024-12-05 at 5.44.55 PM.png
December 8, 2024 at 11:02 am #16489582

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

I'm Osama from WPML forums support. I'll be glad to help you today.

First of all, sorry for the late reply; it was due to a higher workload.

1) Would you please share a screen-recorded video while reproducing the issue to help me understand it better?

2) It's not related to the issue, but according to your Debug.info, the WP memory limit needs to be increased. PHP memory is fine, but WordPress uses 40Mb as default. The minimum requirements for WPML are 128 MB. (Kindly check this page https://wpml.org/home/minimum-requirements/)

You can increase it by adding the following code in your wp-config.php file right before the /* That's all, stop editing! Happy publishing. */ line:

/* Memory Limit */
define('WP_MEMORY_LIMIT', '256M');
define( 'WP_MAX_MEMORY_LIMIT', '256M');

Best regards,
Osama

December 9, 2024 at 10:40 am #16491911

camillef-5

i have inserted the code you suggested, but it did not help. Any post created in English version is not getting duplicated neither i can attach them to Arabic. I have attached the screenshots.

WhatsApp Image 2024-12-09 at 15.39.14.jpeg
WhatsApp Image 2024-12-09 at 15.39.15.jpeg
December 9, 2024 at 10:48 am #16492045

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

Thanks for your reply. I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP)
Preferably to a test site where the problem has been replicated.

Your answer will be private, meaning only you and I can access it.

❌ Please backup your database and website ❌

✙ I need your permission to deactivate and reactivate the plugins and themes and change site configurations. This is also why the backup is critical.

✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.

Best regards,
Osama

December 9, 2024 at 3:59 pm #16494138

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

Thanks for the access details. I installed a local copy of your site to check the issue, and I found that it was in the database records for the existing posts.

I fixed the issue on my local copy and imported the posts to your site, which fixed the issue. Kindly check this hidden link">video.

Please check if the connecting translations and duplicating functions work correctly.

Best regards,
Osama