Skip to:
Content
Pages
Categories
Search
Top
Bottom

Buddy Press Error When No Friends


  • grimbot
    Participant

    @grimbot

    Buddypress Version: 3.2.0
    WordPress Version: 4.9.8
    Theme: Child Theme of 2014
    PHP Version: 7.2.11

    Error description:

    User profile has no friends.. that’s not a problem.. lol..

    Problem is where it shows the friends I get this error:

    Warning: count(): Parameter must be an array or an object that implements Countable in /srv/disk6/2117321/www/staticcolonies.com/rural/homestead/wp-content/plugins/buddypress/bp-members/classes/class-bp-core-members-template.php on line 154

    Warning: count(): Parameter must be an array or an object that implements Countable in /srv/disk6/2117321/www/staticcolonies.com/rural/homestead/wp-content/plugins/buddypress/bp-members/classes/class-bp-core-members-template.php on line 155

    Sorry, no members were found.

Viewing 1 replies (of 1 total)

  • shanebp
    Moderator

    @shanebp

    I cannot duplicate this using PHP Version 7.0.26

    As you probably know, it’s just a warning and can safely be ignored.
    And won’t be visible when you turn debug off.

    afaik, part of the next release is cleaning up some calls re PHP 7+

    If you’d like to open a ticket, you can do so here.
    Be sure to include the steps necessary to reproduce, including which template pack you have selected in Settings > BP > Options.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar