Overview of the Issue
Due to limitations in the integration between Dokan and WPML, which is managed by the authors behind Dokan in their Dokan-WPML Integration plugin (opens in a new tab), endpoints such as /dashboard/orders/ display a 404 when translated.
Workaround
This issue is fixed in Dokan-WPML Add-on 1.0.6. Updating solves it on your site, so you only need this workaround if you can’t update yet.
If you translated your endpoints and are experiencing 404 errors when using Dokan with WPML, you can fix this by deleting the translations:
- Back up your website completely
- Go to WPMLString Translation
- Search for the affected endpoint or its translation
- Delete the string from the table