Support » Plugin: BP Group Hierarchy » [Plugin: BP Group Hierarchy] groups hierarchy fatal error with bp 1.7 & wp 3.5beta2

  • Resolved Anointed

    (@anointed)


    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/

Viewing 6 replies - 1 through 6 (of 6 total)
  • 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.

    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.

    Plugin Author David Dean

    (@ddean)

    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.

    @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.

    Plugin Author David Dean

    (@ddean)

    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).

    @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.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: BP Group Hierarchy] groups hierarchy fatal error with bp 1.7 & wp 3.5beta2’ is closed to new replies.