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.

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Carlos Rojas 1 year, 2 months ago.

Assisted by: Carlos Rojas.

Author Posts
March 20, 2024 at 9:31 pm #15433854

guyB-9

I am trying to: Make WooCommerce Subscription unsubscribe users after expiration

Link to a page where the issue can be seen: hidden link

I expected to see: The course needs to be remove from user in both languages when the subscription ends.

Instead, I got: One language is remove, the other one stays.

Details:
I sell a course in English (main language) and French using LearnDash, WooCommerce and WPML.
The courses are duplicates of each other and when a student subscribes to one of the courses, they are added to both courses (French and English)> I worked on that last time and it works fine, one order, two languages added.

But when the user cancels the subscription, only one language is deactivated.

I can create an account for you in the staging website for investigation.

March 21, 2024 at 12:17 pm #15436209

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

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

Hello,
Thank you for contacting us

1.- According to the description of the issue, this seems to be a compatibility problem. In this case, we will need to reproduce the issue in a fresh new WordPress installation to rule out any other possible cause. For this reason, I have created a Sandbox site with a fresh new WordPress + WPML installation that you can access using this link: hidden link

Please follow these steps on the Sandbox site:
- Finish the setup of Woocommerce
- Install and set Woocommerce subscription and LearnDash
- Create a new test course and translate it
- Create a test subscription and double-check if the issue persists or disappeared.

Could you tell me the results of the steps described above?

2.- Please increase the WP memory Limit on your site. Minimum requirements are 128Mb: https://wpml.org/home/minimum-requirements/
You can add this to wp-config.php to increase WP memory:`

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

- Add it above the line /* That's all, stop editing! Happy blogging. */

You can double-check the WordPress memory limit in WPML -> Support

Looking forward to your message
Regards,
Carlos