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.

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

Problem:

The Dokan plugin orders page (your-site.com/dashboard/orders/) is not working on the other languages.

Solution:

1) Visit WPML>>Settings>>Custom XML configuration.

2) Added the following language configuration in *Custom XML configuration* field and save the changes

<wpml-config>
    <admin-texts>
        <key name="dokan_pages">
            <key name="dashboard"/>
            <key name="store_listing"/>
            <key name="my_orders"/>
            <key name="reg_tc_page"/></key>
    </admin-texts>
</wpml-config>

3) Visit WPML>>String Translation.

4) Translate the *my_orders* & *dashboard* string with Arabic Order and Dashboard page IDs.

This topic contains 16 replies, has 3 voices.

Last updated by yasinH-2 1 month ago.

Assigned support staff: Itamar.

Author Posts
September 7, 2019 at 7:47 pm #4529809

yasinH-2

i am using dokan and WPML on my site and all links of dokan is working fine in both langugge but order link is not working hidden link

What is the link to your site?

Savemnt.com

September 9, 2019 at 10:05 am #4535815

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hello,

unfortunately i am not able to see the orders page as i do not have an account but is it a button link that is not working or the actual link when you enter it within the URL area directly?

do you get a 404 error when you visit it ?

also please verify that the page is fully translated

September 10, 2019 at 7:50 am #4542675

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hello,

During the debugging of this issue i got an error 500, unfortunately i am not able to access your FTP using the above credentials to resolve it

at the moment i am not able to access the site's backend

September 10, 2019 at 8:10 am #4542853

yasinH-2

Hi Bobby,

thank fo assistance, kindly find below credentaisl for cpanel

cpanel.savemnt.com
user: savemntc
pass: e7lfYasin4389

September 10, 2019 at 8:13 am #4542861

yasinH-2

I got this in an email:

Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.

In this case, WordPress caught an error with your theme, Electro Child.

First, visit your website (hidden link) and check for any visible issues. Next, visit the page where the error was caught (hidden link) and check for any visible issues.

Please contact your host for assistance with investigating this issue further.

If your site appears broken and you can't access your dashboard normally, WordPress now has a special "recovery mode". This lets you safely login to your dashboard and investigate further.

hidden link

To keep your site safe, this link will expire in 1 day. Don't worry about that, though: a new link will be emailed to you if the error occurs again after it expires.

Error Details
=============
An error of type E_COMPILE_ERROR was caused in line 5 of the file /home/savemntc/public_html/wp-content/themes/electro-child/dokanSetupWizard.php. Error message: require_once(): Failed opening required 'DOKAN_INC_DIR/admin/setup-wizard.php' (include_path='.:/opt/alt/php72/usr/share/pear')

September 10, 2019 at 8:23 am #4542955

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

If possible please verify the FTP access details so i can try to resolve this from the FTP backend

i have enabled the private field reply

September 10, 2019 at 8:57 am #4543337

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Your FTP details are not allowing me to connect to your FTP

if possible please try the following

1. temporary switch to a standard theme such as twenty19(this should allow you to access wp admin)
2. access the backend go to plugins and re activate Dokan dashboard if its not activated
3. switch back to your theme

or confirm your FTP details and update me

September 10, 2019 at 10:08 am #4543823

yasinH-2

Hey mate, I did and now it is working.

I tested the orders page while dokan pdf invoice was deactivated but it was still not working so I activated it.

anyways, the website is now working and those ftp details are working on my side actually so HYG again:

September 10, 2019 at 7:09 pm #4548439

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

I am testing this issue on a local environment and will update you once i have some news

September 10, 2019 at 8:00 pm #4548609

yasinH-2

Hey Bobby,

you created some pages and made them the main pages for cart and check out and my account? whyy? also you should restore my default settings as it was before you do these stuff

please delete the pages you created and make mine as the default pages again for cart, checkout my account as it was. as now pages arabic menus are linking to different stuff

September 10, 2019 at 8:05 pm #4548681

yasinH-2

I need you to restore those pages as default ASAP, this is live environment for god sake

September 10, 2019 at 8:14 pm #4548783

yasinH-2

I fixed it, never mind.

please continue tring to fix the orders page on your testing enviroment

September 11, 2019 at 7:49 pm #4556305

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Please test the orders link it seems to be working as expected now

September 11, 2019 at 9:11 pm #4556505

yasinH-2

Hey Boby the image you sent is for the user orders page

my issue is with dokan orders page:

hidden link

which is the arabic page of this dokan orders page:

hidden link

Vendor orders not user orders

September 12, 2019 at 4:53 pm #4563545

yasinH-2

Hey Boby the image you sent is for the user's orders page

my issue is with dokan orders page:

hidden link

which is the arabic page of this dokan orders page:

hidden link

Vendor orders not user's orders