[wp-trac] [WordPress Trac] #56358: PHP8 TypeError on current_time( 'timestamp' ) if timezone is set to GMT / 0

WordPress Trac noreply at wordpress.org
Wed Aug 10 23:27:51 UTC 2022


#56358: PHP8 TypeError on current_time( 'timestamp' ) if timezone is set to GMT / 0
---------------------------+------------------------------
 Reporter:  toastercookie  |       Owner:  (none)
     Type:  defect (bug)   |      Status:  closed
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Date/Time      |     Version:  6.0
 Severity:  minor          |  Resolution:  invalid
 Keywords:                 |     Focuses:
---------------------------+------------------------------
Changes (by toastercookie):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 Changing the timezone and then changing it back seems to have fixed it for
 me, so there must have been something weird in my DB being returned. I
 can't reproduce this on my end anymore so I will just go ahead and close
 this! Sorry for wasting yall's time

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


More information about the wp-trac mailing list