WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] jQuery error on 3.6 upgrade jquery-1.10.2.min.map 404

[Resolved] jQuery error on 3.6 upgrade jquery-1.10.2.min.map 404

Viewing 15 replies - 1 through 15 (of 36 total)
  • I have that to.

    Since I updated I’m getting this ..on one of my sites …

    blockUI requires jQuery v1.2.3! You are using v1.10.2.

    Any help available out there??

    Thanks

    ChipsOnFire
    Member

    @chipsonfire

    I just posted this in a separate post. It will hopefully sort you out…

    http://wordpress.org/support/topic/wordpress-36-and-jqueryblockui-version-problem-solution

    Wil
    Member

    @limecanvas

    Thanks @chipsonfire

    markomavric
    Member

    @markomavric

    As I can see, jQuery has problem with missing file. So possible solution is to copy file from http://code.jquery.com/jquery-1.10.2.min.map to your wp-includes/js/jquery/ folder.

    ChipsOnFire
    Member

    @chipsonfire

    As I can see, jQuery has problem with missing file. So possible solution is to copy file from http://code.jquery.com/jquery-1.10.2.min.map to your wp-includes/js/jquery/ folder.

    I am not sure what you are referring to here markomavric. Where can you see that there is a problem with that file missing for jQuery??

    ChipsOnFire
    Member

    @chipsonfire

    Ah, don’t worry, I see it now 🙂

    Jan Dembowski
    Volunteer Mod. & Brute Squad

    @jdembowski

    As I can see, jQuery has problem with missing file. So possible solution is to copy file from http://code.jquery.com/jquery-1.10.2.min.map to your wp-includes/js/jquery/ folder.

    No, don’t do that ever. Seriously that is 100% a really bad idea. Never modify anything or add new files into the WordPress directories. Aside from losing that file with an update it’s really not manageable or supportable.

    Sometimes when sites become corrupted (that happens sometimes due to host or user errors) the fix is delete the wp-includes directory and copy the files back from the zip file.

    If ChipsOnFire’s solution works then please use that instead.

    http://wordpress.org/support/topic/wordpress-36-and-jqueryblockui-version-problem-solution?replies=6#post-4486355

    http://wordpress.org/support/topic/troubleshooting-wordpress-36-master-list?replies=5#post-4484014

    Have I missed something or did no one actually address the jquery-1.10.2.min.map 404 problem? Lots of talk about blockUI but that seems to be because the thread was hijacked by bdm55 in post 3.

    I’m getting the 404 on jquery-1.10.2.min.map after upgrading too. I’ve downloaded the WordPress zip file to check but it doesn’t include /wp-includes/js/jquery/jquery-1.10.2.min.map

    s7uar7 …

    You are correct in part I did post about the blockUI ..

    At the time I did not realize I was in the wrong thread.

    I apologize for causing any deviation from the topic. However – hijacked is an unnecessarily hostile word and implies intent – which I did not have.

    Again – I’m sorry for the inconvenience.

    No problem bdm55; I didn’t mean you did it deliberately.

    I’ve tested on a WordPress installation with the default Twenty Thirteen theme enabled and no plugins and I get the same error, so it would seem it’s a problem in the core WordPress install.

    flash_dg
    Member

    @flash_dg

    I don’t know why this is the reason, but the error occurs as a result of this line:

    //@ sourceMappingURL=jquery-1.10.2.min.map
    /wp-includes/js/jquery/jquery.js line 2

    If you remove that line (and obviously you shouldn’t as that’s hacking the WP core) then the error goes away.

    flash_dg
    Member

    @flash_dg

    Okay, so have dug a bit deeper into this and it seems that sourceMappingURL is a relatively new tool you can use in JS when minifying your code to map each line of it back to the un-minified version of the source. See here for reference. So basically you either have to comment out the sourceMappingURL line in the jquery.js file or you have to download the source map if you can find it. Think this is something that the guys at WP will have to resolve – it’s not theme specific, it’s a problem with the core.

    I have a suspicion that the download is only triggered if you are using one of these analysis tools. If it was requested every time then my logs would be full of 404 responses for ‘normal’ users, but it’s not.

    swiftdemise
    Member

    @swiftdemise

    s7uar7 I think you’re right. I no longer get the jQuery error even though WP hasn’t been updated. Must be one of the plugins.

Viewing 15 replies - 1 through 15 (of 36 total)
  • The topic ‘[Resolved] jQuery error on 3.6 upgrade jquery-1.10.2.min.map 404’ is closed to new replies.