• Resolved Tim Blake

    (@tim-blake)


    This is my second attempt at upgrading JetPack. My previous attempt was with 1.4.2. I’m currently running 1.3.4 and my sharing functions work properly. Unfortunately, the 1.4.2 upgrade broke my sharing functionality. The ‘print’ and ’email’ portions still worked. This latest upgrade (1.6.1) makes the entire share function obsolete. Whenever I click on the ’email’, ‘print’ or ‘share’ links, they simply take me to the top of the page.

    I’m also now unable to see my site stats. I’m assuming that’s because I’m running such an outdated version.

    As previously suggested, I’m not using the ‘Minify’ option in W3 Total Cache…in fact I haven’t been for quite some time. I also cleared the page and browser cache just after the most recent install.

    I’m stumped and am hoping that someone will be able to help.

    My latest post is https://blakedesignsolutions.com/2012/why-you-should-know-your-audience-before-starting-your-next-marketing-campaign/.

    https://www.ads-software.com/extend/plugins/jetpack/

Viewing 11 replies - 1 through 11 (of 11 total)
  • I have the same problem

    Plugin Contributor Beau Lebens

    (@beaulebens)

    A lot of fixes and updates were made to the sharing features in the 1.7 release that just went out. Please check it out and let us know if you still have problems.

    Thread Starter Tim Blake

    (@tim-blake)

    Beau, I just updated to 1.7, but I’m still seeing the same issues. The ‘More’ button simply takes me to the top of the page. The ‘Email’ and ‘Print’ buttons both open a new tab in my browser.

    I also checked to see if I could now check my site stats, but even with 1.7 I’m unable to connect to the server. Not sure why this is.

    I’m going to go back to 1.3.4 for now, but if you need for me to reinstall 1.7, just contact me.

    Thanks for your assistance.

    Plugin Contributor Beau Lebens

    (@beaulebens)

    It sounds like a Javascript error, but it’s almost impossible to tell without doing some direct testing. If you could possibly re-install 1.7 and let us know, I can take a look and try to figure out what’s going on.

    Thread Starter Tim Blake

    (@tim-blake)

    Beau,
    I haven’t updated the plugin yet, because I wasn’t sure when you might be able to look at it. I was wondering if you might have time to take a gander over the weekend? If not — I understand — then could you give me a time which might be more convenient? I just don’t want the site to be handicapped for too long.

    Thanks for your willingness to help.

    -Tim

    Plugin Contributor Beau Lebens

    (@beaulebens)

    Some time on Tuesday would be better. I’m on Eastern US time if that helps. If you just let me know on here when you’ve switched it over, I’m getting email notifications so I can jump over and take a look.

    Thread Starter Tim Blake

    (@tim-blake)

    Thanks Beau. I’m also on the east coast, so that’ll make it easier. I’ll switch it over first thing on Tuesday AM. That way it will be ready to go when you are.

    Plugin Contributor Beau Lebens

    (@beaulebens)

    @tim, I’m not sure what is doing it (could be a plugin, or your theme), but something on your site is loading jQuery (the JavaScript library) from Google, instead of from WordPress itself. Normally that’s fine, but your site is loading v1.4.4, which is really old. The latest version is 1.8.1, and WordPress itself packaged I think 1.7.x in WP 3.4.1.

    Anyway, I believe that’s your problem — you need a more recent version of jQuery because the old version you’re loading doesn’t support some of the things required for the sharing feature to work correctly. It’s quite possibly what’s to blame for your stats problem as well.

    The URL it’s loading is:

    https://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js

    in case that helps you find what’s loading it.

    Thread Starter Tim Blake

    (@tim-blake)

    Beau,
    Thanks again for your assistance with this. I’ve already started investigating what could possibly be loading in this outdated jQuery. I’ll continue digging and hopefully I’ll be able to get to the bottom of it quickly.

    I’m going to leave this topic open for the time being, in hopes that I’ll figure out the culprit. When I do, I’ll post a reply and mark this topic as resolved.

    Thread Starter Tim Blake

    (@tim-blake)

    Beau,
    I just wanted to thank you again for your assistance. I discovered that the offending command actually was coming from my theme. This was my first attempt at creating a WordPress theme, so I’m sure it’s not the only issue.
    My ‘functions.php’ contained the following code:

    // Load jQuery
    	if ( !is_admin() ) {
    	   wp_deregister_script('jquery');
    	   wp_register_script('jquery', ("https://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"), false);
    	   wp_enqueue_script('jquery');
    	}

    To fix the problem, I simply changed the ‘1.4’ to ‘1.8’. Honestly, I’m not sure if this was the best solution or simply a bandaid. Maybe you could shed some light?
    Either way, I sincerely thank you for taking your time to help. The plugin and ‘Site Stats’ both appear to be working correctly now.

    Plugin Contributor Beau Lebens

    (@beaulebens)

    That’s a decent enough solution. The main reason for loading from Google is to offload a little bit of bandwidth burden to them/their CDN and theoretically speed things up a little. Personally I don’t bother, I just let it load from WP itself (which you could do by just removing the first part of that code, and leaving wp_enqueue_script('jquery');

    Glad you found it and that that was the actual problem ?? Marking this as resolved. Cheers.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘[Plugin: Jetpack by WordPress.com] Sharing feature broken in 1.6.1’ is closed to new replies.