Hi saibotny,
When a view has no events to display it will indeed return a 404 Not Found status and this is intentional – because nothing has been found that we can show to the user.
That said, by itself our plugin does not add “Page not found” to the title tag or “Error 404 Page” as a title within the page itself – these are things that, in all likelihood, your theme is doing.
It’s possible to stop list views from returning 404s, though – just add this short snippet to your theme’s functions.php file:
add_action( 'tribe_events_parse_query', 'no_event_list_404s' );
function no_event_list_404s( $query ) {
if ( $query->is_main_query() && $query->get( 'eventDisplay' ) == 'list' && ! $query->is_tax && ! $query->tribe_is_event_category ) {
$query->is_post_type_archive = true;
$query->queried_object = get_post_type_object( TribeEvents::POSTTYPE );
$query->queried_object_id = 0;
}
}
Does that help?