Support » Plugin: YARPP - Yet Another Related Posts Plugin » Trying to get property ‘ID’ of non-object YARPP_Core line 1880

  • Resolved kojaa

    (@kojaa)


    Hey,

    I’ve hoped someone will notice and report this annoying spam of debug.log but i guess no one noticed this or just ignored it, however, your plugin is spamming debug log with this notice for over a month now.

    PHP Notice: Trying to get property 'ID' of non-object in /wp-content/plugins/yet-another-related-posts-plugin/classes/YARPP_Core.php on line 1880

    Please fix this. Thanks 🙂

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author yarpp

    (@jeffparker)

    Hi @kojaa what version of YARPP are you running? (so we can properly isolate the line number)

    Thread Starter kojaa

    (@kojaa)

    I’m using latest 5.25.0 version

    Plugin Author yarpp

    (@jeffparker)

    @kojaa thank you for the information. We’re looking into it and should have a fix for it in our next release! Thanks again for reporting it.

    mitratanikita

    (@mitratanikita)

    hi

    i also have the same problem..heres the logs

    [Fri Jul 16 15:45:33.145149 2021] [php7:notice] [pid 2136:tid 1852] [client 162.158.165.105:46104] PHP Notice:  Trying to get property 'ID' of non-object in C:\\Windows\\appserv\\www\\domain\\wp-content\\plugins\\yet-another-related-posts-plugin\\classes\\YARPP_Core.php on line 1880, referer: www.domain.com/wp-admin/nav-menus.php?action=edit&menu=453
    [Fri Jul 16 15:45:33.176399 2021] [php7:notice] [pid 2136:tid 1852] [client 162.158.165.105:46104] PHP Notice:  Trying to get property 'ID' of non-object in C:\\Windows\\appserv\\www\\domain\\wp-content\\plugins\\yet-another-related-posts-plugin\\classes\\YARPP_Core.php on line 1880, referer: www.domain.com/wp-admin/nav-menus.php?action=edit&menu=453
    [Fri Jul 16 15:45:33.223275 2021] [php7:notice] [pid 2136:tid 1852] [client 162.158.165.105:46104] PHP Notice:  Trying to get property 'ID' of non-object in C:\\Windows\\appserv\\www\\domain\\wp-content\\plugins\\yet-another-related-posts-plugin\\classes\\YARPP_Core.php on line 1880, referer: www.domain.com/wp-admin/nav-menus.php?action=edit&menu=453
    [Fri Jul 16 15:45:33.238898 2021] [php7:notice] [pid 2136:tid 1852] [client 162.158.165.105:46104] PHP Notice:  Trying to get property 'ID' of non-object in C:\\Windows\\appserv\\www\\domain\\wp-content\\plugins\\yet-another-related-posts-plugin\\classes\\YARPP_Core.php on line 1880, referer: www.domain.com/wp-admin/nav-menus.php?action=edit&menu=453
    [Fri Jul 16 15:45:33.270149 2021] [php7:notice] [pid 2136:tid 1852] [client 162.158.165.105:46104] PHP Notice:  Trying to get property 'ID' of non-object in C:\\Windows\\appserv\\www\\domain\\wp-content\\plugins\\yet-another-related-posts-plugin\\classes\\YARPP_Core.php on line 1880, referer: www.domain.com/wp-admin/nav-menus.php?action=edit&menu=453
    [Fri Jul 16 15:45:33.301405 2021] [php7:notice] [pid 2136:tid 1852] [client 162.158.165.105:46104] PHP Notice:  Trying to get property 'ID' of non-object in C:\\Windows\\appserv\\www\\domain\\wp-content\\plugins\\yet-another-related-posts-plugin\\classes\\YARPP_Core.php on line 1880, referer: www.domain.com/wp-admin/nav-menus.php?action=edit&menu=453

    when I edit menu and hit save it keep loading and then stopped

    down

    I also cant bulk edit (trash,delete,update) post…..it gave me warning

    There is a serious error on your website. Please check the inbox of your site administrator's email for guidance.
    
    Learn more about troubleshooting in WordPress. 

    When I bulk delete/update PAGE and hit the button , instead updating the pages it redirect me to post page dashboard

    mitratanikita

    (@mitratanikita)

    edit ..its not caused by YARPP – Yet Another Related Posts Plugin

    Plugin Author yarpp

    (@jeffparker)

    @mitratanikita Sounds right — as it’s only a warning and not an error. That said, the warning should also go away in our next release!

    Plugin Author yarpp

    (@jeffparker)

    @kojaa @mitratanikita please upgrade to Yarpp v5.27.0 or higher for the fix.

    Thread Starter kojaa

    (@kojaa)

    Thanks for the fix! Cheers!

    Plugin Author yarpp

    (@jeffparker)

Viewing 9 replies - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.