Home Forums Theme Support Dokan Undefined error after update settings

This topic is: resolved

This topic contains 3 replies, has 3 voices, and was last updated by  Ji Yu 4 years, 3 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #32332

    Artem
    Member
    Post count: 24

    Hello
    I try to update settings in user profile (dashboard/settings/), but have error “undefined”.

    #32334

    Nayem
    Moderator
    Post count: 6480

    Hello Artem,

    To fix this error please open wp-content/plugins/wedevs-dokan-plugin/classes/template-settings.php. In line number 99 you will see something like this 'address' => strp_tags( $_POST['setting_address'] ),. You have to write this line as 'address' => strip_tags( $_POST['setting_address'] ),.

    Thank you ๐Ÿ™‚

    #32371

    Artem
    Member
    Post count: 24

    Yes, worked.
    Thank you!

    #32508

    Ji Yu
    Member
    Post count: 37

    typo……

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

The topic ‘Undefined error after update settings’ is closed to new replies.