• Resolved ls41

    (@ls41)


    Following warning message is displayed when user is not logged-in.

    Notice: Trying to get property of non-object in /var/www/dirxyz/wp-includes/post-template.php on line 29 Notice: Trying to get property of non-object in /var/www/direxyz/wp-includes/post-template.php on line 29

    Above notice appears only when BadgeOS is active and when user is not logged-in.

    After deactivating the plugin Notice is not displayed.

    https://www.ads-software.com/plugins/badgeos/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter ls41

    (@ls41)

    This is displayed only when viewing

    – WordPress posts and pages
    – bbPress Forums

    Not displayed while viewing buddyPress templates pages.

    Michael Beckwith

    (@tw2113)

    The BenchPresser

    It’s really hard for us to possibly trace down where it’s coming from without any sort of stacktrace for the code. However, while it’s definitely good to prevent those types of notices from showing up, they’re also not going to hinder the page or page load.

    If you could provide information on where it’s coming from inside your install, we can get that cleared in a future version.

    Thread Starter ls41

    (@ls41)

    Can you give me an idea on where to look (what files) an any other info that can help me debug.

    If the warning is only in admin area, I can live that that. But, its displayed in the front end, so I can’t launch the new site with that.

    I can provide access to the site if you like to debug.

    Michael Beckwith

    (@tw2113)

    The BenchPresser

    I assume you have WP_DEBUG on right now as you’re developing the site, once that gets turned off, this should disappear, and as I said before, it’s not going to be anything that breaks the website.

    I really like https://www.ads-software.com/plugins/query-monitor/ as a plugin and it provides information like stacktraces. See what that turns up for you. I try to avoid getting access to other peoples’ sites as much as I can.

    Thread Starter ls41

    (@ls41)

    Marking this as resolved.

    After WP_Debug is turned-off warning notices disappeared.

    Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Warning Notice displayed when BadgeOS is activated’ is closed to new replies.