Home Forums Community Support [Request] Customised Services Error in Dokan functions.php line 1944

This topic contains 13 replies, has 3 voices, and was last updated by  Nayem 3 years, 10 months ago.

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #55024

    Aris
    Member
    Post count: 7

    I get in error on my vendors page saying “Warning: Illegal string offset ‘state' in /home/content/p3pnexwpnas08_data01/76/2686876/html/wp-content/plugins/dokan/includes/functions.php on line 1944”.

    #55033

    Aris
    Member
    Post count: 7

    Here is the code at that line:
    $state_code = ( $address[‘state'] == ‘N/A' ) ? ” : $address[‘state'];

    #55043

    M. Michele Rodriguez
    Member
    Post count: 27

    I HAD THAT ERROR TOO, ALTHOUGH IT JUST SHOWED UP WHEN I WAS CHANGING SOME STUFF AROUND… ANYWAY. TO FIX IT JUST ENTER THE STATE (ANY STATE IN THAT FIELD WHILE LOGGED IN TO YOUR SELLER PAGE. IF YOU DONT HAVE A STAE DISPLAYED IT GIVES THT ERROR.

    #55079

    Aris
    Member
    Post count: 7

    Is there a way to edit the code to make it not show the error at all.

    #55143

    Nayem
    Moderator
    Post count: 6480

    Hello,

    Can you please provide a screenshot here?

    #55234

    Aris
    Member
    Post count: 7

    https://airsoftcache.com/wp-content/plugins/dokan/assets/images/screenshot.png

    #55244

    Nayem
    Moderator
    Post count: 6480

    Hello Aris,

    We did not get this error in our side. Please make sure that you are using the latest version of Dokan plugin and Dokan theme.

    Thanks.

    #55250

    Aris
    Member
    Post count: 7

    Ok does Dokan update automatically or is there some setting page to update it?

    #55251

    Aris
    Member
    Post count: 7

    I found the updates page under Dokan and nothing seems to be out of the ordinary and all updates from the main update page are updated

    #55253

    Nayem
    Moderator
    Post count: 6480

    Hello Aris,

    You can update your plugin from the plugin list or your site dashboard. Please navigate to Wp admin->Dashboard and click on the update to see all update notice.

    #55255

    Aris
    Member
    Post count: 7

    Yes there are no updates and it is still showing the error. Not sure if important but under each seller that the error is occurring for it fills the store description with the error message.

    #55256

    Nayem
    Moderator
    Post count: 6480

    Which version of Dokan plugin are you using?

    #55326

    Aris
    Member
    Post count: 7

    I have version 2.3

    #55360

    Nayem
    Moderator
    Post count: 6480

    Please provide your login details by using this form: http://wedevs.com/provide-login-details/. I will have a look what is going wrong.

    Thank you ๐Ÿ™‚

Viewing 14 posts - 1 through 14 (of 14 total)

The topic ‘Error in Dokan functions.php line 1944’ is closed to new replies.