This thread is resolved. Here is a description of the problem and solution.
Problem:
The client was experiencing persistent loading and sporadic 404 errors on translated pages of their website after using WPML. The issues included pages not displaying after translation and random 404 errors when switching languages.
Solution:
We recommended the following steps to troubleshoot and resolve the issues:
1. Ensure all pages are correctly translated by making a minor edit in the original language, saving it, and then updating the translation.
2. Check and flush cache settings, as stale cache data might lead to pages not loading correctly.
3. Deactivate and reactivate plugins to identify any that might be causing conflicts, particularly focusing on the 'Razorpay for WooCommerce' and 'Categories Images' plugins, which were found to be problematic.
4. Switch the language URL format settings in WPML to see if this affects the 404 errors.
5. Increase the WordPress memory limit to ensure sufficient resources are available for operations.
6. If issues persist, especially with specific plugins like 'WooCommerce PayPal Payments', deactivate them to check if the problem resolves.
If these steps do not resolve the issues, or if the solution seems outdated or not applicable to your 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. For further assistance, 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: Exception
This topic contains 42 replies, has 0 voices.
Last updated by Carlos Rojas 1 day, 20 hours ago.
Assisted by: Carlos Rojas.
Author | Posts |
---|---|
August 26, 2025 at 1:42 pm #17348585 | |
kamal-kishorS-2 |
Hi Carlos, Thanks for diagnose the problem. I have activated the plugin one-by-one and find the Plugin Razorpay for woocommerce. Since this plugin is required for payment gateway. Pls suggest if there is any known issue with this plugin. I have also update the plugin but still it is creating problem. Regards |
August 27, 2025 at 5:38 am #17349903 | |
kamal-kishorS-2 |
Hi Carlos, While checking, it has been identified that Brand taxonomy has been translated but translated page is returning 404 error. Can you pls guide how to fix this. English URL: hidden link Kindly suggest, Regards, |
August 27, 2025 at 8:28 am #17350779 | |
Carlos Rojas WPML Supporter since 03/2017
Languages: English (English ) Spanish (Español ) Timezone: Europe/Madrid (GMT+02:00) |
Hi Kamal, 1.- The 'Razorpay for WooCommerce' plugin hasn't been tested by our compatibility team, which means that it is not listed as compatible with WPML. You must contact the plugin's authors and ask them if they are compatible with WPML and, if so, what are the steps to set it up correctly in a multilingual site. 2.- Deactivating the 'Categories Images' plugin solves the 404 problem with the brand categories in the secondary language |
August 27, 2025 at 9:07 am #17350884 | |
kamal-kishorS-2 |
Hi Carlos, I have also make this site live on domain hidden link. Once we are able to fix the issue here, i will update the production site too. Regards, |
August 27, 2025 at 10:24 am #17351368 | |
Carlos Rojas WPML Supporter since 03/2017
Languages: English (English ) Spanish (Español ) Timezone: Europe/Madrid (GMT+02:00) |
Hi Kamal, Please check the attached image |
August 27, 2025 at 12:54 pm #17351933 | |
kamal-kishorS-2 |
Hi Carlos, Yes, it is opening now. Do we need to do anything more post deactivating the "Category Images" plugin? I have deactivated the plugin on production site (hidden link) and clear all the cache but still getting 404 error on production site. The login URL is: hidden link Pls suggest. Regards |
August 27, 2025 at 1:00 pm #17351959 | |
Carlos Rojas WPML Supporter since 03/2017
Languages: English (English ) Spanish (Español ) Timezone: Europe/Madrid (GMT+02:00) |
Hi Kamal, I followed the same steps in the production, and the brand appeared after flushing the CDN cache: hidden link Note: Please don't forget to increase the WordPress memory limit. |
August 27, 2025 at 1:13 pm #17351976 | |
kamal-kishorS-2 |
Hi, Regards, |
August 28, 2025 at 5:07 am #17353257 | |
kamal-kishorS-2 |
Hi Carlos, Pls suggest, Regards |
August 28, 2025 at 7:01 am #17353505 | |
kamal-kishorS-2 |
Hi Carlos, Regards, |
August 28, 2025 at 7:53 am #17353655 | |
Carlos Rojas WPML Supporter since 03/2017
Languages: English (English ) Spanish (Español ) Timezone: Europe/Madrid (GMT+02:00) |
Hi Kamal, The cause of this error comes from the 'WooCommerce PayPal Payments' plugin. Deactivate it and check if the error has disappeared. |
August 28, 2025 at 9:28 am #17354086 | |
kamal-kishorS-2 |
Hi Carlos, I have disable the paypal plugin and now error is not logging. Is the Paypal plugin is not compatible with WPML? Also i find that our cloudflare cache was not being hit, when enquired by concerned team, they have mentioned the below. "The cache is bypassed as the plugin WooCommerce Multilingual & Multicurrency is setting cookies. You can also ask them to enable these only on shop/product pages instead of pages that dosent have any currency fields." Pls suggest the needful. Regards, |
August 28, 2025 at 9:51 am #17354303 | |
Carlos Rojas WPML Supporter since 03/2017
Languages: English (English ) Spanish (Español ) Timezone: Europe/Madrid (GMT+02:00) |
Hi Kamal, As the original issue was solved, I kindly ask you to open a new ticket describing the problem with the PayPal plugin and another one with the suggested workaround for the WCML cookies. We have been solving different issues in this ticket, but our support policy only allows us to solve one issue per ticket. This helps future clients find solutions to their problems when searching on the forum. Thank you very much for your understanding! |