[wp-trac] [WordPress Trac] #52198: [PHP 8.0] Undefined property: stdClass::$post_status on /wp-admin/includes/misc.php

WordPress Trac noreply at wordpress.org
Mon Jan 11 00:11:22 UTC 2021


#52198: [PHP 8.0] Undefined property: stdClass::$post_status on /wp-
admin/includes/misc.php
-------------------------------+------------------------------
 Reporter:  GwynethLlewelyn    |       Owner:  (none)
     Type:  defect (bug)       |      Status:  closed
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Posts, Post Types  |     Version:  5.6
 Severity:  trivial            |  Resolution:  worksforme
 Keywords:  php8 close         |     Focuses:
-------------------------------+------------------------------
Changes (by GwynethLlewelyn):

 * keywords:  php8 reporter-feedback => php8 close
 * status:  new => closed
 * resolution:   => worksforme


Comment:

 Sorry for the delay in answering...

 @SergeyBiryukov you're quite right!

 Also, now I cannot reproduce the error on my own setup — I've
 updated/upgraded a few plugins, removed others, deactivated a few more...
 this is a work-in-progress, mind you... and probably at some point, I must
 have removed whatever plugin was causing the warning.

 I'll close this ticket for now; I've kept `debug_print_backtrace()` in
 place, just in case that it pops up again...

 Thanks anyway for looking into this! 😊

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52198#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list