This thread is resolved. Here is a description of the problem and solution.
Problem:
The client was experiencing an issue where product categories were showing duplicate products in different languages, alternating between German (DE) and English (EN), despite not being new products and having worked correctly for many years.
Solution:
We identified that the issue might be due to a conflict with cache settings, specifically involving the Redis cache and the Breeze plugin with Varnish cache configured. We recommended the following steps:
1. Disable the Redis cache or configure it properly.
2. Disable the Varnish cache or configure it properly.
As a workaround, we suggested changing the Product Category slug for the German version from
ktm-250-exc
to
ktm-250-exc-de
and then clearing the caches to see if the issue persists.
If the solution provided here is not relevant to your case, because it might be outdated or not applicable, 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. If the issue still exists, please open a new support ticket at our 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: Bug
This topic contains 40 replies, has 2 voices.
Last updated by zakW 10 months, 1 week ago.
Assisted by: Bigul.
Author | Posts |
---|---|
March 8, 2024 at 12:19 pm #15388955 | |
zakW |
Hello, We have created staging sites and clones and the problem does not transfer over to the clones. -- |
March 8, 2024 at 3:19 pm #15390031 | |
Bigul Supporter
Languages: English (English ) Timezone: Europe/Vienna (GMT+01:00) |
Hello, Thank you for the feedback. Please fill in the private details fields after a full site backup{mandatory}. I would like to access the admin area of your site for further checking. Refer to the following links for more details about our private information sharing policies. hidden link Also, please allow me to make a duplicator copy of your site using the Duplicator plugin(https://wordpress.org/plugins/duplicator/) for debugging the issue on my local server. So we can troubleshoot the bug without affecting your live site. -- Bigul |
March 11, 2024 at 11:55 am #15394765 | |
zakW |
Hi Bigul, When cloning the website the duplication problem is not being duplicated so we are going to create a fresh clone of the website tomorrow and will make the clone the new live website. We are going to keep the version with the problem live so we can work together in a solution for this. I will create a dev account for you guys to perform any test you need. I believe this is the safest option we have at the moment and the best option without affecting the client any further. -- |
March 11, 2024 at 1:57 pm #15395749 | |
Bigul Supporter
Languages: English (English ) Timezone: Europe/Vienna (GMT+01:00) |
Hello, Thank you for the updates. We will wait for your response. Please note, I am enabling the private option for the next reply. -- Bigul |
March 12, 2024 at 3:37 pm #15400404 | |
Bigul Supporter
Languages: English (English ) Timezone: Europe/Vienna (GMT+01:00) |
Hello, Thank you for the details and login information. I made a copy of the site using Duplicator for further debugging. A couple of doubts for a tracking this tricky bug. 1) Please let us know the exact steps you have done for the following action. When I change the domain of the clone to the pro-carbon domain the problem appears. 2) Have you marked the staging sites as copy of live like recommended in the following article -- Bigul |
March 13, 2024 at 8:54 am #15402528 | |
zakW |
Hi Bigul 1) The steps that I took to change the domain were. After creating the clone of the website I deleted from the old version the domain records and on the clone version I added the domain records on it. The domain records are as follows: hidden link - Primary The old website now without those 4 records has no problem and the clone website (now the new live website) has problems. Before adding the records the problem was not showing. 2) yes we have Have you been able to replicate the problem in your staging local site? -- |
March 13, 2024 at 11:42 am #15403469 | |
Bigul Supporter
Languages: English (English ) Timezone: Europe/Vienna (GMT+01:00) |
Hi Ruben, Thank you for the details. I am not able to reproduce the issue exactly in my local copy. So the bug happened in the new clone just after you have changed the DNS records from the hosting control panel, am I correct? Which hosting service & plan you are currently using? Please share more details on this. -- Bigul |
March 13, 2024 at 1:06 pm #15404078 | |
zakW |
Hi Bigul, Sorry if I explained this incorrectly. I added a screenshot of the domain records I am talking about We have the website hosted with Cloudways on 4GB of RAM. We have no details on the processor. -- Ruben |
March 14, 2024 at 5:56 am #15406310 | |
Bigul Supporter
Languages: English (English ) Timezone: Europe/Vienna (GMT+01:00) |
Hi Ruben, Thank you for the feedback. I am consulting with our team for an expert opinion on this. We will get back to you as early as possible. Please wait. -- Bigul |
March 14, 2024 at 12:45 pm #15409957 | |
zakW |
Hi Bigul, Thank you for the response. I will wait for your feedback -- |
March 16, 2024 at 5:16 pm #15417187 | |
Bigul Supporter
Languages: English (English ) Timezone: Europe/Vienna (GMT+01:00) |
Hi Ruben, The ticket is forwarded to our second-tier team for further checking. The result is the same when we change the translation preference of Product Categories to *Translatable only show translated items* from *Translatable use translation if available or fallback to default language*, from WPML>>Settings>>Taxonomies Translation. One request. Please upgrade to the latest version of plugins including WooCommerce and WooCommerce Multilingual after a full site backup{mandatory} and make sure the issue exists or not. hidden link -- Bigul |
March 18, 2024 at 3:06 pm #15422122 | |
zakW |
Hi Bigul, Thank you for the update. I'm updating the website plugins tomorrow and will let you know if the problem still exists or not. -- |
March 19, 2024 at 8:48 am #15424641 | |
zakW |
Hi, I have updated all plugins including WooCommerce and WooCommerce Multilingual and the error still exists. I did clear the cache after doing the updates and nothing changed. -- |
March 19, 2024 at 2:42 pm #15426952 | |
Bigul Supporter
Languages: English (English ) Timezone: Europe/Vienna (GMT+01:00) |
Hi Ruben, Thank you for the updates. Please try the following steps after a full site backup{mandatory} and check whether there is any difference in the result. 1) Visit hidden link https://wpml.org/forums/topic/category-shows-double-products-in-different-languages/#post-15354878 https://wpml.org/forums/topic/category-shows-double-products-in-different-languages/#post-15374738 -- Bigul |
March 21, 2024 at 10:54 am #15435641 | |
zakW |
Hi Bigul, I have done the work you requested but the problem still exists. You do have login details so if you think it's worth you doing any work let me know in advance so I can backup the website and setup maintenance mode. Just please let me know. Can you think about any other thing we can do to fix this? -- |