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 3 voices.

Last updated by oliverR-34 1 year, 9 months ago.

Assisted by: Long Nguyen.

Author Posts
June 26, 2023 at 8:44 am #13893287

oliverR-34

I am trying to:

I am trying to translate Elementor Loop Grid loop items. I edited WPML with the code that was show on this post: https://wpml.org/errata/elementor-pro-elementor-loop-template-button-is-not-translated/comment-page-1/

I got some progress but now the translated pages show the single loop item in all languages.

Link to a page where the issue can be seen:
hidden link

I expected to see:
One item with one language inside the loop

Instead, I got:
One item with four languages inside the loop

problem.png
June 26, 2023 at 11:20 am #13894763

Ahmed Mohammed
Supporter

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

Hi there,

Thank you for contacting WPML support. While you are waiting for one of my colleagues to take this ticket and work on it, let me provide you with the first debugging steps or if I can help with the issue quickly.

Please note that the Elementor Loop template issue has been fixed in the latest WPML release 4.6.4, which can be downloaded from your wpml.org account: https://wpml.org/account/downloads/.

Could you please backup your website files and database and give that version a try?

Looking forward to hearing back from you.

June 27, 2023 at 12:12 pm #13902257

oliverR-34

Hi,

I uploaded the new version (4.6.4) to my page but the duplicates in different languages are still there.

June 28, 2023 at 2:36 am #13906585

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi Oliver,

I see that the WordPress Memory Limit is below the requirements. The minimum requirements are 128M, but we do recommend 256M and the debug information of your site shows it set to 40M. Please check this link for more details
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:


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

After adding the code you can confirm that the memory was changed correctly from WPML > Support > WordPress > Memory limit.

Then I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. It would be better to a testing site where the issue is replicated. Your next reply is set to private to share the info.

❌ IMPORTANT: Please backup your database and website before proceeding ❌
You can use this plugin to create the backup: 
https://wordpress.org/plugins/duplicator/
✙ I would need your permission to de-activate and re-activate Plugins and the Theme and to change configurations on the site if needed. This is also a reason the backup is critical.

Look forward to your reply.
Thanks

June 29, 2023 at 1:53 am #13914517

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

I've fixed the issue on your site by going to WPML > Settings > Post Types Translation > Set the preference of post type "acf-post-type" to "Not translatable".

Can you please confirm it works on your side?