Skip to content Skip to sidebar

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

Problem:
The client was experiencing an issue where the Gallery images in the existing Gallery field were not displaying after adding a new German language to the site using WPML.

Solution:
We recommended checking the ACF multilingual configuration in WPML -> Settings -> Custom fields translation section and verifying any errors in the debug.log file. Additionally, we suggested creating a staging site to reproduce the issue without affecting the live site. After further investigation, it was found that another developer had added code to the WPCode Lite Plugin that caused the gallery images to load directly from a folder, bypassing the admin. We advised removing or adjusting this code to resolve the issue.

Please note that this solution might be outdated or not applicable to your specific case. 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 the issue persists, please open 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 18 replies, has 0 voices.

Last updated by Carlos Rojas 9 months, 3 weeks ago.

Assisted by: Carlos Rojas.

Author Posts
June 30, 2025 at 8:20 am #17181670

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Good morning!

These are the steps I followed:
- Deleted all the deactivated plugins (just to 'clean' the site a little bit)
- Deactivated all active plugins
- Activated only the necessary plugins to reproduce the issue
- In this minimal setup the issue disappeared, which means that the cause of the problem is none of the active plugins

Now, I kindly ask you to start activating the rest of the plugins, one by one, until the issue appears again and you find the culprit.

June 30, 2025 at 8:21 am #17181674

danubeP

Thanks for the Update.

I'll try to Re-activate them One by One and then Let you know.

June 30, 2025 at 8:24 am #17181691

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Excellent!

I will be waiting for your feedback.

June 30, 2025 at 10:27 am #17183149

danubeP

Hello Carlos,

I find the Issue Other Developer added some code into WPCode Lite Plugin regarding the Portfolio gallery Images to bypass from the Admin to Load directly from the Folder only.

Like this:
add_filter('acf/load_value', function($value, $post_id, $field){ ... }, 10, 3);

June 30, 2025 at 10:35 am #17183219

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Great! I'm happy to hear that you found a solution 🙂

Please don't hesitate to contact us if you need our help in the future with WPML. We are here to help.

Have an excellent day!