Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Warning: reset() error message


  • LavishDhand
    Participant

    @lavishdhand

    Hello!

    My WordPress version is : 4.5.3
    My BuddyPress version is : 2.6.1.1
    Link where error is visible : https://goo.gl/yhrNBI

    I have notice the following error on my site’s single activity pages.

    Warning: reset() expects parameter 1 to be array, boolean given in /wp-content/plugins/buddypress/bp-core/bp-core-template.php on line 3048

    When I Googled for “/wp-content/plugins/buddypress/bp-core/bp-core-template.php on line 3048” I found lots of websites have this error.

    Kindly help resolving this issue

    Thank you

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

  • danbp
    Participant

    @danbp

    Give details please.
    Plugins ?
    Theme ?
    Custom functions ?
    PHP version ?

    When did those errors appear ?
    Can you check for JS errors ? Use browser tools or Firebug…
    Can also come from avatars or malformed nav items (changed since 2.6), so it might be a theme issue. Activate one of Twenty’s theme and see if errors remain.


    LavishDhand
    Participant

    @lavishdhand

    It seems there is no error using any of the Twenty’s themes. I have written to my theme’s developer now.

    Thank you for the help!


    Marcos Nobre
    Participant

    @onyx808

    Hi, this started to happen to me with the latest buddypress update, I have a buddypress folder in my theme with my customizations, so I tried renaming that folder so it won’t be used, however the issue still occurs…

    the php error is the following

    [error] 10524#0: *41486276 FastCGI sent in stderr: “PHP message: PHP Warning: reset() expects parameter 1 to be array, boolean given in /var/www/website.com/wp-content/plugins/buddypress/bp-core/bp-core-template.php on line 3048” while reading response header from upstream, client: 74.130.56.345, server: website.com, request: “GET /members/meinhardt/media/604/ HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php5-fpm.sock:”, host: “www.website.com”, referrer: “http://www.website.com/activity/“


    LavishDhand
    Participant

    @lavishdhand

    @onyx808 my theme developer says, BP 2.6 is a major update and they will soon update the theme that should fix this error.

    As a temporary solution, I have added the following to my child theme’s function.php. Following code will only stop the php warning from being displayed.

    ini_set(‘display_errors’, 0);
    error_reporting(0);

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