Skip Navigation

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

Problem:
The client had some issues with Dokan and had 404 errors in the Dokan dashboard.

Solution:
Dokan has a glue plugin to make Dokan and WPML 100% compatible. Installing this add-on solved the issue.

Relevant Documentation:
https://wordpress.org/plugins/dokan-wpml/

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 6 replies, has 2 voices.

Last updated by khalidn 1 year, 7 months ago.

Assisted by: Nicolas V..

Author Posts
May 11, 2023 at 2:30 pm #13631181

khalidn

I am trying to: I am using Dokan multi vendor plugin but when I activate both Dokan and WPML String Translation the product page under Dokan dashboard showing 404 error.

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

I expected to see: the products

Instead, I got: 404 error

May 12, 2023 at 12:32 pm #13637377

Nicolas V.
Supporter

Languages: English (English ) French (Français )

Timezone: America/Lima (GMT-05:00)

Hello,

Welcome to the WPML support forum. My name is Nicolas and I will be happy to help you today.

Dokan is compatible with WPML, but it's a complex plugin. So here are my first recommendations:

1. An error 404 means that the url wasn't found.
- Please go to "Settings > Permalinks" and resave them
- Check if the slug from Dokan for /products has been translated in "WPML > String translation". From what I understand here, it should be an endpoint slug of Dokan's dashboard right?

2. Please review our tutorial here to make sure that you followed all the steps:
https://wpml.org/documentation/plugins-compatibility/multilingual-vendor-marketplace-with-dokan-and-wpml/#translating-woocommerce-pages

Nico

May 12, 2023 at 12:34 pm #13637407

Nicolas V.
Supporter

Languages: English (English ) French (Français )

Timezone: America/Lima (GMT-05:00)

Also,

I've noticed your website has a low PHP memory allocation (40M) and it could impact your translations. The minimum requirements for WPML is 128M but we recommend 256M:

- Access your server via FTP and open wp-config.php (in your WordPress root directory).
- Insert those lines just before /* That's all, stop editing! Happy blogging. */

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

More info: https://wpml.org/home/minimum-requirements/

Nico

May 13, 2023 at 1:27 am #13639565

khalidn

Hello Nicolas,

I have tried all solution you have provide and I would like thank you for it, but this is not solving my issue.
Yes /products should be an endpoint, all the other pages of Dokan works fine except this one!
Btw, how to translate this exact slug? as normal string? if yes, it doesn't solve my issue.

May 13, 2023 at 3:35 pm #13641239

Nicolas V.
Supporter

Languages: English (English ) French (Français )

Timezone: America/Lima (GMT-05:00)

Hello,

At this stage I'd like to ask for a temporary admin access (wp-admin and FTP) – preferably to a test site where the issue has been replicated – so I can further investigate.

I will activate a private field for your next answer where you can provide that information safely (this field is only visible by you and the support team). Don't share your own admin account, create a new one that you will delete when we finish troubleshooting.

IMPORTANT: Before we proceed, please backup your site and database.

Nico

May 15, 2023 at 12:35 pm #13647945

Nicolas V.
Supporter

Languages: English (English ) French (Français )

Timezone: America/Lima (GMT-05:00)

Hello,

Thank you for the access. The first thing I noticed is that Dokan WPML plugin is not installed.
https://wordpress.org/plugins/dokan-wpml/
That's part of the first step in our tutorial (section "Setting Up and Translating the Site"). Could you please start by installing this plugin please.

Please let me know when it's done, so I can have a second look at your dashboard.

Thanks,
Nico