Skip to:
Content
Pages
Categories
Search
Top
Bottom

Just installed BuddyPress, PHP Errors right away?


  • Travis
    Participant

    @tjtaylor

    Its been a few years since I’ve worked with BuddyPress. Today I installed the plugin and clicked on the Activity section and BAM! PHP errors:

    
    Notice: Trying to get property of non-object in /Applications/XAMPP/xamppfiles/htdocs/newarmy/wp-content/plugins/buddypress/bp-core/bp-core-functions.php(138) : runtime-created function on line 6
    
    Notice: Trying to get property of non-object in /Applications/XAMPP/xamppfiles/htdocs/newarmy/wp-content/plugins/buddypress/bp-core/bp-core-functions.php(138) : runtime-created function on line 6
    
    Warning: usort() [function.usort]: Array was modified by the user comparison function in /Applications/XAMPP/xamppfiles/htdocs/newarmy/wp-content/plugins/buddypress/bp-core/bp-core-functions.php on line 138
    

    Any idea what might be going on?

    Using WordPress version 4.1.1

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

  • Travis
    Participant

    @tjtaylor

    Just uninstalled all other plugins and the Warning went away. The first two errors are still there…


    Travis
    Participant

    @tjtaylor

    Also, I’m using PHP Version 5.3.1.

    (Sorry to keep bumping, cannot edit original post)


    danbp
    Moderator

    @danbp

    hi @tjtaylor,

    which is your theme and do you use bp-custom.php or some custom function ?
    Have you the same msg when you change the theme to Twenty 13 or 14 ?
    If you use a cache, clear it and retry.


    Travis
    Participant

    @tjtaylor

    I was using a custom theme I made from scratch. I’m not using bp-custom.php or any custom function. I just installed the plugin and clicked on Activity. I haven’t taken any further steps.

    I tried activating the Twenty 14 and 15 theme and I’m getting the same errors. Here’s a screenshot: https://cloudup.com/cD4mb7RIw1v

    The error also appears when I post anything in the activity feed. If I disable the activity feed altogether the error goes away completely.

    Also, I have WP_DEBUG turned ON.


    Travis
    Participant

    @tjtaylor

    @danbp

    I just setup a fresh new WordPress install and installed the BuddyPress plugin. The error is appearing here as well.


    danbp
    Moderator

    @danbp

    Wow stunning ! Are you on a local server ? MS or single install ?

    Could be that something went wrong during upload.
    Erase the BP folder and add a new copy.

    And remove your theme from the theme directory while testing with Twenty.


    Travis
    Participant

    @tjtaylor

    I’m on a local server, Mac Pro using XAMPP.

    The new install only had the Twenty 15 installed not my own theme. I installed the plugin directly through WP repository.

    It says this function was implemented in version 2.2.0. Perhaps it was never reported.

    With WP_DEBUG set to TRUE, you’re not getting this error as well?


    Travis
    Participant

    @tjtaylor

    @danbp

    I just setup a fresh WordPress install and installed BuddyPress only on another operating system. Still getting the same errors.


    danbp
    Moderator

    @danbp

    Sorry but i’m unable to reproduce that. I don’t have notices or warning about this issue.

    Can’t you make a test with the trunk version ? (direct link to zip – BuddyPress is in the src folder)


    Travis
    Participant

    @tjtaylor

    I just did a test with that trunk version and the errors are still appearing.


    danbp
    Moderator

    @danbp

    Welcome to the buddypress debug club ! Please open a ticket and give details about your install and any step to reproduce the issue. Add also a link to this topic.

    Go here and use same login as on this forum.
    https://buddypress.trac.wordpress.org/newticket

    If you don’t know how to post a ticket on a wiki page, read here first.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Just installed BuddyPress, PHP Errors right away?’ is closed to new replies.
Skip to toolbar