Can you tell me briefly how the Latest Sermon View is inserted at the bottom of the menu? Is this custom code, a shortcode added somewhere else in wp-admin, a different plugin, etc? It's not immediately obvious to me.
I've added the following code into my header.php file in my child theme:
/**
* Insert Latest Sermon View into Side Menu
*/
$args = array(
'title' => 'Latest Sermon for Side Menu',
);
echo render_view( $args );
Okay again, nothing obviously wrong here. I set up a similar scenario on my local test site and added a View in header.php using the render_view API, but wasn't able to replicate the problem where terms without posts assigned are displayed in the filter. At this point I think it's best for me to create a clone of the site using the Duplicator plugin so I can install it locally and run more tests. Let me know if that's okay and I'll get started as soon as I can.
Yes, you can do that. Thank you.
Thanks, I've made that clone and installed it on my local environment. After stripping out 3rd-party plugins and themes, I was still able to reproduce the issue in a simple setup where the two Views were placed on the same page using the Block Editor. Depending on the order of the Views placement, the options in the taxonomy filter are different, which is odd. If the filtered View is displayed first, the options seem to be accurate. If the unfiltered View is displayed first, all options are displayed, incorrectly. So that seems like a bug to me, but I'm still not able to replicate the same issue in a test environment created from scratch. Something else is going on, and I'm not able to put my finger on it. I've escalated this to my 2nd tier team for more in-depth investigation, and I'll keep you posted here as I receive more information.
Our second tier team has escalated this issue to the developers and I'll keep you posted here as I receive more information.
Hello, our developers have provided a patch file to resolve this issue. Please download the file here:
hidden link
If you download the zip archive, you must extract the PHP file from that archive. Upload the file on your site to replace the same file in the directory here:
wp-content/plugins/wp-views/embedded/inc/wpv.class.php
I tested the modification on my local clone of the site and found that the problem was resolved. Please report the results on your site after applying the patch, and I will inform my developers of your findings.
That fixed the problem. Thank you!