P2-Breathe JavaScript issue?

  • Unknown's avatar

    Hello,

    We’ve been using P2-Breathe on our private blog for the organization of WordCamp Paris. It’s been great, much better than the regular P2!

    Thing, since today it seems a bug has emerged: whatever the browser, we can’t make the comment form appear, because clicking on the Answer button or link give a JS error.

    The error: “Uncaught TypeError: Cannot read property ‘length’ of null” .

    DevTools point to this block of code:


    o2.Suggestions = ( function( $ ) {
    return function( $editor ) {
    if ( 'undefined' != typeof jetpackMentionsData && jetpackMentionsData.length ) {
    $editor.mentions( jetpackMentionsData );
    }
    if ( 'undefined' != typeof xpostData && xpostData.length ) {
    $editor.xposts( xpostData );
    }
    $editor.hashtags();
    };
    } )( jQuery );

    Seems to be tied to Jetpack, but apart from that, I cannot tell what’s wrong.

    Moreover, the theme seems to not be available anymore: we created another private blog for another project, and only the regular P2 is available now. Could it be tied?

    Thanks a lot!

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Please note that we can still use the Subscribe and Like buttons/links.

    (and sorry for the garbled code, I thought it’d work okay, apparently not…)

  • Unknown's avatar

    Well, it works again… I didn’t even empty my browser cache, so there’ that :)

    Cheers!

  • xavier – glad it’s working again! The best place to report bugs with this theme – which is not yet available to the general public – is in the private P2 beta group. Just let me know if you’d like me to invite you as a user there. Thanks!

  • Unknown's avatar

    Thanks for the answer, Kathy!

    I understand it is not yet public, but I wonder how, then, I was able to choose it back in Sept-Oct for our WordCamp P2, and not for our non-profit P2 in January. Removed from the selection, put in public too soon, …?

  • Ah, that’s my mistake – it’s the self-hosted version that’s not yet public and has the beta group, not the WordPress.com version. Sorry for the confusion!

  • The topic ‘P2-Breathe JavaScript issue?’ is closed to new replies.