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

Last updated by urbanT-2 1 week, 2 days ago.

Assisted by: Waqas Bin Hasan.

Author Posts
January 30, 2025 at 12:57 pm #16651529

urbanT-2

Background of the issue:
I am experiencing two major issues on my multilingual online store (11 languages) and would appreciate your assistance. The site I need help with is hidden link. I suspect these issues may be related to the WPML Media plugin.

Symptoms:
Issue #1 – Checkout Shipping Methods Not Loading: When switching from the original language to another language on the checkout page, the shipping methods do not load, and it appears to be stuck. Inspecting the issue, I noticed a 500 error in the console. If I refresh the checkout page, all products are removed from the cart, and an error message appears.

Issue #2 – Images Not Loading Consistently: Some product images do not load properly in the store. They appear intermittently—sometimes they display, sometimes they don’t. I tried using Force Regenerate Thumbnails, which temporarily fixed the issue, but it returned. I verified that the image files are not corrupted.

Questions:
Could you please advise on possible fixes for these issues?
Do you need further details or access to my setup?

January 31, 2025 at 9:23 am #16654526

urbanT-2

The problem is still not solved.

January 31, 2025 at 9:49 am #16654750

Marcel
Supporter

Languages: English (English ) German (Deutsch )

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

Hi,

before your ticket is assigned to one of my colleagues, please allow me to walk you through some initial debugging steps. This will help speed up the support process.

Please share the debug.log file from your site so we can identify the cause of the Fatal Error 500. You can activate it as described here.

Additionally, note that your WPML setup does not meet the recommended system requirements for WP_MEMORY_LIMIT. Your server has a 256MB PHP memory limit, but WordPress is currently restricted to 40MB, which may be contributing to the issue.

Best Regards
Marcel

January 31, 2025 at 1:45 pm #16655874

urbanT-2

I have increased the WordPress memory limit to 512M.

Now I don't see the problem with the images anymore from my part, can you please do a check from your part, if any images are not showing up.

I don't see the Error 500 anymore, but the problem with the checkout is still there.
If you choose any other language that is not the original one, it will not let you checkout.

February 1, 2025 at 4:31 pm #16658603

urbanT-2

I did some digging and found that the endless loading spinner on the checkout page is caused by the "WooCommerce Multilingual & Multicurrency" plugin. When inspecting the page in a non-default language, I encountered a 500 error at the following endpoint:

URL: hidden link

However, after disabling the "WooCommerce Multilingual & Multicurrency" plugin, the checkout page loaded normally.

Screenshot 2025-02-01 163031.png
February 3, 2025 at 10:57 am #16662323

urbanT-2

Hello, is anyone there?

February 4, 2025 at 8:45 am #16665295

Waqas Bin Hasan
Supporter

Languages: English (English )

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

Hi,

Thank you for contacting the support, I'm assigned this ticket and 'll try my best to help you resolve the issue.

Before proceeding further, as it was requested by my colleague, can you enable debugging in your site? See https://wpml.org/documentation/support/debugging-wpml/ for details.

Once enabled, retry the checkout. This will log the errors in the debug.log file which you can upload somewhere  (i.e. hidden link) and share the download link for investigation.

Further, I'll recommend to check the following as well:

1) Take a full backup of your site and database before proceeding. It is highly advised to try these on a dev or staging site first, so your live site isn't compromised.
2) Deactivate all plugins except WPML, String Translation, WCML and WooCommerce.
3) Switch to a standard theme like 2024 or 2021.
4) Check for the issue if it still happens.
5) Then start activating plugins one by one while keep checking for the issue. This way you 'll be able to pinpoint a conflict when & where it starts creating the problem.
6) If after activating all plugins you see that it still works fine, then switch to your theme and see if that's causing it.

Please let me know your findings and I'll try my best to help you further on the matter.

Regards.

February 4, 2025 at 9:37 am #16665759

urbanT-2

I fixed it myself. Thank you.