No V2 views showing when using ‘Default Page Template’ and Ubermenu
-
Note: I am not looking for you to resolve a plugin conflict. I’m trying to understand what’s changed in V2 Views in how it gets the post/page ids and outputs the template.
When using V2 Views with Display > Events Template > Default Page Template and Ubermenu enabled, none of the event views get rendered.
Old views work fine, using Events Page Template works fine, and of course disabling Ubermenu lets the V2 Views work on the Default Page Template.
Going to a Single Event and looking at Query Monitor > Tribe Events Context, and the
post_id
is set to 0. But the request vars show that the Queried Object isSingle Event: #54597 (WP_Post)
.There are no errors in debug.log, so I have no debugging information to work with.
This means that there’s something new about how V2 Views grabs and processes the post/page ID, that it doing with the Default Events Template, but not when the Default Page Template is loaded. Been searching the developer documentation and going over the new view templates, but I can’t figure out what it could be.
Any chance you could point me to either
– where TEC gets the query vars used for its V2 views,
– what’s different about how the V2 Default Events Template sets up the views vs how V2 Default Page Template does it,
– or even just how I can TEC to output some debug info when the V2 views fail to render?TIA!
Tested with:
TwentyTwenty
Wordpress v5.3.2
The Events Calendar v5.0.0
Ubermenu v3.6.1
- The topic ‘No V2 views showing when using ‘Default Page Template’ and Ubermenu’ is closed to new replies.