Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Jquery bug in Buddypress 2.1?

  • @pimarts

    Participant

    Still a satisfied user for buddypress for some time but I’m getting the following error in global.js on http://www.swnk.org after I updated to the newest version:

    Uncaught TypeError: undefined is not a function.

    It’s referring to this line:

    jq.cookie( 'bp-activity-oldestpage', 1, {

    I thought it might be conflicting jquery in my code or something, but after disabling jquery.site.js, the problem remained. It seems like I’m not including two versions of jquery either. I also tried to to define jq again as jquery (just trying everything I could think of) but that didn’t help either.

    As a result the slider on the homepage doesn’t work anymore, and probably more jquery code that isn’t executed.

    Anybody any idea how to fix this?

Viewing 10 replies - 1 through 10 (of 10 total)
  • @magicbmxfreestyle

    Participant

    I am having a problem with the (update post/status section) i’m not sure if that’s the same, but i know ifly chat isn’t working and that runs off jquery.

    @epawel

    Participant

    After the last update to Buddypress 2.1 I’m having the same issue:
    Uncaught TypeError: undefined is not a function (jq.cookie is not a function)
    global.js?ver=2.1 (line 1329)

    I’m using default bp theme (legacy) and WP 4.0 Multisite.
    Thank you for any help.

    @dutchlimits

    Participant

    I don’t know if its the right solution but it worked for me. Replacing the global.js (wp-content/plugins/buddypress/bp-themes/bp-default/_inc/) to an earlier version fixed the jquery problem for me.

    @epawel

    Participant

    thanks, I’ve done it however I think it’s not perfect because it might break some new functionalities included in the new BP version

    @dutchlimits

    Participant

    Its the only solution for me right now, i can’t do without jquery

    @r-a-y

    Keymaster

    Thanks for the report everyone.

    Can you test the fix located here?
    https://buddypress.trac.wordpress.org/attachment/ticket/5889/5889.01.patch

    @pimarts

    Participant

    Fixed it for me! Thanks r-a-y!

    @dutchlimits

    Participant

    Yes, your solution works. Thank you.

    @epawel

    Participant

    Works like a charm. Thank you!

    @jnashdesign

    Participant

    @r-a-y I had the same problem and your fix worked for me. Thank you so much!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Resolved] Jquery bug in Buddypress 2.1?’ is closed to new replies.
Skip to toolbar