Project

General

Profile

Actions

Bug #21805

open

The Events Calendar tag "archives" look like post type archives to WP

Added by Boone Gorges 20 days ago. Updated 12 days ago.

Status:
New
Priority name:
Normal
Assignee:
Category name:
WordPress Plugins
Target version:
Start date:
2025-01-20
Due date:
% Done:

0%

Estimated time:
Deployment actions:

Description

The error logs are filled with errors like the following:

[20-Jan-2025 19:18:36 UTC] PHP Warning:  Undefined property: WP_Post_Type::$term_id in /var/www/webroot/ROOT/wp-includes/taxonomy.php on line 1708

This is being triggered by URLs like this: https://psrg.commons.gc.cuny.edu/events/tag/publics/2026-07/

I did some very quick analysis, and it seems like The Events Calendar considers this to be a single-tag/term page, while from WP's point of view it's a post type archive. Therefore get_queried_object() is returning a WP_Post_Type object. I'm fairly sure this is a bug in The Events Calendar, though I'd have to pick it apart more to really understand it.

Ray, this is pretty low priority, more an annoyance than anything, but could you have a look when you've got a bit of time to reconstruct?

Actions #1

Updated by Boone Gorges 12 days ago

  • Target version changed from 2.5.1 to 2.5.2
Actions

Also available in: Atom PDF