inorman
Forum Replies Created
-
Forum: Plugins
In reply to: [USPS Simple Shipping for Woocommerce] Notice: length was called incorrectly.I tried adding the lines @smolgiant suggested, but I still get the same error.
Forum: Plugins
In reply to: [SendGrid] Plugin uses depricated functionThanks @chrome-orange for the solution.
I deactivated the Sendgrid plugin, and edited the ~/lib/class-sendgrid-settings.php file with the built-in WordPress Plugin Editor with the code from your post (I replaced both line 52 and the show_contextual_help() function code as you outlined), updated the file and reactivated the plugin and it all seems to work now without the error.
@codepeople Thanks for your quick support. That worked perfectly to prevent the issue. Why is it necessary that I need to use this HTML code and what do I need to know to avoid this issue in the future? When is it necessary to use this code in the future?
Forum: Themes and Templates
In reply to: [Flato] JavaScript ErrorI can confirm that the code fix that Jrgailey posted above works to fix the problem!
Thanks JrgaileyForum: Themes and Templates
In reply to: [Flato] JavaScript ErrorOkay so commenting out the FlexSlider is not a good idea as it will mess with your mobile navigation menu so don’t do what I said above.
Forum: Themes and Templates
In reply to: [Flato] JavaScript ErrorI managed to eliminate this error by just commenting out the entire flexslider section in …themes/flato/js/scripts.js
Not sure if flexslider is essential to some sort of theme functionality but my site seems to be cool without it.
I replaced this:
/* FlexSlider /* ------------------------------------ */ var firstImage = jQuery('.flexslider').find('img').filter(':first'), checkforloaded = setInterval(function() { var image = firstImage.get(0); if (image.complete || image.readyState == 'complete' || image.readyState == 4) { clearInterval(checkforloaded); jQuery('.flexslider').flexslider({ animation: "slide", useCSS: false, // Fix iPad flickering issue slideshow: false, directionNav: true, controlNav: true, pauseOnHover: true, slideshowSpeed: 7000, animationSpeed: 400, smoothHeight: true, touch: false }); } }, 20); $('select').dropkick(); });
with this:
/* FlexSlider /* ------------------------------------ var firstImage = jQuery('.flexslider').find('img').filter(':first'), checkforloaded = setInterval(function() { var image = firstImage.get(0); if (image.complete || image.readyState == 'complete' || image.readyState == 4) { clearInterval(checkforloaded); jQuery('.flexslider').flexslider({ animation: "slide", useCSS: false, // Fix iPad flickering issue slideshow: false, directionNav: true, controlNav: true, pauseOnHover: true, slideshowSpeed: 7000, animationSpeed: 400, smoothHeight: true, touch: false }); } }, 20); $('select').dropkick(); }); */
Forum: Themes and Templates
In reply to: [Flato] JavaScript ErrorI’m getting the same error on the Flato theme.
Uncaught TypeError: Cannot read property 'complete' of undefined (repeated 999999 times)
/* FlexSlider /* ------------------------------------ */ var firstImage = jQuery('.flexslider').find('img').filter(':first'), checkforloaded = setInterval(function() { var image = firstImage.get(0); if (image.complete || image.readyState == 'complete' || image.readyState == 4) { clearInterval(checkforloaded); jQuery('.flexslider').flexslider({ animation: "slide", useCSS: false, // Fix iPad flickering issue slideshow: false, directionNav: true, controlNav: true, pauseOnHover: true, slideshowSpeed: 7000, animationSpeed: 400, smoothHeight: true, touch: false }); } }, 20); $('select').dropkick(); });
It’s in an endless loop that continuously counts up repetitively when using Right Click>Inspect Element in Chrome Browser.