Back to GD bbPress Tools Forum

Argument error

Published on: June 29, 2012 at 6:56 pm · By: Anonymous
Author
Topic
#17211

After installing the plug-in and going through the setup at the top of the WP dashboard I’m getting the following error:

Warning: Invalid argument supplied for foreach() in /home/content/45/9494445/html/wordpress/wp-content/plugins/gd-bbpress-tools/code/mods/toolbar.php on line 57

Any ideas?

Viewing 3 replies - 1 through 3 (of 3 total)
Author
Replies
  • #17216

    I will check this. Thanks for reporting.

    Dev4Press - Premium plugins for WordPress.

  • #17318

    Same problem here. Line 49 says:

    if (count($forums)) {

    , but

     $forums = bbp_get_forums_for_current_user($query);

    returns ‘false’ when there are no (public) forums available.

    My suggestion is to replace line 49:

    if (count($forums)) {
    

    To:

    if ($forums != false) {
    
  • #17319

    Thanks for suggestion, I plan to release updated bbPress plugins as soon as bbPress 2.1 goes final, hopefully in the next few days.

    Dev4Press - Premium plugins for WordPress.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Argument error’ is closed to new replies.