Skip to:
Content
Pages
Categories
Search
Top
Bottom

Wang Guard Users Error

  • Avatar of Leandro Tavares Rocha
    Leandro Tavares Rocha
    Participant

    @leandrorocha

    I’m getting an error when viewing the display screen users in network administration (WPMS BuddyPress 3.1 and 1.2.8). In the field where it shows the status of Wang Guard the following message appears:

    Warning: array_keys () [function.array-keys]: The first argument Should Be an array in / home / _______ / public_html / wp-content / plugins / buddypress / bp-forums.php on line 535

    I’ve deactivated the plugins in the network, but the error still persists. Has anyone seen this error?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Avatar of José Conti
    Jose Conti
    Participant

    @jconti

    Hi,

    I use WGG on 10 sites and I don’t have this error (wp3.1 + BP1.2.8)

    Your error is related to $bb_cap (bbpress user permissions)

    Reinstall bbPress and may be it fix the error.

    Do you use any plugin for user permissions?

    Avatar of Leandro Tavares Rocha
    Leandro Tavares Rocha
    Participant

    @leandrorocha

    No, I don’t use any plugin for user permissions. I looked the bp-forum.php and the line is this:

    $bb_cap = array_keys($bb_cap);
    $bb_cap = $wp_roles->get_role( $bb_cap[0] );
    $bb_cap = $bb_cap->capabilities;

    I can not imagine what is wrong. The problem only disappears when I disable buddypress. ‘ve deactivated all plugins, but the error continues.

    Avatar of José Conti
    Jose Conti
    Participant

    @jconti

    Make a test,

    Activate BuddyPress and deactivate the forums component.

    Perhaps the error disappear.

    If the error dissaper, you will have time for look for the problem.

    Avatar of Leandro Tavares Rocha
    Leandro Tavares Rocha
    Participant

    @leandrorocha

    I made the test and when a deactivate the forums component, the problem disappear.

    I reinstalled the bbforum, deleted the buddypress, cleaned the tables, but nothing made the error finally disappear. The most strange is that I created a test installation in other site and everything it´s working.

    Avatar of Leandro Tavares Rocha
    Leandro Tavares Rocha
    Participant

    @leandrorocha

    Update:

    I have not found the solution, but I think I’m on track. The problem apparently is in the table usermeta, I believe that any plugin that I used previously should have added a field that is generating this error.

    Avatar of José Conti
    Jose Conti
    Participant

    @jconti

    Ok,

    If you found the problem, please update me

    Thank you

    Avatar of Leandro Tavares Rocha
    Leandro Tavares Rocha
    Participant

    @leandrorocha

    I didn’t find the problem, but I made a solution.

    I “cleaned” the usemeta table. I create another database and imported all field relevants.

    Until now everything it´s working.

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

The forum ‘WangGuard’ is closed to new topics and replies.