Skip Navigation

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

Problem:
After updating WPML plugins, the client's site stopped functioning correctly. Products and pages were not accessible in Arabic, and the cart appeared empty when switched to Arabic.
Solution:
We identified that the issue was due to an endpoint translation in String Translation (wc/file/transient). We resolved the problem by deleting this endpoint translation, which restored the functionality of products and pages in Arabic.

If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, we recommend opening a new support ticket. Additionally, 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. For further assistance, please visit our support forum 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 4 replies, has 2 voices.

Last updated by Osama Mersal 5 months, 1 week ago.

Assisted by: Osama Mersal.

Author Posts
June 8, 2024 at 3:10 pm #15718454

amiraH

Hello, My site's just halted from functioning properly after i updated my WPML plugins. All the products and pages on my website (other than the home page) once you change the language to arabic dont exist anymore, even when adding a product to cart, if you open the cart in arabic it does not exist, it shows me that the cart is empty always. How can I solve this? hidden link

June 9, 2024 at 8:21 am #15719026

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

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

Hi,

Thanks for contacting WPML forums support. I'll be glad to help you today.

Could you please share an example of the problematic URLs?

I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP)
Preferably to a test site where the problem has been replicated.

Your answer will be private, meaning only you and I can access it.

❌ Please backup your database and website ❌

✙ I need your permission to deactivate and reactivate the plugins and themes and change site configurations. This is also why the backup is critical.

✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.

Best regards,
Osama

June 10, 2024 at 9:00 am #15720858

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

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

Hi,

Thanks for the access details. I checked the issue and found that it happened because of an endpoint translation in String Translation. ( wc/file/transient)

After deleting this endpoint translation, the products and pages worked correctly in Arabic.

Please check if the pages open as expected. (hidden link)

Best regards,
Osama

June 10, 2024 at 8:30 pm #15723969
amiraH

Hello Osama!

This is great, thank you very much! the links are working perfectly. There is now still an issue with the cart though, i've added items to my cart, yet the step 1 of the cart shows empty, I am able to press on the other steps of the checkout process and it shows up, but the main cart still shows empty, please refer to the images as an example of this.

New threads created by Osama Mersal and linked to this one are listed below:

https://wpml.org/forums/topic/translated-cart-is-empty/

cart 2.png
cart .png
June 11, 2024 at 7:18 am #15724786

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

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

Hi,

It's great to hear that the issue is fixed. 🙂

We try to keep one issue per ticket in our forum. Continuing with one ticket per issue helps supporters focus on one issue at once and enables other users to find solutions to their questions faster.

Therefore, I've split the other issue and created a new ticket with this issue. (https://wpml.org/forums/topic/translated-cart-is-empty/)

Best regards,
Osama