This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Tuesday, 27 June 2017 20:08 EEST
 Hello, the Responsive Scroller for Articles is breaking two different video carousel modules which are used on the front page. First I thought it was just an issue with the video carousel plugin so tried another one, but it's errors were even worse.

Everything worked fine until I updated to 4.0.1.

1) This link is the homepage. Videos should be displaying in the bottom of the page in the "Featured Adventure/DualSport Videos" placement.
No videos are showing and the page generates the following error.

Uncaught TypeError: Cannot use 'in' operator to search for 'length' in true
at s (jquery.min.js:2)
at Function.each (jquery.min.js:2)
at e.setup (owl.carousel.min.js:6)
at new e (owl.carousel.min.js:6)
at HTMLDivElement.<anonymous> (owl.carousel.min.js:6)
at Function.each (jquery.min.js:2)
at a.fn.init.each (jquery.min.js:2)
at a.fn.init.a.fn.owlCarousel (owl.carousel.min.js:6)
at HTMLDocument.<anonymous> (adventuremotorcycle.com/:2245)
at i (jquery.min.js:2)

Help solving this is greatly appreciated! Thanks!
Carl
Carl Parker
Wednesday, 28 June 2017 16:36 EEST
Hi Carl,

The admin login does not work.
Yannis
Support Team
Wednesday, 28 June 2017 17:31 EEST
OKay thanks for the note. Please try again.

C
Carl Parker
Wednesday, 28 June 2017 23:36 EEST
There are also two other errors on the page which relate to the updated OWL carousel...

Errors read as:
Uncaught SyntaxError: Unexpected token ,
Uncaught SyntaxError: Unexpected token ,

Going into the page code, it looks like the following parameter should have a value to it, not just a ","

slideBy: ,
Carl Parker
Wednesday, 28 June 2017 23:56 EEST
Hi Carl,

The module mod_vina_carousel_youtube is using the old version of owl carousel script (1.3.3).

https://advmoto-advmoto.netdna-ssl.com/modules/mod_vina_carousel_youtube/assets/js/owl.carousel.js


Our module is using the latest owl carousel script version 2.x.

Unfortunately, you can't have both versions on the same page.

The only solution is to either
- Disable the mod_vina_carousel_youtube.
or
- Use the old version of our module.
Yannis
Support Team
Thursday, 29 June 2017 00:00 EEST
Okay two questions...

1) Can I simply just re-install the older version of article slider?

2) What about the "," errors which are part of the new owl script?

C
Carl Parker
Thursday, 29 June 2017 00:33 EEST
1. Yes, you can reinstall the old version over the new version.
Just make sure that you open and save the scroller modules afterwards so that the old parameters are reset.

2. This error is generated because of a conflict between the 2 different versions of the owl carousel script.
Yannis
Support Team
Friday, 30 June 2017 18:32 EEST
Okay, I reverted back, cleared cache (both local and CDN). Also resaved all modules. The front page conflict is mostly gone (videos are displaying) but...

1) there Uncaught Syntax Errors are still there.

2) There's a scroller on an inside page which is broken (go to bottom) . https://adventuremotorcycle.com/news/yamaha-wr250r-cancelled

Generating 7 errors..

Uncaught TypeError: Cannot use 'in' operator to search for 'length' in true
at s (jquery.min.js?e588227…:2)
at Function.each (jquery.min.js?e588227…:2)
at Owl.setup (owl.carousel.js:457)
at new Owl (owl.carousel.js:193)
at HTMLDivElement.<anonymous> (owl.carousel.js:1797)
at Function.each (jquery.min.js?e588227…:2)
at a.fn.init.each (jquery.min.js?e588227…:2)
at a.fn.init.$.fn.owlCarousel (owl.carousel.js:1795)
at HTMLDocument.<anonymous> (yamaha-wr250r-cancelled:607)
at i (jquery.min.js?e588227…:2)
owl.carousel.js:2467 Uncaught TypeError: Cannot read property 'autoplayHoverPause' of null
at Autoplay.<anonymous> (owl.carousel.js:2467)
at HTMLDivElement.d (jquery.min.js?e588227…:2)
at HTMLDivElement.dispatch (jquery.min.js?e588227…:3)
at HTMLDivElement.r.handle (jquery.min.js?e588227…:3)
owl.carousel.js:2467 Uncaught TypeError: Cannot read property 'autoplayHoverPause' of null
at Autoplay.<anonymous> (owl.carousel.js:2467)
at HTMLDivElement.d (jquery.min.js?e588227…:2)
at HTMLDivElement.dispatch (jquery.min.js?e588227…:3)
at HTMLDivElement.r.handle (jquery.min.js?e588227…:3)
owl.carousel.js:2467 Uncaught TypeError: Cannot read property 'autoplayHoverPause' of null
at Autoplay.<anonymous> (owl.carousel.js:2467)
at HTMLDivElement.d (jquery.min.js?e588227…:2)
at HTMLDivElement.dispatch (jquery.min.js?e588227…:3)
at HTMLDivElement.r.handle (jquery.min.js?e588227…:3)
owl.carousel.js:2467 Uncaught TypeError: Cannot read property 'autoplayHoverPause' of null
at Autoplay.<anonymous> (owl.carousel.js:2467)
at HTMLDivElement.d (jquery.min.js?e588227…:2)
at HTMLDivElement.dispatch (jquery.min.js?e588227…:3)
at HTMLDivElement.r.handle (jquery.min.js?e588227…:3)
owl.carousel.js:2472 Uncaught TypeError: Cannot read property 'autoplayHoverPause' of null
at Autoplay.<anonymous> (owl.carousel.js:2472)
at HTMLDivElement.d (jquery.min.js?e588227…:2)
at HTMLDivElement.handle (jquery.min.js?e588227…:3)
at HTMLDivElement.dispatch (jquery.min.js?e588227…:3)
at HTMLDivElement.r.handle (jquery.min.js?e588227…:3)
Carl Parker
Friday, 30 June 2017 20:29 EEST
Please disable all Minitek Scroller modules in the page, clear the website cache and check the browser console to see if there are existing javascript errors.
Yannis
Support Team
Wednesday, 05 July 2017 18:38 EEST
Module is disabled. All errors are gone but still getting "Uncaught SyntaxError: Unexpected token ," Sometimes it's one error. Sometime it's two errors.

https://adventuremotorcycle.com/news/yamaha-wr250r-cancelled

In this case it refers to line 1806.

slideBy: ,


Carl Parker
Thursday, 06 July 2017 00:29 EEST
This error is caused by the other extension that is using the carousel plugin.
You must contact the developer of that extension.
Yannis
Support Team

This website uses cookies to ensure that you get the best user experience. Cookies Policy / Privacy Policy

Search