Skip to:
Content
Pages
Categories
Search
Top
Bottom

BP Messages


  • grantg182
    Participant

    @grantg182

    Hi.

    I am running WordPress 3.8.1 and BuddyPress 1.9.2. I have an error appearing on the frontend when I enable the ‘BP Messages’ plugin, which is required for my site setup.

    The error appears to be generated inline with the ‘Inbox’ when using the BuddyBar Widget.

    The error is shown as:-

    <a href="http://www.mysite.co.uk/members/myadmin/messages">Inbox<br>
    <b>Notice</b>:  Trying to get property of non-object in <b>/home/mysite/public_html/wp-content/plugins/bp-messages/bp-messages-template.php</b> on line <b>289</b><br>

    I have searched around and cannot find any fix for the ‘Trying to get property of non-object in bp-messages-template.php on line 289’ error.

    I downloaded the BuddyPress files from the BP site and uploaded them all manually, overwriting existing files. I have also tried disabling all other addons and returned to Twenty Fourteen and the default BP theme, but the error remains.

    Any ideas? Many thanks!

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

  • aces
    Participant

    @aces

    @grantg182

    What is the actual BP Messages plugin and a link to it would be helpful. A simple google search was inconclusive….


    grantg182
    Participant

    @grantg182

    It appears to be included in BuddyPress 1.9.2.

    I extracted buddypress.1.9.2.zip to a folder on my desktop, buddypress.1.9.2.

    The path is buddypress.1.9.2/buddypress/bp-messages/

    On my site, I uploaded the ‘buddypress’ folder contents to /wp-content/plugins/, so /wp-content/plugins/bp-messages/.

    Thanks


    aces
    Participant

    @aces

    @grantg182

    I’m not clear about what you have done.

    Buddypress is a single plugin and should be in /wp-content/plugins/buddypress/

    Underneath that should be all the other files and folders ie: /wp-content/plugins/buddypress/bp-messages/ etc. that were in the zip.

    It should be installed and activated as a normal plugin.

    Once activated you should have a buddypress section under the wordpress settings section in admin.

    From there you activate different components such as bp messaging image from the codex


    grantg182
    Participant

    @grantg182

    I seem to have the following structure, without any problems.

    /wp-content/plugins/bp-activity/
    /wp-content/plugins/bp-blogs/
    /wp-content/plugins/bp-core/

    I also see the same screen as your screenshot under Settings>BuddyPress in my admin.

    I will proceed with removing these directories and upload them as subdirectories of /wp-content/plugins/buddypress/.


    grantg182
    Participant

    @grantg182

    Well, there we have it! I just backed up the site and re-uploaded the plugins directory to give the structure you stated, and all I had to do was re-Activate the BuddyPress plugin and my site is back to the way it was – so I can only assume you can still install the BP plugins as /wp-content/plugins/buddypress/bp-core/ OR wp-content/plugins/bp-core/ – they both seem to work.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘BP Messages’ is closed to new replies.
Skip to toolbar