Console errors

Viewing 5 posts - 1 through 5 (of 5 total)
  • #22676

    I’m getting these errors and I think it might be conflicting with my woocommerce, which all of a sudden isn’t functioning like it used to, after updating theme & plugins. Any help I would be most appreciative!

    (index):44 GET
    (index):53 GET
    (index):62 GET
    (index):61 GET
    jquery-migrate.min.js?ver=1.4.1:2 JQMIGRATE: Migrate is installed, version 1.4.1
    (index):184 Uncaught TypeError: $(…).fitVids is not a function(anonymous function) @ (index):184i @ jquery.js?ver=1.12.4:2j.fireWith @ jquery.js?ver=1.12.4:2n.extend.ready @ jquery.js?ver=1.12.4:2K @ jquery.js?ver=1.12.4:2
    (index):187 Uncaught TypeError: jQuery(…).colorbox is not a function

    Daniel Tara

    The JavaScript errors are due to missing .js files in the theme. The console reports some .css files to be missing too. I followed the path of those files and the server does indeed respond with a 404 status. If you haven’t made changes to the theme reinstalling it might be the best option, otherwise just copy the missing files from the original theme into their respective location.

    This probably has nothing to do with WooCommerce or any other plugin.


    Thank you so much for the reply. What confuses me is that (most of) the files are indeed in the scripts folder. This is what’s in there:

    I just today re-downloaded the theme, and those are the only ones in there as well.
    Any ideas why they are there but not functioning?
    Do you know where I could get the mediaelementplayer.js & .css

    Daniel Tara

    This is what your website is requesting:

    This is what your website should be requesting:

    Based on this line in functions.php:

    wp_register_script( 'fitvids', get_template_directory_uri() . '//', array( 'jquery' ), null );

    So unless some plugin has overridden the path of the 'fitvids' handle or you have unintentionally altered that path, I don’t see why this would be happening. I also don’t see why a plugin would alter a path in the theme directory.


    Thank you so much, this is embarrassing, but it led me to review my custom functions.php which I updated with the current one from the pinboard theme. viola- everything works.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.