jquery swiper slider not sliding automatically in wordpress

I have a Wordpress website enter link description here

There is a swiper slider in the second section in my home page, but it is not playing automatically, and I get the following error in console:

Uncaught TypeError: Cannot set property 'slidesPerView' of undefined

below is the section where its pointing out the error:

        if (servicesEl.length && servicesEl.data('cols') >= 3) {

            if (ww > 1600) { servicesSwiper.params.slidesPerView = 3; }
            if (ww <= 1599) { servicesSwiper.params.slidesPerView = 3; }
            if (ww <= 1199) { servicesSwiper.params.slidesPerView = 2; }
            if (ww <= 768) { servicesSwiper.params.slidesPerView = 1; }

            servicesSwiper.update();
        }