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.
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.