Uncaught TypeError: Cannot read property 'bind' of undefined

I get this piece of code that does something on slide change.

revapi5.bind('revolution.slide.onchange', function(event, data) {
            a('.tp-revslider-slidesli').each(function(i, obj) {a(this).find('.video-holder').css('background','none');});
            var dataSource = a('.active-revslide').attr('data-source');
            var bkgConstruct = 'url('+dataSource+')';
            a('.active-revslide').find('.video-holder').css('background',bkgConstruct).css({
                'background-size':'contain', 
                'background-position':'center center', 
                'background-repeat':'no-repeat', 
                'height':'100%'
            });
        });

The problem is regarding this page https://www.visitrauland.com/webkamera/

Uncaught TypeError: Cannot read property 'bind' of undefined

The thing is that this worked well until update from 5.4.6.6 to 5.4.7.1.

I tried even with example codes from the dashboard and I had the same problem with “bind”.
The Firefox doesn’t have a problem with bind, only Chrome.

What could cause this?

Hi There,

I check that code under Console and it’s working fine.

Would you mind providing us with login credentials(by clicking on the Secure Note button at the bottom) so we can take a closer look? To do this, you can make a post with the following info:

  • Link login to your site
  • WordPress Admin username / password

Thanks.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.