Maybe echoing the last query will help debug the problem.
Paste this on your 404 page:
global $wpdb;
echo "<pre>";
var_dump($wpdb->last_query);
die();
Related Posts:
- Pagination throws 404 error on custom taxonomy archive pages
- Custom Post Type / Two level deep taxonomy (cat. and subcat.) uri problem (error 404)
- Hierarchical permalinks for custom post type and taxonomy
- Custom Post type & Taxonomy 404
- How to create a permalink structure with custom taxonomies and custom post types like base-name/parent-tax/child-tax/custom-post-type-name
- Custom post type pagination 404 fix?
- Filtering a custom post type by custom taxonomy in archive template
- Permalink Structure for Multiple Post Type Archives by Taxonomy
- get term archive url / link
- Archive page with multiple taxonomies rewrite
- Hierachical Custom post types permalinks not working
- Create permalink structure for one taxonomy archive per custom post type
- Child pages on hierarchical Custom Post Types 404s
- How to check if last uri segment is a custom post type or taxonomy term?
- WordPress custom post type category pagination 404 Error
- Custom permalinks – post type – hierarchical taxonomy’s
- Pagination throws 404
- How to show term-specific post list, without posts associated with child terms?
- Removing CPT slug from URL results in 404 error for archive page
- Pages, Custom Posts & Custom Taxonomy defining slug structure
- How to show a tag archive of one post type only
- Custom taxonomy archive page not working
- Custom Taxonomy archive returns 404
- Getting taxonomy terms used by custom post type
- How to show multiple post types on taxonomy archive?
- Disable single pages and archives and keep preview
- Custom Taxonomy 404
- Custom Taxonomies: Multiple Hierarchical Permailnks For A Single Post + Prev/Next Links
- How to create archive page for taxonomy terms within custom post type
- Category and post tag archives do not include posts from custom post type
- Hierarchical Custom Post Types or Similar
- Custom Permalink with Dynamic Taxonomy for Custom Post Type – Works, but breaks other permalinks
- Get post type from taxonomy or category page
- custom post type and custom taxonomy url conflict
- How to create a permalink structure with custom taxonomies and custom post types like base-name/parent-tax/child-tax/custom-post-type-name
- custom taxonomy archive by year
- Custom Posts Hierarchy? (State/City/Restaurant)
- Custom Post Type with two hierarchical Custom Taxonomies: strategy to generate best permalink structure
- Automatically populate a hierarchical taxonomy from a custom field
- Display custom post type taxonomies as an archive page
- Hierarchical Custom Post Types – Show only parent on tax archive?
- How To Create A Custom Taxonomy 404 Page
- Display custom post type in hierarchical order with get_terms
- Should I use custom taxonomy or custom post type
- Archive page for taxonomy terms
- Custom taxonomy in URL showing 404
- Custom Post Type Archive Page Filtering
- Root slug of taxonomy returning 404
- Wrong request query on cpt and tax
- Hierarchical Custom Post Types in Array
- Create template for taxonomy results limited by Custom Post Type
- How to create custom url structure based on custom post type rewrite slug, taxonomy and category slug?
- Custom post URL 404 error
- How do I check if the user is on a taxonomy term parent, child or grandchild page?
- Custom while loop for hierarchical display of a taxonomy
- Get the taxonomy of a post hierarchically
- Custom post type permalink tag 404
- Create more category hierarchical depth for custom post type/taxonomy plugin (widget)
- Hierarchial Custom Post Types/Taxonomies
- Top Level pages in wordpress giving 404, but child pages working fine
- Custom post type Permalinks with hierarchical Taxonomies
- How can I get this request to use the Custom Post Type page template instead?
- Create a permalink structure with custom taxonomies and custom post types gives 404
- Archive for a Taxonomy of a Custom Post type
- Custom post type pagination 404
- How to solve this custom post type goes to 404 page?
- Problems with 404, .htaccess, permalinks and WordPress custom posts locally on Snow Leopard
- What’s the name of the custom post type yearly archive template?
- Taxonomy archive 404ing (not term archive)
- Custom taxonomy page returns 404
- Custom taxonomy or custom page templates?
- Dynamically insert an article at the top of a taxonomy archive – or?
- Only show posts with a specific term of an associated taxonomy in a custom post type archive
- Custom taxonomy template list not working (404)
- Use the custom post type archive for taxonomies?
- How to rewrite custom taxonomy term archive to use THE SAME SLUG/front as CPT
- custom hierarchical taxonomy and custom post type list contains surplus posts
- Creating a non-hierarchical Taxonomy that behaves like categories
- How to filter a custom post type by custom taxonomy without 404
- Migrating Hierarchal Taxonomy Categories Between Post Types
- Custom post type categories gives 404 error
- Ideas on how to organize a project [closed]
- Get the link of the first post of a custom taxonomy in a custom taxonomy list
- How should I structure complex content hierarchies?
- List child categories from parent category on custom taxonomy page
- Archive page for custom post type and custom taxonomy
- Safe to throw 404 error in request filter?
- Advanced archive url structure (category, tag and date)
- either single-{custom}.php 404’s OR /taxonomy/ 404’s – custom post type and taxonomy permalinks
- How can I tell if I’m on a custom post type archive page?
- Custom Post Type Archive Page showing as 404
- Custom taxonomy terms hierarchical navigation
- Custom taxonomy returns 404 even with saving permalinks
- Set up Custom Taxonomy Archive Template File To Cover 3 Categories
- How to show custom post count in archive page
- Order archive custom posts by taxonomy term [duplicate]
- Custom category taxonomy – archive page not showing up
- Create a Hierarchical List of Custom Taxonomies AND Posts
- Custom post type URL structure with site.com/custom_taxonomy_slug/post_name
- Making permalink for custom post type/custom taxonomy. Stuck with 404 in the single post