WordPress.org

Ready to get started?Download WordPress

Forums

BP Group Hierarchy
[resolved] groups hierarchy fatal error with bp 1.7 & wp 3.5beta2 (7 posts)

  1. Anointed
    Member
    Posted 1 year ago #

    When I activate the plugin and go to the primary site I see the fatal errors in my log files

    mod_fcgid: stderr: PHP Warning:  array_flip() expects parameter 1 to be array, null given in /home/mysite.net/public_html/wp-content/plugins/bp-group-hierarchy/extension.php on line 852, referer: http://mysite.net/wp-admin/network/admin.php?page=bp_group_hierarchy_settings
    
    mod_fcgid: stderr: PHP Warning:  array_filter() expects parameter 1 to be array, null given in /home/mysite.net/public_html/wp-content/plugins/bp-group-hierarchy/extension.php on line 856, referer: http://mysite.net/wp-admin/network/admin.php?page=bp_group_hierarchy_settings
    
    mod_fcgid: stderr: PHP Warning:  array_flip() expects parameter 1 to be array, null given in /home/mysite.net/public_html/wp-content/plugins/bp-group-hierarchy/extension.php on line 857, referer: http://mysite.net/wp-admin/network/admin.php?page=bp_group_hierarchy_settings
    
    mod_fcgid: stderr: PHP Fatal error:  Class 'BP_Group_Extension' not found in /home/site.net/public_html/wp-content/plugins/bp-groupblog/bp-groupblog-classes.php on line 8
    
    mod_fcgid: stderr: PHP Fatal error:  Class 'BP_Group_Extension' not found in /home/site.net/public_html/wp-content/plugins/bp-groupblog/bp-groupblog-classes.php on line 8, referer: http://site.net/wp-admin/network/admin.php?page=bp_group_hierarchy_settings

    http://wordpress.org/extend/plugins/bp-group-hierarchy/

  2. Anointed
    Member
    Posted 1 year ago #

    The plugin is also causing a huge memory race where even if I assign 1GB of memory, I get out of memory errors with the plugin activated.

  3. Anointed
    Member
    Posted 1 year ago #

    Just to note:
    I tried this plugin on a second site and had the same issues. There are definitely fatal errors going on and I'm guessing it has to do with a change in buddyPress 1.7 and WordPress 3.5beta2.

  4. David Dean
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Anointed,

    Thanks for the bug report!

    You've got errors from two plugins in there, both essentially telling you that the BP Groups component is not loaded or enabled. Is it? I test against BP 1.7-bleeding and haven't seen anything like this, but I'll pull down a fresh copy and see how it goes.

    The fatal error you've quoted is from another plugin. How do things look when that plugin is disabled?

    I also notice you're using multisite. Have you encountered similar issues on a single-site install?

    Also have you isolated the source of your memory use to this plugin? I've only had reports of high memory use on sites with hundreds of deeply-nested groups, so maybe that's how your site is. It's also possible another plugin is interacting poorly with this one.

  5. Anointed
    Member
    Posted 1 year ago #

    @ddean
    It turns out that something had changed in bbPress/buddPress recently which JJ has now fixed. This was making everything very unstable causing memory issues everywhere.

    Now that this is now fixed, I will jump in and do some more testing and report back what I find. Because I have a lot of members and posts, I have to be very careful about what I install on the server due to inefficient queries.

  6. David Dean
    Member
    Plugin Author

    Posted 1 year ago #

    Hi @Anointed
    Check out the development version for improved compatibility with BP 1.7, including a fix for the array_* warnings and a workaround for the BP_VERSION bug (#4550).

  7. Anointed
    Member
    Posted 1 year ago #

    @ddean
    The development vs. seems to be working great on the new WP 3.5beta2. I am seeing no real issues at all so far. At the moment, I have only created a dozen or so groups. I will let you know how it performs when we activate the groups for all the members and end up with 30k groups. Hopefully the performance will stay about the same.

    *Part of our strategy for the website will be requiring all members to have their own group, so this should be an interesting test.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.