WordPress.org

Support

Support » Plugins and Hacks » rtMedia for WordPress, BuddyPress and bbPress » [Resolved] Lot of notices: Trying to get property of …

[Resolved] Lot of notices: Trying to get property of …

  • This is a exciting plugin, waited for this update but:

    The Classic Notice for plugins in 6.1, But this is a new release and I got Notices all over the site. Im posting this, so I could get a direction of the problem, it might be a typical problem for plugins like Advanced Custom fields, Nav X breadcrumbs, or other dealing with serialized content.

    It Seems like a post type ISSUE and propably one brick fall on the othere here. : BP_Media_Album::$ID in… Se below at the end. They ONLY appear on Upload image, Photos and Albums TAB. The plu works, its only Notices, destroying my site layout.

    Errors : (Some of the Notices)

    On Photo tab :
    Notice: Trying to get property of non-object in … \wp-content\plugins\buddypress\bp-activity\bp-activity-template.php on line 703

    And in Album tab :
    Notice: Trying to get property of non-object in D:\UniServer\www\wp-entex-default\wp-content\plugins\buddypress-media\includes\bp-media-template-functions.php on line 223

    Everywhere in theme WHEN visiting Photo, album, upload Tab:

    Notice: Undefined property: BP_Media_Album::$ID in …\wp-content\plugins\advanced-custom-fields\core\api.php on line 108

    ANY help would be nice !

    / Lundman

    http://wordpress.org/extend/plugins/buddypress-media/

Viewing 12 replies - 1 through 12 (of 12 total)
  • As a remark, This plugin works fine without error_reporting / debugging.

    Plugin Author Rahul Bansal

    @rahul286

    @intervik

    Have you checked latest version 2.2.1?

    We just released it (2-3 hours ago)

    Yes, I follow this very tender. Latest everything. Bpdtheme, diifrent configs testdrives.

    On Albums Tab (only – when landing on it): Always
    Notice: Trying to get property of non-object in …\wp-content\plugins\buddypress-media\includes\bp-media-template-functions.php on line 223

    Advanced Custom fields reporting:
    Undefined property: BP_Media_Album::$ID

    Breadcrumb NavXT reporting
    Undefined property: BP_Media_Album::$ID

    On Photos Tab (When landing on it):

    Advanced Custom fields reporting:
    Undefined property: BP_Media_Album::$ID

    Breadcrumb NavXT reporting
    Undefined property: BP_Media_Album::$ID

    Single photo works fine

    When album / clicking on each album

    Advanced Custom fields reporting:
    Undefined property: BP_Media_Album::$ID

    Breadcrumb NavXT reporting
    Undefined property: BP_Media_Album::$ID

    Do you think there is a post type conflict ?
    Something with the slug is spooky might?
    The music works but is also a album in Albums

    can you just point a direction if any ideas, I gonna try to track som more, but check your bp-media-template-functions.php on line 223,

    I need this baby working.!

    Also Notice: Undefined property: BP_Media_Album::$ID wp-includes\post-template.php on line 30

    This is WP core file

    Plugin Author Rahul Bansal

    @rahul286

    Thanks for reporting this.

    We will surely look into this as a first thing tomorrow morning.

    Just before release we made a small logical change – delay default user album creation till user uploads first media file. I guess we need to add some sanity checks like isset() to avoid such notices.

    Ok,

    I did a complete new install with only Buddypress media and this still remains :

    Notice: Trying to get property of non-object in D:\UniServer\www\clean-buddypress\wp-content\plugins\buddypress-media\includes\bp-media-template-functions.php on line 223

    So you have a good starting point.

    Thanks for all the time deliver this free support.

    Plugin Author Rahul Bansal

    @rahul286

    We will surely look into this tomorrow.

    In version 2.2.1 (released today) we added support for PHP 5.2 and older only.

    Tomorrow, we will do another minor release which will hopefully address this issue.

    Thanks for your patience. 🙂

    Plugin Author Rahul Bansal

    @rahul286

    @ Intervik
    We released a minor update to address notices. Please upgrade.

    I hope it fixes your issue.

    Updated and Notice gone on Album tab. Thank you. This still remains:

    Notice: Undefined property: BP_Media_Host_Wordpress::$ID in …\wp-includes\post-template.php on line 30

    It must be a post type issue, not property registered, or the types on TAB Photos and TAB Albums doesnt recover the post query properly.

    Anyone any ideas ?

    Plugin Author Rahul Bansal

    @rahul286

    Notice: Undefined property: BP_Media_Host_Wordpress::$ID in …\wp-includes\post-template.php on line 30

    Sorry to say we are not seeing above notice on our setup? Error_logging is on (that is how we manage to remove other notice.

    Are you using a custom theme? Also wp-includes\post-template.php is wordpress-core file…

    Using error_reporting(‘E_ALL’) in functions.php

    Im using Advanced Custom fields, and 70 other plugins, full Buddypress install, s2member, WPML and Multilang set up.

    Single install

    We have carefully build this prototype step by step and everything dancing perfectly.

    This plugin is started to throw this Notices.

    We dont call it a bug, Its only related to the 2 TABS screen, and we have to track it down so we can keep our Breadcrums system and fields alive with your work.

    We gonna build the media core ON your plugin and extend all project with your addons later.

    THX

    Plugin Author Rahul Bansal

    @rahul286

    Some front-end notices are fixed. As of now we are not able to find any notice.

    Please upgrade to 2.2.3 and let us know if you see any more notices there.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘[Resolved] Lot of notices: Trying to get property of …’ is closed to new replies.
Skip to toolbar