• Hello Dear,
    i am using understrap-child theme and in console the below error is show. But the plugin working fine. Waiting for the answer of this issue . Thanks in advance

    Uncaught TypeError: jQuery(…).slick is not a function
    at HTMLDocument.<anonymous> (wpgis.front.js?ver=1.0:48)
    at i (jquery.js?ver=1.12.4:2)
    at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4:2)
    at Function.ready (jquery.js?ver=1.12.4:2)
    at HTMLDocument.K (jquery.js?ver=1.12.4:2)

Viewing 1 replies (of 1 total)
  • To fix this,

    Locate JS file

    plugins/advanced-woocommerce-product-gallery-slider/assets/js/wpgis.front.js

    Look for

    
    	if(object_name.wpgis_arrowcolor!='')
    		{
    			$(".btn-prev, .btn-next").css("color",object_name.wpgis_arrowcolor);	
    		}
    		if(object_name.wpgis_arrowbgcolor!='')
    		{
    			$(".btn-prev, .btn-next").css("background",object_name.wpgis_arrowbgcolor);
    		}
    

    Replace with

    	if(object_name.wpgis_arrowcolor!='')
    		{
    			jQuery(".btn-prev, .btn-next").css("color",object_name.wpgis_arrowcolor);	
    		}
    		if(object_name.wpgis_arrowbgcolor!='')
    		{
    			jQuery(".btn-prev, .btn-next").css("background",object_name.wpgis_arrowbgcolor);
    		}
    • This reply was modified 7 years, 1 month ago by chrispinsg.
Viewing 1 replies (of 1 total)

The topic ‘Jquer Error’ is closed to new replies.