ea_bootstrap not loading

Support forumCategory: Bugsea_bootstrap not loading
jooray asked 4 years ago

ea_bootstrap is not loading in some browsers (including clean chromium or safari with no extensions).

In console, I have the following:

[Log] JQMIGRATE: Migrate is installed, version 1.4.1 (jquery-migrate.min.js, line 2)
[Error] ReferenceError: Can't find variable: moment
init (frontend-bootstrap.js:33)
Plugin (frontend-bootstrap.js:22)
(anonymous function) (frontend-bootstrap.js:1066)
each (jquery.js:2:2908)
each (jquery.js:2:851)
(anonymous function) (frontend-bootstrap.js:1064)
(anonymous function) (frontend-bootstrap.js:1076)
Global Code (frontend-bootstrap.js:1077)
[Error] ReferenceError: Can't find variable: Cookies
(anonymous function) (woocommerce.min.js:1:371)
i (jquery.js:2:27368)
fireWith (jquery.js:2:28123)
ready (jquery.js:2:29926)
J (jquery.js:2:30282)

I am using twentytwenty theme.

ea_standard is ignoring location, worker and service parameters and includes dropdowns for everything.
My shortcodes:
[[ea_bootstrap location="1" service="2" worker="1" width="600px" layout_cols="1" default_date="+2d"]]
[[ea_standard location="1" service="2" worker="1" width="600px" layout_cols="1" default_date="+2d"]]
I have everything up to date.

2 Answers
Nikola Loncar Staff answered 4 years ago
Hi looks like moment.js is not loaded as it is stated at top of that stack trace. Maybe something is preventing it from loading. Do you have any caching system on your site? Best regards, Nikola
jooray replied 4 years ago

No, I don’t. And it’s strange, because the javascript itself loads over the network (I can see it in network tab in developer tools, when I clear cache, I can even see it loads through the network).

Nikola Loncar Staff answered 4 years ago
Hi, can you add momentjs to your theme template? It should work after that, but it's hard to say why on your site momentjs is not loades :( Best regards, Nikola