Skip Navigation

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

Problem:
The client was experiencing an issue with incorrect links on their multilingual WooCommerce site, where the expected product URL was redirecting to a different category URL.

Solution:
We recommended the client to:
1. Navigate to WPML-> Support-> Troubleshooting.
2. Run the troubleshooting functions one by one.
3. Go to WooCommerce Multilingual-> Attribute tab.
4. Select the size attribute and click on the Synchronize button.
5. If the issue persists, go to WooCommerce Multilingual-> Status tab and select Troubleshooting.
6. Select all options except the last one and click on the Start button.
7. Clear the site's cache.

Additionally, we noticed that the WordPress memory limit was lower than the minimum requirements for WPML. We advised the client to increase the memory limit by adding the following code to the top of their wp-config.php file:

/** Memory Limit */<br />define('WP_MEMORY_LIMIT', '256M');<br />define('WP_MAX_MEMORY_LIMIT', '256M');

If the solution provided is not relevant due to being 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. If the issue persists, please do not hesitate to 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: 

This topic contains 1 reply, has 2 voices.

Last updated by Osama Mersal 3 years, 2 months ago.

Assisted by: Osama Mersal.

Author Posts
April 7, 2022 at 7:49 pm #10976425

realB

I am trying to:

Link to a page where the issue can be seen:

hidden link

I expected to see: hidden link

Instead, I got: hidden link

I have several staging sites where i tried all updated or pervious versions of woocommerce, wordpress, WPL, disabling other plugins etc. I also tried the procedures found in th WPML KB

April 10, 2022 at 12:20 pm #10989029

Osama Mersal
WPML Supporter since 02/2020

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

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

Hi,

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

1) First of all, sorry for the late reply due to a higher workload. Could you please try the following steps?

1- Go to WPML-> Support-> Troubleshooting
2- Run the troubleshooting functions one by one (Kindly check this hidden link)
3- Go to WooCommerce Multilingual-> Attribute tab
4- Select the size attribute, and click on the Synchronize button
5- If these steps didn't fix the issue, please go to WooCommerce Multilingual-> status tab
6- Go to Troubleshooting
7- Select all options except the last one, and click on the Start button
8- Clear your site's cache

Would you please let me know if these steps fixed the issue for you?

2) It's not related to the issue, but according to your Debug.info, the WP memory limit needs to be increased. PHP memory is fine, but WordPress uses 40Mb as default. Minimum requirements for WPML are 128Mb. (Kindly check this page https://wpml.org/home/minimum-requirements/)

Add this to the top of wp-config.php to increase WP memory:

/** Memory Limit */
define('WP_MEMORY_LIMIT', '256M');
define( 'WP_MAX_MEMORY_LIMIT', '256M' );

I hope this helps you. If you need further info, please let me know.

Best regards,
Osama