google / site-kit-wp

Site Kit is a one-stop solution for WordPress users to use everything Google has to offer to make them successful on the web.
https://sitekit.withgoogle.com
Apache License 2.0
1.23k stars 279 forks source link

`a.getTime is not a function` error on WP dashboard #9226

Open kelvinballoo opened 3 weeks ago

kelvinballoo commented 3 weeks ago

Bug Description

On a site in a zero data state for Search Console and Analytics, the Site Kit widget on the WordPress dashboard is showing an error: a.getTime is not a function

A support ticket on this was also reported : https://wordpress.org/support/topic/problem-a-gettime-is-not-a-function/

Steps to reproduce

This was tested on 1.133.0 (latest release), using tester plugin 1.13.1 Beta to enforce zero data states

Screenshots

Screenshot 2024-08-21 at 19 23 23

Do not alter or remove anything below. The following sections will be managed by moderators only.

Acceptance criteria

Implementation Brief

Test Coverage

QA Brief

Changelog entry