Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re-enabled group forum


  • mt78
    Participant

    @mt78

    Hi there,

    I have partialy the same problem like this http://buddypress.org/support/topic/resolved-error-when-adding-a-new-bbpress-topic/

    I have installed BuddyPress group forums with site wide forum. When I doing this steps:

    1. Go to any Group -> Group Admin -> Forum – and turn off – Group forums.2. Go to any Group -> Group Admin -> Forum – and turn on – Group forums.
    3. Got to Group -> Forums and what I get? I have got error!

    Error like this:
    Warning: substr() expects parameter 1 to be string, array given in /data/www/www_cyklodenik_cz/cyklodenik_cz/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-query.php on line 776 Warning: strpos() expects parameter 1 to be string, array given in /data/www/www_cyklodenik_cz/cyklodenik_cz/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-query.php on line 783 Warning: explode() expects parameter 2 to be string, array given in /data/www/www_cyklodenik_cz/cyklodenik_cz/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-query.php on line 789 Warning: Invalid argument supplied for foreach() in /data/www/www_cyklodenik_cz/cyklodenik_cz/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-query.php on line 789 Warning: substr() expects parameter 1 to be string, array given in /data/www/www_cyklodenik_cz/cyklodenik_cz/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-query.php on line 776 Warning: strpos() expects parameter 1 to be string, array given in /data/www/www_cyklodenik_cz/cyklodenik_cz/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-query.php on line 783 Warning: explode() expects parameter 2 to be string, array given in /data/www/www_cyklodenik_cz/cyklodenik_cz/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-query.php on line 789 Warning: Invalid argument supplied for foreach() in /data/www/www_cyklodenik_cz/cyklodenik_cz/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-query.php on line 789

    Info: WP3.5 , BP 1.6.3 , http://www.cyklodenik.cz

    Could you please take a look on it? It will happen to you?

    Thanks a lot.

Viewing 4 replies - 1 through 4 (of 4 total)

  • mt78
    Participant

    @mt78

    I made a several installations and tests and I am convinced it is the fault of BuddyPress! Please read:

    1. First, I created as admin new Group1 and created a new topic.
    2. Then I created a new User.
    3. I logged in to BuddyPress as Admin and I invite the User to friendship.
    4. I logged in as User and received friendship.
    5. I logged in as Admin and I invited the User to the Group1 and as User accepted the invitation.
    6. Admin created three different group forum topic in the Group1.
    7. As a User I saw them all, everything is great!
    8. Then I created as User a new group Group2.
    9. I created new group forum Topic. – And now beware! –
    10. I logged in as Admin and I saw a group forum on all topics. Three topics of my Group1, and one topic of the second Group2, which was created by the User and before I became a member. Everything is great!
    11. But then I logged in as User and in the group forum have not seen any topic!!! Wat is wrong? Bad day? No, may be BuddyPress fault!
    12. So I signed up as Admin, and now I’ve seen topics only my Group1!
    13. Then I went into the WordPress administration and what I see: In bbPress Forum administration (sidewide forums) is my Group1 that I created as Admin! This is absolutely crazy and a big problem!!!
    14. Then I did again test of disabling group forums of Group1 in group adminitrsation.
    15. Then I enabled the group forums and clicked on the forums link as I described above. I got exactly the same error as described above and haven’t nothing functional group forum topics.

    It makes me unhappy because I do not know how to properly install BuddyPress Group Forums and SiteWide Forums. And I do not know if the latest version of the components are compatible together.

    There are many guides to install everything to be smooth, but the instructions are different than BuddyPress documentation or Salutation template. For example http://www.youtube.com/watch?v=-0jSsra_n0c or http://youtu.be/M8mh3f6Vzbo

     


    mt78
    Participant

    @mt78

    OK, I’m sure that BuddyPress has a big issue! When you have a group and allowed the group forum, so everything runs well, until the group forums to disable and then enable it.

    Appears this error (see below) and group forum topic “falls” into the sitewide forum as private. When clicked on it, takes you back to a group forum topic with the same error!! BuddyPress is mad and my project is stopped and I’m screwed. I am sorry, I have a lot of work the last few days, and all work is useless.

     

    Warning: substr() expects parameter 1 to be string, array given in /data/www/www_cyklodenik_cz/cyklodenik_cz/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-query.php on line 776 Warning: strpos() expects parameter 1 to be string, array given in /data/www/www_cyklodenik_cz/cyklodenik_cz/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-query.php on line 783 Warning: explode() expects parameter 2 to be string, array given in /data/www/www_cyklodenik_cz/cyklodenik_cz/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-query.php on line 789 Warning: Invalid argument supplied for foreach() in /data/www/www_cyklodenik_cz/cyklodenik_cz/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-query.php on line 789 Warning: substr() expects parameter 1 to be string, array given in /data/www/www_cyklodenik_cz/cyklodenik_cz/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-query.php on line 776 Warning: strpos() expects parameter 1 to be string, array given in /data/www/www_cyklodenik_cz/cyklodenik_cz/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-query.php on line 783 Warning: explode() expects parameter 2 to be string, array given in /data/www/www_cyklodenik_cz/cyklodenik_cz/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-query.php on line 789 Warning: Invalid argument supplied for foreach() in /data/www/www_cyklodenik_cz/cyklodenik_cz/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-query.php on line 789


    dubbinz
    Participant

    @dubbinz

    I also had the same problem and I fixed this by removing all forums and following this old tutorial here
    https://codex.buddypress.org/legacy/installing-group-and-sitewide-forums-v1-5/3/

    after following it I deleted all the groups that were made before in an existing group forums installation and created a new group enabling the forums for the group and it all worked. You may have to, after creating your new groups, go click admin > forum on the group page and click to enable the group forums again as this is an old bug apparently that sometimes does not register the forums during the group creation wizard.

    I hope this fixes your problem.


    Jeff
    Participant

    @jschodde

    BP 1.7, BBPress 2.3, WP 3.5.1, Theme: BuddyBoss

    This is a major problem. I have to delete my groups!? Ok fine. Thankfully I’m in development stage right now so I removed the groups along with their associated forums. Here’s what I did next to reproduce the error:

    1. Removed all groups.
    2. Removed the associated forums and purged from trash. Only one site-level forum remained.
    3. Recreated the groups and elected to have a forum for each one.
    4. Viewed each group and clicked on Forums link. So far so good! The forum displays as expected.
    5. Visited the new Groups section (BP1.7) from admin console. All groups show fine.
    6. Selected one group to view it within admin console. I did notice that in the Discussion Forums meta box, the checkbox was selected but no forum was selected in the dropdown. Hmmm.
    7. Clicked Save for the group. No problem.
    8. Visited the group from front end, clicked on Forums link, BOOM!

    Errors:
    —————————————————————
    Mopar Club Connections → Forum
    Public Group

    Warning: substr() expects parameter 1 to be string, array given in /var/www/vhosts/jsmedianetworks.com/httpdocs/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-query.php on line 776

    Warning: strpos() expects parameter 1 to be string, array given in /var/www/vhosts/jsmedianetworks.com/httpdocs/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-query.php on line 783

    Warning: explode() expects parameter 2 to be string, array given in /var/www/vhosts/jsmedianetworks.com/httpdocs/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-query.php on line 789

    Warning: Invalid argument supplied for foreach() in /var/www/vhosts/jsmedianetworks.com/httpdocs/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-query.php on line 789

    Warning: substr() expects parameter 1 to be string, array given in /var/www/vhosts/jsmedianetworks.com/httpdocs/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-query.php on line 776

    Warning: strpos() expects parameter 1 to be string, array given in /var/www/vhosts/jsmedianetworks.com/httpdocs/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-query.php on line 783

    Warning: explode() expects parameter 2 to be string, array given in /var/www/vhosts/jsmedianetworks.com/httpdocs/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-query.php on line 789

    Warning: Invalid argument supplied for foreach() in /var/www/vhosts/jsmedianetworks.com/httpdocs/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-query.php on line 789

    I don’t know if this is BuddyPress or BBPress issue.
    -Jeff

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Re-enabled group forum’ is closed to new replies.
Skip to toolbar