[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
Sat Feb 24 16:57:33 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: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Date/Time | Version: 6.4.3
Severity: normal | Keywords:
Focuses: php-compatibility |
-------------------------------+-----------------------------
== Bug Report
=== Description
Describe the bug.
=== Environment
- WordPress: 6.4.3
- PHP: 8.3.3-1+ubuntu22.04.1+deb.sury.org+1
- Server: Apache/2.4.52 (Ubuntu)
- Database: mysqli (Server: 8.0.36-0ubuntu0.22.04.1 / Client: mysqlnd
8.3.3-1+ubuntu22.04.1+deb.sury.org+1)
- Browser: Chrome 121.0.0.0 (Windows 10/11)
- Theme: tfm4wp 23.05.1
- MU-Plugins:
* wp-hide-loader.php
- Plugins:
* Advanced Cron Manager 2.5.2
* Cron Logger 1.2.1
* ct4gg 1.5.1
* Customer Tools For WordPress 1.1.0
* Cycles For WordPress 24.02.1
* Duplicator 1.5.8.1
* Loco Translate 2.6.6
* Query Monitor 3.15.0
* Solid Security Basique 9.3.1
* stats4wp 1.4.9
* Theme Check 20231220
* WordPress Beta Tester 3.5.5
* WP Hide & Security Enhancer 2.3.1
=== Steps to Reproduce
1. Change Php 7.4 to php 8.3
2. login to admin dashboard
x. 🐞 Bug occurs.
At login to dashboard
=== Expected Results
1. ✅ What should happen.
=== Actual Results
1. ❌ What actually happened.
[24-Feb-2024 15:34:00 UTC] PHP Fatal error: Uncaught TypeError: gmdate():
Argument #2 ($timestamp) must be of type ?int, string given in
/var/www/vhost/dev-wordpress/wp-admin/includes/dashboard.php:1025
Stack trace:
#0 /var/www/vhost/dev-wordpress/wp-admin/includes/dashboard.php(1025):
gmdate()
#1 /var/www/vhost/dev-wordpress/wp-admin/includes/dashboard.php(948):
wp_dashboard_recent_posts()
#2 /var/www/vhost/dev-wordpress/wp-admin/includes/template.php(1456):
wp_dashboard_site_activity()
#3 /var/www/vhost/dev-wordpress/wp-admin/includes/dashboard.php(271):
do_meta_boxes()
#4 /var/www/vhost/dev-wordpress/wp-admin/index.php(204): wp_dashboard()
#5 {main}
thrown in /var/www/vhost/dev-wordpress/wp-admin/includes/dashboard.php
on line 1025
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60629>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list