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
- Custom taxonomy archive page not working
- Getting taxonomy terms used by custom post type
- 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
- 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
- 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 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
- Custom while loop for hierarchical display of a taxonomy
- Create more category hierarchical depth for custom post type/taxonomy plugin (widget)
- 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
- 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
- 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]
- Create a Hierarchical List of Custom Taxonomies AND Posts
- Making permalink for custom post type/custom taxonomy. Stuck with 404 in the single post
- Display a Custom Post Type within another with hierarchically slug
- Custom Post Hierarchy and users
- What am I doing wrong with my taxonomy?
- Custom Post Type tag taxonomy “Page Not Found”
- Custom Post Type categories at edit post not hierarchical
- How can I add a “fake” parent into the permalink?
- archive-{custom_post_type}.php not getting recognized wordpress
- Archive.php is not displaying tags
- How to display custom post types AND regular posts separately on a shared taxonomy archive?
- taxonomy term names in custom post type permalink structure
- Custom taxonomy archive not showing posts of certain child taxonomies
- Taxonomy Query of Custom Post Displays Archive Instead of Posts
- How to have a dynamic slug and rendering the archive-{post_type}.php?
- 404 Error On Custom Taxonomy Pages 2, 3, etc
- Show custom category archive as front page and remove taxonomy slug from urls
- How to develop Knowledge center in WordPress Website