[wp-trac] [WordPress Trac] #51196: PHP warning at every pageload form cron

WordPress Trac noreply at wordpress.org
Tue Sep 1 09:20:43 UTC 2020


#51196: PHP warning at every pageload form cron
--------------------------+------------------------------
 Reporter:  opajaap       |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Cron API      |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  close         |     Focuses:
--------------------------+------------------------------
Changes (by johnbillion):

 * keywords:   => close
 * focuses:  performance =>
 * component:  General => Cron API
 * version:  5.5 =>


Comment:

 This is most likely caused by a plugin which has (intentionally or
 accidentally) added a value of false to the cron array. Even after
 deactivating your plugins, this value will persist.

 Unfortunately WordPress core can't protect against every possible invalid
 value in every option. I'm not sure that this is something that core
 should protect against. The PHP errors here are doing their job and
 alerting the user to a problem, which is their purpose.

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


More information about the wp-trac mailing list