Title: Uncaught Error: gmdate()
Last modified: April 25, 2023

---

# Uncaught Error: gmdate()

 *  Resolved [twotree](https://wordpress.org/support/users/twotree/)
 * (@twotree)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/uncaught-error-gmdate/)
 * The error below is shown on the dashboard page when logged into WordPress (after
   installing Query Monitor):
 * **Uncaught Error: gmdate(): Argument #2 ($timestamp) must be of type ?int, string
   given**

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [John Blackbourn](https://wordpress.org/support/users/johnbillion/)
 * (@johnbillion)
 * WordPress Core Developer
 * [3 years, 1 month ago](https://wordpress.org/support/topic/uncaught-error-gmdate/#post-16684405)
    - Where on the page is the error appearing please? Can you provide a screenshot?
    - Does the error disappear if you deactivate the other plugins on your site 
      and switch to one of the default “Twenty” themes?
    - Can you access a full stack trace for the error? There might be one in the
      PHP error log on your server.
 *  Thread Starter [twotree](https://wordpress.org/support/users/twotree/)
 * (@twotree)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/uncaught-error-gmdate/#post-16685617)
 * Please see the screenshots here:
 * [https://ibb.co/MDFbRyM](https://ibb.co/MDFbRyM)
 * [https://ibb.co/p4Df7MN](https://ibb.co/p4Df7MN)
 * The error disappeared after deactivating everything, but appeared as soon as 
   I activate a Divi Child Theme I am using. The error doesn’t seem to have any 
   negative consequences, so it’s not pressing (just thought I’d let you know). 
   If you want to analyze it, I am happy to give you access to a staging copy of
   the site.
   I’m not technically versed enough to provide the full stack trace, 
   sorry. :/
 *  Plugin Author [John Blackbourn](https://wordpress.org/support/users/johnbillion/)
 * (@johnbillion)
 * WordPress Core Developer
 * [3 years, 1 month ago](https://wordpress.org/support/topic/uncaught-error-gmdate/#post-16687043)
 * If you deactivate Query Monitor do you still see a fatal error message in that
   position? You might need to enable `WP_DEBUG_DISPLAY` for it to show up.
 * If so, you’ll need to report the problem to the author of your theme.
 *  Thread Starter [twotree](https://wordpress.org/support/users/twotree/)
 * (@twotree)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/uncaught-error-gmdate/#post-16687201)
 * When I disable Query Monitor and set WP_DEBUG_DISPLAY to true, the following 
   is displayed: 
   [https://i.imgur.com/rRtPUAo.png](https://i.imgur.com/rRtPUAo.png)
 * By the way, I found that there were some more details in the original error message:
   
   [https://i.imgur.com/QYW3BB0.png](https://i.imgur.com/QYW3BB0.png)[https://i.imgur.com/Nrseo7b.png](https://i.imgur.com/Nrseo7b.png)

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Uncaught Error: gmdate()’ is closed to new replies.

 * ![](https://ps.w.org/query-monitor/assets/icon.svg?rev=2994095)
 * [Query Monitor](https://wordpress.org/plugins/query-monitor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/query-monitor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/query-monitor/)
 * [Active Topics](https://wordpress.org/support/plugin/query-monitor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/query-monitor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/query-monitor/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [twotree](https://wordpress.org/support/users/twotree/)
 * Last activity: [3 years, 1 month ago](https://wordpress.org/support/topic/uncaught-error-gmdate/#post-16687201)
 * Status: resolved