[wp-trac] [WordPress Trac] #60629: PHP Fatal error: Uncaught TypeError: gmdate(): Argument #2 ($timestamp) must be of type ?int, string given in wp-admin/includes/dashboard.php:1025

WordPress Trac noreply at wordpress.org
Fri Aug 23 00:04:16 UTC 2024


#60629: PHP Fatal error:  Uncaught TypeError: gmdate(): Argument #2 ($timestamp)
must be of type ?int, string given in wp-admin/includes/dashboard.php:1025
--------------------------+--------------------------------
 Reporter:  vanhoucke     |       Owner:  hellofromTonya
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  6.7
Component:  Date/Time     |     Version:  6.4.3
 Severity:  normal        |  Resolution:
 Keywords:  php80         |     Focuses:  php-compatibility
--------------------------+--------------------------------

Comment (by peterwilsoncc):

 I've created a [https://github.com/WordPress/wordpress-develop/pull/7233
 PR for this] and the related tickets to cast the gmt offset throughout the
 code base. I'm happy to hear suggestions for alternative approaches too.

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


More information about the wp-trac mailing list