suddenly stopped finding events
-
Hi, I’ve had this plugin running for a few months now, connected to a public Google calendar. This week it suddenly started showing “no events found” even though there are many events on the calendar. I tried creating a new API key (unrestricted) but even after waiting a couple of hours, it’s still not finding the events. I’ve double checked the calendar ID. Nothing has changed except replacing the API key after it stopped working and now I’m out of ideas. How can I debug this? Thank you.
The page I need help with: [log in to see the link]
-
Even if you explicitly add the start_date option to display a calendar list starting from September 1, 2025, does it still not display?
[gc_list_view g_id=”Calendar ID” g_api_key=”API Key” start_date=”01-09-2025″]
If you can provide your calendar ID, I can check it in my WordPress environment. If you don’t want to public it, please contact X via DM or other means.
https://x.com/kimipoohHi, thanks for the reply! I tried adding the start date in the plugin settings, then in the shortcode, then I tried following your full shortcode example with my calendar ID and API key, and I still keep getting the “no results found” message. It’s a public calendar, this is the ID:
I’ve got a custom theme but this was working until very recently, and nothing significant has changed in the theme files. Thanks!
Thank you for your Google Calendar ID.
I simply tested the following shortcode.
[gc_list_view g_id=”[email protected]” g_api_key=”My API Key”]
As a result, it displays without any problems, as shown below.
Therefore, this suggests a problem with the shortcode options or your site configuration.
Can you provide shortcode options other than the API Key?
In other words, delete the g_api_key=”My API Key” in the above and focus on how the rest of the code is configured.2025.11.12 San Mateo County Board of Supervisors
2025.11.06 11:30 ICAC (Independent Civilian Advisory Committee on the Sheriff’s Office)
2025.10.29 11:00 California Coalition for Sheriff Oversight [Zoom]
2025.10.29 01:00 San Mateo County Board of Supervisors
2025.10.24 11:30 FxSMC Operations Team [Zoom]
2025.10.22 08:30 Happy Hour – All Are Welcome!
2025.10.15 01:00 San Mateo County Board of Supervisors
2025.10.10 11:00 Workgroup: OUTREACH – Build public support and coalitions [Zoom]
2025.10.08 11:00 Danger of TASERs – Fixin’ SMC All Hands [Zoom]
2025.10.02 10:30 ICAC (Independent Civilian Advisory Committee on the Sheriff’s Office)I have it set up now to use no parameters at all in the shortcode; on the test page itself I’m just using [gc_list_view]. This is how it was set up before it stopped working.
Here’s a screenshot of the settings page:
It’s just the API key (blacked out but which I’ve now checked at least four times to be sure it’s correct), the calendar ID, and a limit of 5 events. I’ve tried it both with and without start dates like “2025-09-01” or “today”. I also just tried switching to the Twenty Twenty-Four theme, and I tried switching to a different public google calendar. In all case, it still finds no events.
That’s strange.
I created a local environment ( https://localwp.com/ ) and installed only this plugin on a fresh WordPress installation.
It displayed without any problems.
*Using PHP 8.3 and ApacheI released version 7.3 of this plugin, so update to this version and enable the debug option.
For example, if you look at the editing screen of https://cs2025.filadesign.com/calendar-test-page/ and the URL looks like /****?post=5&action=edit, the ID number of that static page or post is 5. Try entering that as the debug value.
Then, on that page only, the URL for accessing the Google Calendar API created by the shortcut should appear at the top (this may not appear depending on your site configuration).
If you access that URL directly, you’ll get JSON-formatted data. If there’s no data there, something’s wrong.
** Please note that the URL includes your API Key. So, you try it in the non-public page.[gc_list_view debug="5"]Next, try verifying that it works in the local environment described above.
If possible, you can also clone your site and enable WordPress DEBUG to check for any errors.
Thank you! I was out of town for a few days so I just got the chance to try the debugger. It gave me this message:
“error”: { “code”: 403, “message”: “Google Calendar API has not been used in project [number redacted by me] before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/calendar-json.googleapis.com/overview?project=%5Bnumber redacted by me] then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.”
I just followed the link they gave me and clicked the “Enable” button.
I still don’t know why it had been working for a few months and then suddenly stopped (which was before I tried the new API key) but it’s working now. Many thanks for your help on this.
You must be logged in to reply to this topic.