WordPress.org

Ready to get started?Download WordPress

Forums

rtMedia for WordPress, BuddyPress and bbPress
[resolved] Lot of notices: Trying to get property of ... (13 posts)

  1. Intervik
    Member
    Posted 1 year ago #

    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/

  2. Intervik
    Member
    Posted 1 year ago #

    As a remark, This plugin works fine without error_reporting / debugging.

  3. rahul286
    Member
    Plugin Author

    Posted 1 year ago #

    @intervik

    Have you checked latest version 2.2.1?

    We just released it (2-3 hours ago)

  4. Intervik
    Member
    Posted 1 year 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.!

  5. Intervik
    Member
    Posted 1 year ago #

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

    This is WP core file

  6. rahul286
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  7. Intervik
    Member
    Posted 1 year ago #

    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.

  8. rahul286
    Member
    Plugin Author

    Posted 1 year ago #

    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. :-)

  9. rahul286
    Member
    Plugin Author

    Posted 1 year ago #

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

    I hope it fixes your issue.

  10. Intervik
    Member
    Posted 1 year ago #

    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 ?

  11. rahul286
    Member
    Plugin Author

    Posted 1 year ago #

    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...

  12. Intervik
    Member
    Posted 1 year ago #

    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

  13. rahul286
    Member
    Plugin Author

    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.