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.

Sun Mon Tue Wed Thu Fri Sat
- 8:00 – 17:00 8:00 – 17:00 8:00 – 17:00 8:00 – 17:00 8:00 – 17:00 -
- - - - - - -

Supporter timezone: Europe/Madrid (GMT+01:00)

This topic contains 1 reply, has 2 voices.

Last updated by Paola Mendiburu 1 year, 3 months ago.

Assisted by: Paola Mendiburu.

Author Posts
November 23, 2023 at 10:26 am #14906345

koenV-21

Recently something broke.
After finishing an order in Woocommerce clients get redirected to a the 'order received' page as setup in Woocommerce. For customers using another language this endpoint is translated using WooCommerce Multilingual & Multicurrency plugin.
The redirect works for the main language, but when a user needs to get redirected to the page as defined in Store URL's this page results in an error:

Path cannot be empty in woocommerce/includes/wc-template-functions.php:53

Link to a page where the issue can be seen: not visible. To keep the customer flow alive I created a static page so the URL is not rendered using the (faulty) wordpress process.

I've tried the 'update database' tool in Woocommerce as well as running all scheduled actions.

Also tried to hook into the filter woocommerce_account_endpoint_page_not_found returning true. But this results in the page rendering as if it was the site's homepage.

error .jpg
November 24, 2023 at 11:10 am #14916169

Paola Mendiburu
Supporter

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

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

Hi there!

This is Paola and I hope you are well!

Let's start by streamlining the troubleshooting process and identifying any potential conflicts with plugins.

For this initial diagnostic phase, I recommend performing the following steps on either a staging site or by installing the "Check Conflicts" plugin. This precaution ensures that any adjustments made will not impact your live production site.

Could you kindly deactivate all plugins, excluding WooCommerce and those associated with WPML? Additionally, consider switching to a default theme during this test.

If the issue resolves itself during this process, gradually reactivate each plugin one by one. This systematic approach will help pinpoint the culprit causing the problem.

Please let me know what you find.

The topic ‘[Closed] error translate Endpoint 'order received' in Multilingual & Multicurrency plugin’ is closed to new replies.