Home Forums Theme Support Dokan Store-Update Settings Button does not work

This topic is: not resolved

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

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

    Ricardo Chinchilla
    Member
    Post count: 2

    Update setting button on store does not work.
    When I try to update store settings, I get this Javascript error in console, and nothing is updated.

    [Error] TypeError: undefined is not an object (evaluating ‘a[hc]')
    Kk (main.js, line 49)
    yl (main.js, line 57)
    (función anónima) (store, line 675)
    o (jquery-1.7.2.min.js, line 2)
    fireWith (jquery-1.7.2.min.js, line 2)
    ready (jquery-1.7.2.min.js, line 2)
    B (jquery-1.7.2.min.js, line 2)

    Dokan version 2.4.4

    p.d I already look for this. but code is not there.
    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'] ),.

    #71498

    Nayem
    Moderator
    Post count: 6480

    Hello,

    Please check for plugin or theme conflict. You have to deactivate all of your plugins except WooCommerce and Dokan then switch to a default WordPrss theme like twentytwelve. After doing those things if the problem remains then let me know.

    #71500

    Ricardo Chinchilla
    Member
    Post count: 2

    If I back to dokan theme It will work. Im using a custom theme with cherry plugin that I can not deactivate.

    #71501

    Nayem
    Moderator
    Post count: 6480

    Hello Ricardo,

    If this error is coming from any third party plugin or theme then you have to fix that error. Because we can not provide support for a third party theme or plugin. If you will get this error when WooCommerce and Dokan plugin active with a WP default theme then we will fix this.

    Thanks.

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

The topic ‘Store-Update Settings Button does not work’ is closed to new replies.