Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1161365

    neodjandre
    Participant

    Hi guys,

    Just upgraded to PHP7 but perhaps this notice was there from before. I can see the following in my debug.log

    [05-Sep-2016 09:21:32 UTC] PHP Notice: Trying to get property of non-object in /homepages/1/dtesttest/htdocs/asweb/wp-content/themes/x/framework/functions/global/classes.php on line 424

    Not sure if it’s the theme, or one of my own functions responsible. Are you familiar with this ?

    many thanks

    #1161379

    Christian
    Moderator

    Hey there,

    Notices are not critical so you can ignore it. If you’re seeing it in the front-end or back-end of your site, please disable WP Debug. See https://codex.wordpress.org/WP_DEBUG

    Thanks.

    #1161382

    neodjandre
    Participant

    Hi Christian, yes I am aware, just letting you know in case you want to troubleshoot further as it seems a core theme notice.

    #1161398

    Christian
    Moderator

    I see. I don’t see that error on my test sites though. Line 424, has something to do with the Portfolio. Please check if you have an empty portfolio.

    Thanks.

    #1161761

    neodjandre
    Participant

    i disabled portfolios altogether using code from another forum thread !

    #1161787

    Darshana
    Moderator

    Hi there,

    Basically you can ignore PHP notices. Please follow the above post.

    Thanks!