Carousel error Failed to load resource / Failed to parse SourceMap
-
Hello forum.
Posted before about problems in my website here http://mountainsuperstudio.com/ but deleted and reposting the problem with console errors. Wordpress + Lay + plugins are all updated versions.Carousel issue
Chrome console error:
DevTools failed to parse SourceMap: http://mountainsuperstudio.com/wp-content/plugins/laytheme-carousel/frontend/assets/js/vendor/swiper.js.mapSafari console error:
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (swiper.js.map, line 0)This issue with carousel shows in every website I have access, even in different servers.
In my main page, when I click a link to a project page, no content loads and in addition to the carousel error I also get this one after it:
Safari console
[Error] TypeError: undefined is not an object (evaluating 'a.projectsMeta[i].length')
(anonymous function) (frontend.app.min.js:1:10758)
p (frontend.app.min.js:1:11052)
g (frontend.app.min.js:1:11675)
updateArrows (frontend.app.min.js:1:8883)
(anonymous function) (frontend.app.min.js:1:35813)Similar error on the Chrome console.
The content loads if I reload the page (command+r) but the carousel error persists. This makes the Carousel inoperative on click, loading an extra image only. it still works on auto-play though.
Any help appreciated.
Cheers
-
Ok, this second problem seemed to be a permalinks issue. (info here https://stackoverflow.com/questions/27029568/wordpress-json-api-returns-only-404-errors#27029635)
I solved it through re-saving the permalinks in the permalinks preferences and updating all the links to the projects in my main-page.
The carousel issue persists though. I just have them on autoplay at the moment.
@mountainsuperstd said in Carousel error Failed to load resource / Failed to parse SourceMap:
In my main page, when I click a link to a project page, no content loads and in addition to the carousel error I also get this one after it:
Safari console
[Error] TypeError: undefined is not an object (evaluating 'a.projectsMeta[i].length')
(anonymous function) (frontend.app.min.js:1:10758)
p (frontend.app.min.js:1:11052)
g (frontend.app.min.js:1:11675)
updateArrows (frontend.app.min.js:1:8883)
(anonymous function) (frontend.app.min.js:1:35813)
Similar error on the Chrome console.
The content loads if I reload the page (command+r) but the carousel error persists. This makes the Carousel inoperative on click, loading an extra image only. it still works on auto-play though. -
Dear @mountainsuperstd
Do you have any third-party plugins installed or CUSTOM JS code? Is it possible to deactivate it for a moment to see if the problem remains?Marius
-
Hello, thank you for coming back at me,
No custom js. Unfortunately the issue persists with plugins (BackWPup and Email Address Encoder) deactivated.Cheers
-
Dear @mountainsuperstd
do you mean fullscreenslider or carousel?
The one on your welcome page, right? That works fine here…Best!
Marius
-
Carousel.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login