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: Exception
This topic contains 15 replies, has 2 voices.
Last updated by fannyV-3 2 years, 1 month ago.
Assisted by: Long Nguyen.
Author | Posts |
---|---|
May 16, 2023 at 6:00 am | |
fannyV-3 |
I cant see all the images in the translated pages. hidden link |
May 16, 2023 at 6:40 am | |
May 17, 2023 at 6:42 am #13660769 | |
Long Nguyen WPML Supporter since 02/2022
Languages: English (English ) Timezone: Asia/Ho_Chi_Minh (GMT+07:00) |
Hi Fanny, Thank you for contacting WPML support, I'd be happy to help you with this issue. Checking the first image of the slider on the homepage "1-mainbanner-1.jpg": in Media > Library, I find the image and edit it, switch to the Dutch language with the language switcher at the topbar, I see it is a broken image. Please check this screenshot hidden link Then delete the image in the Dutch language and edit the home page in English language > update the translation and you can see the first image is copied to the translation home page as well. For other images, I recommend following steps below to fix the issue and see if it helps. 1. Go to Media > Library > Switch to Dutch and Spanish language > Change to list mode, screenshot hidden link 2. Go to WPML > Settings > Media Translation section > Click on "Start" button to duplicate all existing media to the second languages. 3. You might need to update the home page and its translation then. Note: Please backup your database and website before proceeding Refer documentation https://wpml.org/documentation/getting-started-guide/media-translation/#id5 Look forward to your reply. |
May 20, 2023 at 6:20 am #13682083 | |
fannyV-3 |
The dutch page is resolved doing this, the spanish one still dont show pictures, I get an error when I try to start Media translation. |
May 22, 2023 at 3:14 am #13685949 | |
Long Nguyen WPML Supporter since 02/2022
Languages: English (English ) Timezone: Asia/Ho_Chi_Minh (GMT+07:00) |
Hi, Thank you for your feedback. I still see broken images in the Spanish language, please check this screenshot hidden link Please go to Media Library and delete all broken images in English, Dutch, Spanish languages that I suggested above and run the Media Translation button after. Then let me know how it goes. While checking the debug info, 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 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. Look forward to your reply. |
May 22, 2023 at 6:57 am #13686547 | |
fannyV-3 |
Thanks for checking, I did set MEMory Limit last week, also shows in WP Dashboard: Also deleted all the broken images in all languages. Deze afbeeldingen mis ik ook bij een steekproef, de map /pub/ bestaat niet in de woocommerce site dus denk dat die niet goed zijn geimporteerd. hidden link I inherited this website like this. |
May 22, 2023 at 8:28 am #13687263 | |
Long Nguyen WPML Supporter since 02/2022
Languages: English (English ) Timezone: Asia/Ho_Chi_Minh (GMT+07:00) |
Hi, Thanks for your feedback. I see that issue. Please try to delete all broken images in English first, then Dutch, and Spanish later. You can also try this again in a minimal environment: Also PHP memory limit is different from WP memory limit, please read more here https://wpml.org/faq/checklist-before-opening-a-ticket-in-wpml-support/#does-your-wordpress-installation-have-all-the-needed-resources and check the status in WPML > Support > WordPress > Memory limit. Look forward to your reply. |
May 25, 2023 at 12:57 pm #13716443 | |
fannyV-3 |
Thank you, I was afraid to test on live environment (i would not go for deleting all those images for the 3th time. So I cloned into a staging environment and deactived all non-WPML and theme to 2023 as you suggested. So this route did not work for me. |
May 25, 2023 at 1:24 pm #13716619 | |
fannyV-3 |
In dutch media also broken images again, english is also showing broken images again... |
May 26, 2023 at 1:33 am #13719571 | |
Long Nguyen WPML Supporter since 02/2022
Languages: English (English ) Timezone: Asia/Ho_Chi_Minh (GMT+07:00) |
Hi, Thank you for your feedback. At first, please help me to delete all the broken images in the default (English) language on the staging site. Then create a backup file at that time. Then share your staging site credentials (wp-admin and FTP) in the next reply. I will perform some troubleshooting steps and see how it goes. You can use this plugin to create the backup: https://wordpress.org/plugins/duplicator/ Look forward to your reply. |
May 26, 2023 at 7:14 am | |
May 26, 2023 at 8:53 am #13721323 | |
Long Nguyen WPML Supporter since 02/2022
Languages: English (English ) Timezone: Asia/Ho_Chi_Minh (GMT+07:00) |
Hi, Thank you for your feedback. Can you please recheck the home page in the Spanish language on the staging site? Now the images are displayed as well. What I've done on the staging site: - Go to Settings > Reading > Set up the Homepage. Look forward to your reply. |
May 26, 2023 at 9:26 am #13721597 | |
fannyV-3 |
Oh wow! Thank you! |
May 26, 2023 at 9:39 am #13721659 | |
Long Nguyen WPML Supporter since 02/2022
Languages: English (English ) Timezone: Asia/Ho_Chi_Minh (GMT+07:00) |
Hi, Yes, you can try to do those steps on your live site. Remember to create a full backup of your site before proceeding. Look forward to your reply. |
May 26, 2023 at 10:32 am #13722161 | |
fannyV-3 |
hidden link Somehow it does not change back to the Advanced translator version but keeps showing the previous page which was edited in WP - we need to get rid of that static Spanish page somehow... |