• Resolved edwardpm89

    (@edwardpm89)


    Hello!
    I’m trying to setup a store but this issue is happening a lot on many Dokan pages and menus, especially the Dokan Settings, vendor settings(upload photos) or “Appearance>Customize” and if I keep refreshing sometimes it works. I researched it and it seems to be an issue with Lodash but I can’t find anyone with the same issue as me on Dokan so I don’t know why this is happening.

    TypeError: _.contains is not a function  vue-bootstrap.js:4:121853
    containCommonFields http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-admin.js?ver=1742041524:2
    Ae http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-admin.js?ver=1742041524:2
    _render http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-bootstrap.js?ver=1742129297:4
    r http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-bootstrap.js?ver=1742129297:4
    get http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-bootstrap.js?ver=1742129297:4
    t http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-bootstrap.js?ver=1742129297:4
    mount http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-bootstrap.js?ver=1742129297:4
    $mount http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-bootstrap.js?ver=1742129297:4
    $mount http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-bootstrap.js?ver=1742129297:4
    init http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-bootstrap.js?ver=1742129297:4
    f http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-bootstrap.js?ver=1742129297:4
    f http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-bootstrap.js?ver=1742129297:4
    v http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-bootstrap.js?ver=1742129297:4
    f http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-bootstrap.js?ver=1742129297:4
    v http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-bootstrap.js?ver=1742129297:4
    f http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-bootstrap.js?ver=1742129297:4
    v http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-bootstrap.js?ver=1742129297:4
    f http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-bootstrap.js?ver=1742129297:4
    v http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-bootstrap.js?ver=1742129297:4
    f http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-bootstrap.js?ver=1742129297:4
    S http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-bootstrap.js?ver=1742129297:4
    S http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-bootstrap.js?ver=1742129297:4
    S http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-bootstrap.js?ver=1742129297:4
    S http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-bootstrap.js?ver=1742129297:4
    S http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-bootstrap.js?ver=1742129297:4
    S http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-bootstrap.js?ver=1742129297:4
    S http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-bootstrap.js?ver=1742129297:4
    S http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-bootstrap.js?ver=1742129297:4
    S http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-bootstrap.js?ver=1742129297:4
    S http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-bootstrap.js?ver=1742129297:4
    Ea http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-bootstrap.js?ver=1742129297:4
    _update http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-bootstrap.js?ver=1742129297:4
    r http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-bootstrap.js?ver=1742129297:4
    get http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-bootstrap.js?ver=1742129297:4
    run http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-bootstrap.js?ver=1742129297:4
    Tn http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-bootstrap.js?ver=1742129297:4
    ar http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-bootstrap.js?ver=1742129297:4
    er http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-bootstrap.js?ver=1742129297:4
    promise callback*Jn http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-bootstrap.js?ver=1742129297:4
    ar http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-bootstrap.js?ver=1742129297:4
    In http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-bootstrap.js?ver=1742129297:4
    update http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-bootstrap.js?ver=1742129297:4
    notify http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-bootstrap.js?ver=1742129297:4
    set http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-bootstrap.js?ver=1742129297:4
    set http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-bootstrap.js?ver=1742129297:4
    fetchSettingValues http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-admin.js?ver=1742041524:2
    jQuery 9
    fetchSettingValues http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-admin.js?ver=1742041524:2
    created http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-admin.js?ver=1742041524:2
    Wn http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-bootstrap.js?ver=1742129297:4
    _n http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-bootstrap.js?ver=1742129297:4
    _init http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-bootstrap.js?ver=1742129297:4
    a http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-bootstrap.js?ver=1742129297:4
    componentInstance http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-bootstrap.js?ver=1742129297:4
    init http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-bootstrap.js?ver=1742129297:4
    n http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-bootstrap.js?ver=1742129297:4
    f http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-bootstrap.js?ver=1742129297:4
    f http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-bootstrap.js?ver=1742129297:4
    S http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-bootstrap.js?ver=1742129297:4
    S http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-bootstrap.js?ver=1742129297:4
    Ea http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-bootstrap.js?ver=1742129297:4
    _update http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-bootstrap.js?ver=1742129297:4
    r http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-bootstrap.js?ver=1742129297:4
    get http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-bootstrap.js?ver=1742129297:4
    run http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-bootstrap.js?ver=1742129297:4
    Tn http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-bootstrap.js?ver=1742129297:4
    ar http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-bootstrap.js?ver=1742129297:4
    er http://localhost/wp-content/plugins/dokan-lite/assets/js/vue-bootstrap.js?ver=1742129297:4

    Also on another topic while I’m here, a much smaller issue, the header is not appearing on the vendor page and there’s only the sidebar widget, I can turn it off but the website header is never there.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello @edwardpm89,

    We would like to inform you that we have not identified such issues locally. Therefore, we assume that this error may be occurring due to a conflict with other plugins or themes on your site. To address this, we recommend taking your site to a minimal state and observing if the problem persists. Here are the steps you can follow:

    1. Deactivate all plugins except Dokan Lite and WooCommerce.
    2. Switch to a stable theme, such as Storefront.
    3. Clear your site cache as well as the browser cache, and then try again.

    In case the issue is resolved, it indicates that there is a conflicting plugin or theme installed on your website. To identify the responsible plugin/theme, it is recommended to carry out a thorough conflict test. You can refer to this third-party article for assistance in tracing the problematic plugin/theme. Once you have determined the conflicting plugin/theme, please reach out to the relevant support team for further assistance.

    Thanks!

    Thread Starter edwardpm89

    (@edwardpm89)

    Thank you for the assistance, I forgot to mention there’s only Dokan and Woocommerce plugins active and the theme used is Storefront. It seems to be a problem with WooCommerce since the customize option is giving a bunch of errors too even with everything else, even Dokan deleted.

    Hello @edwardpm89,

    Thank you for your update. Since you mentioned that the issue persists even after deactivating the Dokan plugin and only WooCommerce remains active, this indicates that the issue is not related to Dokan.

    In this case, we recommend reaching out to WooCommerce support for further assistance. They will be able to diagnose and provide a resolution for the errors appearing in the Customize option.

    Thanks!

    Hello @edwardpm89,

    As we haven’t heard back from you for a while, we’ll consider this topic resolved. If you encounter any further issues, please don’t hesitate to open a new topic.

    Thanks!

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

The topic ‘TypeError: _.contains is not a function’ is closed to new replies.