• Resolved Jan

    (@jannetto96)


    It seems there are ajax problem with my store. What happened? I can’t add my shipping zoneò..

    Uncaught TypeError: _.indexBy is not a function
        at i.render (wc-shipping-zone-methods.min.js?ver=4.0.0:1)
        at p (backbone.min.js?ver=1.4.0:1)
        at f (backbone.min.js?ver=1.4.0:1)
        at l (backbone.min.js?ver=1.4.0:1)
        at i.n.trigger (backbone.min.js?ver=1.4.0:1)
        at Object.onSaveResponse [as success] (wc-shipping-zone-methods.min.js?ver=4.0.0:1)
        at i (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,moxiejs,plupload,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=5.3.2:2)
        at Object.fireWith [as resolveWith] (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,moxiejs,plupload,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=5.3.2:2)
        at x (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,moxiejs,plupload,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=5.3.2:4)
        at XMLHttpRequest.c (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,moxiejs,plupload,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=5.3.2:4)

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support AW a11n

    (@slash1andy)

    Automattic Happiness Engineer

    Hey there!

    AJAX Conflicts and errors are almost always related to plugin conflicts on your site.

    The best way to determine if the issue is being caused by a theme and/or plugin is to temporarily switch your theme to Storefront (https://woocommerce.com/storefront/?aff=10486&cid=1131038) and disable all plugins except for WooCommerce. Finally, test to see if the issue is resolved by adding a shipping zone.

    To figure out which plugin is causing the problem, continue to the next step – reactivate your other plugins one by one, testing after each, until you find the one causing conflict.

    Here’s a more extensive explanation in our docs: https://docs.woocommerce.com/document/how-to-test-for-conflicts/

    —–

    Tools to help you troubleshoot:

    Meks Quick Plugin Disabler is a plugin you can install which will remember what plugins you currently have active so it’s easy to switch them back on. Link: https://www.ads-software.com/plugins/meks-quick-plugin-disabler/

    Health Check is a plugin that allows you to temporarily disable other plugins and switch themes for that session without impacting your users. Link: https://www.ads-software.com/plugins/health-check/

    You can clone your site to a staging environment and perform tests without modifying your live site or impacting customers. Many hosts provide staging facilities, so it’s worth checking in with them. It’s also possible to do it using the free WP Staging plugin. Link: https://www.ads-software.com/plugins/wp-staging/

Viewing 1 replies (of 1 total)
  • The topic ‘can’t add shipping zone’ is closed to new replies.