Skip to:
Content
Pages
Categories
Search
Top
Bottom

Groups function not working

  • @julia_b

    Participant

    Just installed the latest buddypress upgrade this morning and my groups have all disappeared.

    Here’s the error message I get when trying to view them:

    Fatal error: Cannot redeclare _bp_strip_spans_from_title()

    I tried to create a new group and it appeared then too.

    I’ve tried deactivating all the plugins and that doesn’t fix it.

    Hope someone can help. Thanks!

Viewing 11 replies - 1 through 11 (of 11 total)
  • @danbp

    Participant

    hi @julia_b,

    you can try to apply patch 8. See here:
    https://buddypress.trac.wordpress.org/ticket/6107

    Will probably be solved in BP 2.2.2

    @enaijo

    Participant

    For me, the problem is introduced with 2.2.2, not solved …

    @julia_b

    Participant

    Thanks @danbp, but like @enaijo above, it was installing 2.2.2 that introduced this issue for my site too.

    @danbp

    Participant

    2.2.2 is out since a few hours only.
    If you have issue with that version, open a ticket directly on Trac.

    @julia_b

    Participant

    I don’t know how to do that @danbp, could you point me to some instructions maybe please?

    @danbp

    Participant

    See from here how you can publish on Trac

    Participate and Contribute

    Cannot redeclare _bp_strip_spans_from_title() means generally that 2 functions with the same name are running at the same time.

    This can came from a plugin or a theme.
    For example BP is using bp_strip_spans_from_title, but if your theme use the same function, this provides a colision and you got a php fatal error.

    Activate 2015 and see if the issue still occurs.

    Meanwhile, I just updated all my BP installs (with different themes) without any errors.

    @imath

    Moderator

    Hi,

    the trouble seems to be that _bp_strip_spans_from_title() is declared by another plugin or a theme or a code in bp-custom.php or in a mu-plugin…

    You should try to find the place were this function is already declared.

    In the meantime you can create a bp-custom.php file at the root of /wp-content/plugins/ and use this gist in it to see if it solves the issue :

    https://gist.github.com/imath/1db3ac2e95c1ce3eb681

    @imath

    Moderator

    Removed the gist as it’s not fixing the issue

    @djpaul

    Keymaster

    Just to let everyone know that we are looking at this right now.

    @djpaul

    Keymaster

    We found the issue, working on a bug report / fix.

    @djpaul

    Keymaster

    Bug ticket is https://buddypress.trac.wordpress.org/ticket/6369.

    I am going to close this thread because we have a similar discussion happening over here: https://buddypress.org/support/topic/fatal-error-after-update/#post-237672

    Thank you.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Groups function not working’ is closed to new replies.
Skip to toolbar