Home When installing MailChimp pop-up js I get Uncaught Error: Bootstrap tooltips require Tether and Uncaught ReferenceError: Cookies is not defined
Reply: 0

When installing MailChimp pop-up js I get Uncaught Error: Bootstrap tooltips require Tether and Uncaught ReferenceError: Cookies is not defined

Brandon Colchin
1#
Brandon Colchin Published in 2018-01-13 01:03:13Z

Using Wordpress and Understrap. When I install the code:

<script type="text/javascript" src="//downloads.mailchimp.com/js/signup-
forms/popup/embed.js" data-dojo-config="usePlainJson: true, isDebug: false">
</script><script type="text/javascript">require(["mojo/signup-
forms/Loader"], function(L) { L.start({"baseUrl":"mc.us1.list-
manage.com","uuid":"5792cac24346d164eb0cf6ad2","lid":"c1462a4600"}) })
</script>

which works and creates a pop-up for an email subscription I get the error:

theme.min.js?ver=0.5.7:2 Uncaught Error: Bootstrap tooltips require Tether 
(http://tether.io/)
    at theme.min.js?ver=0.5.7:2
    at theme.min.js?ver=0.5.7:3
    at theme.min.js?ver=0.5.7:3
(anonymous) @ theme.min.js?ver=0.5.7:2
(anonymous) @ theme.min.js?ver=0.5.7:3
(anonymous) @ theme.min.js?ver=0.5.7:3

and:

woocommerce.min.js?ver=3.2.6:1 Uncaught ReferenceError: Cookies is not 
defined
    at HTMLDocument.<anonymous> (woocommerce.min.js?ver=3.2.6:1)
    at i (jquery.js?ver=1.12.4:2)
    at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4:2)
    at Function.ready (jquery.js?ver=1.12.4:2)
    at HTMLDocument.K (jquery.js?ver=1.12.4:2)

and the js and ajax used in my theme no longer works on the page. If you go to http://www.idwpublishing.com/artists-editions you can see that I have ajax and js being used so that when you click on the artists icons it shows series and then products which link to product pages. Once I install the MailChimp pop-up code none of ajax or js works, so if you click on the icons nothing happens.

My theme.js file has always contained Tether 1.4 and is before Bootstrap.

What should I do?

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.335722 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO