Uncaught TypeError: a(…).waypoint is not a function
-
Experiencing the following error that is preventing certain elements from loading on a page (https://bit.ly/2Kd56I5)
Uncaught TypeError: a(…).waypoint is not a function
at Object.onePageMenu (theme.min.js?ver=3.7.0:33)
at Object.init (theme.min.js?ver=3.7.0:33)
at HTMLDocument.<anonymous> (theme.min.js?ver=3.7.0:35)
at i (jquery.js?ver=1.12.4-wp:2)
at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4-wp:2)
at Function.ready (jquery.js?ver=1.12.4-wp:2)
at HTMLDocument.J (jquery.js?ver=1.12.4-wp:2)
I have disabled all plugins and it does not go away. It seems to be a problem in the theme.
Hello,
Try to add the following PHP code snippet to the child theme functions.php file to fix this http://prntscr.com/nr8vh5
wp_enqueue_script( 'woodmart-waypoint', 'https://cdnjs.cloudflare.com/ajax/libs/waypoints/2.0.2/waypoints.min.js', array( 'jquery' ), woodmart_get_theme_info( 'Version' ), true );
This will be fixed in the nearest update
Regards