Support » Plugin: Shipping Zones by Drawing for WooCommerce » Google Maps API multiple times

  • Hej,
    all of a sudden my checkout shows an error on the console and stopped working.

    The error is:
    You have included the Google Maps JavaScript API multiple times on this page. This may cause unexpected errors.

    When I disable szbd it is working again. However it is not enough to disable the shipping method but I need to disable the plugin completely.

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author arosoft

    (@arosoft)

    Hello, did you install some other plugin on checkout?
    Anyway in SZBD settings you can enable a setting that stop Google Maps API from being loaded from SZBD. Try that. You might have to change this setting the future again when you are drawing maps.

    Thread Starter kraej

    (@kraej)

    Hej,
    Thanks for your reply.
    There is no other gmaps related plugin activated.

    If I de-activate the MAPS Api it shows up another error:

    Uncaught ReferenceError: google is not defined
    at initialize (szbd-shortcode.min.js?ver=2.5.4:2)
        at szbd-shortcode.min.js?ver=2.5.4:2
        at Function.v.each.v.forEach (underscore.min.js?ver=1.8.3:2)
        at HTMLDocument.<anonymous> (szbd-shortcode.min.js?ver=2.5.4:2)
        at e (jquery.min.js?ver=3.5.1:2)
        at t (jquery.min.js?ver=3.5.1:2)

    `

    Plugin Author arosoft

    (@arosoft)

    Hi, i looked at your site but i guess you de-activated SZBD.
    I wonder if the multi-step checkout might have created some problem.

    Thread Starter kraej

    (@kraej)

    Hi,
    yes, I disabled it.

    The multistep checkout has been running ever since without any problem.

    I just activated szbd, keeping the API activated.

    Plugin Author arosoft

    (@arosoft)

    If you have setting “Force Shortcode” enabled, can you disable that setting.

    Plugin Author arosoft

    (@arosoft)

    If you deactivate plugin “piggy for woocommerce”, does it work? Seems to be some issue
    there.

    Thread Starter kraej

    (@kraej)

    Force Shortcode is disabled.
    Piggy is now disabled. No change šŸ™

    Plugin Author arosoft

    (@arosoft)

    Could you contact us on arosoft.se
    I want to get to the bottom of this.

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.