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 alexandreP-37 1 year, 10 months ago.
Assisted by: Andreas W..
Author | Posts |
---|---|
March 28, 2023 at 7:56 am #13346467 | |
alexandreP-37 |
We use WP, ACF Pro and WPML pro on our website cms. All plugin versions are up to date. The problem is that some images are missing, where others are not. As you can see, the url is different and has the “en” folder included which provokes the error. What could be causing this ? Is there any documentation that you are following? Is there a similar example that we can see? |
March 28, 2023 at 9:15 am #13347055 | |
alexandreP-37 |
Note that i duplicated the site locally and disabled all plugins except WPML, ACF and the WPML-ACF plugins and the issue remains. |
March 28, 2023 at 9:54 pm #13352929 | |
Andreas W. Supporter Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
Hello, Please go to WPML > Settings > Media Translation and press the "Start" button. This option will create all the missing media library entries in all languages and this should solve the issue. Take note, that this task can demand a bigger amount of time, depending on how many images are used on the site. If this will not solve the issue, please let me know. Best regards |
March 30, 2023 at 9:48 am #13365441 | |
alexandreP-37 |
Hi Andreas, I did it (it updated 36K images which seems like a lot but ok). The issue remains with one particular image. Trying to understand what is going on, i went to Media Translation (/wp-admin/admin.php?page=wpml-media) and I see this (see printscreen). It seems the French image stands on its own and is set as an original translation . I don't know why. The ACF Custom Field for that image is set to CopyOnce. What would be the proper way to fix this? (I can go into the database and edit the attachment entry if necessary). |
March 30, 2023 at 5:56 pm #13369757 | |
Andreas W. Supporter Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
Hello, Does this somehow affect the Frontend of the website? This can happen if you upload an image to the WordPress Media Library while having the language in the top admin bar set to French. Please revise the media library in French and try to locate the image, as it seems as if it can not longer be found - which means it maybe was been removed from the server already - if so, then please delete the media library entry for this image and upload it again while having the admin bar set to English. If hope this helps, if not, let me know. Best regards |
March 31, 2023 at 7:28 am #13372711 | |
alexandreP-37 |
ok, it makes sense, and now i understand how to avoid it in the future. I fixed it by manually uploading the missing image in the intended location in our CDN. Thank you! |