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.
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it