wduluoz (@wduluoz)

Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • In reply to: bbSync

    Ok.

    The warning prints every time I post or save. I realize it doesnt actually crash the website, but that warning is the only thing that appears.

    This is what is inserted into the user_meta. Its inserted when published or saved. It doesnt seem to be duplicated again after I save it if its already in there, but if I delete the listing, then it is re added

    capabilities a:1:{s:6:"member";b:1;}

    oddly enough it is not putting the bb_ in front of capabilities which may be a clue to whats happening.

    (I dont have $bb_roles in the config.php)

    Also a new post is put in bbpress each time it syncs.

    From what I gather: line 275 of capabilities.php is looking for an array to loop through which should have the capabilities.

    Wilbur

    In reply to: bbSync

    ok – using bbpress 0.8.2.1, wpmu (which is wp 2.2.1), and I have the users integrated.

    When I post through WP, it makes both the WP post and the bbpress post correctly, but this error appears. From what I can tell, the actually the usermeta information is being duplicated in the database for the person posting and it then crashes because it cant successfully get the capabilities.

    here is the crash:

    Warning: array_filter(): The second argument, 'Array', should be a valid callback in bb-includes/capabilities.php on line 271
    Warning: Invalid argument supplied for foreach() in bb-includes/capabilities.php on line 275
    Warning: array_filter(): The second argument, 'Array', should be a valid callback in bb-includes/capabilities.php on line 271
    Warning: Invalid argument supplied for foreach() in bb-includes/capabilities.php on line 275
    Warning: array_filter(): The second argument, 'Array', should be a valid callback in bb-includes/capabilities.php on line 271
    Warning: Invalid argument supplied for foreach() in bb-includes/capabilities.php on line 275
    Warning: array_filter(): The second argument, 'Array', should be a valid callback in bb-includes/capabilities.php on line 271
    Warning: Invalid argument supplied for foreach() in bb-includes/capabilities.php on line 275
    Warning: Cannot modify header information - headers already sent by (output started at bb-includes/capabilities.php:271) in /wp-includes/pluggable.php on line 338

    Ive trimmed the server path a little.

    I am wading through it trying to understand how you set it up. It nicely done, but I dont understand why this is happening.

    Wilbur

    In reply to: bbSync

    @fel64, having some strange problems now. I have followed your directions for the get_user, but now, when I post, the keymaster gets member inserted into usermeta and it crashes trying to pull up the capabilities array. I have wp and bbpress integrated.

    In reply to: bbSync

    @gspark001 lets say you have a wordpressmu up and you want a place where people can see posts from all of the WP installations. I run a family site. Some prefer to read each Website others prefer to look at the forums for updated info.

    I had phpBB connect for the same reason.

    @fel64 I keep getting a get_user error when I try to post. It seems to be setup correctly, but when I post it gives:

    Fatal error: Call to a member function get_user() on a non-object

    and references functions.php


    wduluoz
    Member

    @wduluoz

    Look at the Forum Restriction plugin post for info on how to fix the admin page and the keymaster problem.

    https://bbpress.org/plugins/topic/27/page/2?replies=23

    Wilbur

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