Following @CraigWayne’s suggestion to use Query Monitor…
Message: “Use of undefined constant term_name – assumed ‘term_name'”. Count: 1. Location: wp-content/themes/elegant/taxonomy-source.php:38. Caller: wp-includes/template-loader.php wp-includes/template-loader.php:74. Component: Core. >>>>> Line 38 in taxonomy-source.php included “”
it was objecting to term_name in my taxonomy-source theme file; I changed it to $term = get_queried_object(); followed by name; ?>
The takeaway for others experiencing a 404 taxonomy term template – it might be dodgy code within the template file.
Related Posts:
- How to get slug of current category in taxonomy template?
- Same template for all the terms of a taxonomy
- Turning on the 404 page on localhost
- When a link doesn’t exist, how to tell WordPress what to do? (404 Error Page)
- get_search_link() redirects to 404 template page
- Getting term description in single post template
- Why are 404s not triggering my 404.php template?
- Setting posts_per_page for taxonomy term template
- Custom headers based on taxonomies
- How do I create post template for different taxonomy
- Assign Specific Template for Custom Post slug
- /wp-admin/post.php shows 404 template on submit
- How can i conditionally load taxonomy-{taxonomy}.php template php files through functions.php
- Display a custom 404 page without a redirect
- I want to display all related posts for a selected tag in WordPress
- How to get a terms and posts associated with another term?
- Is this the best way to complete disable category archive pages?
- How to display custom taxonomy and terms using/creating plugin template
- wp e-commerce single-product template giving 404
- How to use Class
in Java? - Get name of the current template file
- How do you find out which template page is serving the current page?
- How to change the default registration email ? (plugin and/or non-plugin)
- Is There a Difference Between Taxonomies and Categories?
- How to show a hierarchical terms list?
- How do I get the size of an attachment file?
- Is there any way to use get_template_part() with folders?
- get_terms by custom post type
- Need a simple but complete example of adding metabox to taxonomy
- Get Posts by Custom Post Type ,Taxonomy, and Term
- Adding Page Attributes Metabox and Page Templates to the Posts Edit Page?
- How can i change email template for new user
- Any advantage to using get_header() over include(‘header.php’)?
- Check if a post is in any child category of a parent category
- How to export and import taxonomies (category, tag and/or custom taxonomy) and their terms
- Enable page templates. How?
- Is it possible to override the result of get_template_part()?
- Use [embed] filter in template files
- What’s the purpose of the paged.php file?
- How do you access the Product Short Description in a WooCommerce email template? [closed]
- Prevent comments_template() to load comments.php
- Is there a way to list all used/unused WP templates?
- How can I create a taxonomy meta-box with search suggestions but no new terms input?
- Page editor missing Templates drop down
- Print WordPress template filename(s) for debugging
- tax_query in get_posts() not working?
- How to force TinyMCE in WordPress to replace newlines with tags and not with
- How to find the posts page (home page) programatically
- WooCommerce: Change template for single product page
- View WordPress page template usage (or unused)
- What is wp_insert_term “alias_of” arg for?
- How to edit contents of dynamic_sidebar()?
- Automatically Assign Parent Terms When A Child Term is Selected
- How to check if a shortcode exists?
- Where is get_header(‘shop’) file in Woocommerce templates
- Custom templates folder
- What is the link to my default “archive” page?
- Custom Post Types 404 Issue
- Control term order on a per-post basis
- How to show a under construction page for a domain but still be able to work on index.php?
- Change the name of the ‘Default Template’
- Customizing get_the_excerpt() to specific length and “Read More” output.
- How to Rename a Template File?
- get term by id without taxonomy
- How to limit the number of terms (terms acts like categories)
- get page templates
- Echoing Elementor page content in template, but it doesn’t get styles and some widgets are missing
- Using WordPress templating for HTML emails
- Loading partial templates with AJAX/PJAX
- How do I display two separate taxonomy archives for two post types that share a single taxonomy?
- How do I list custom taxonomy terms without the links?
- WP frontend output of custom textarea fields not respecting line breaks. In admin it’s OK
- How do you check if a WordPress template file exist?
- get a specific taxonomy term name
- Exclude specific slug in ‘get_terms’
- Load entire NextGEN gallery from single thumbnail?
- Exclude posts that only have the ‘Uncategorized’ category [duplicate]
- I put my blog on a subpage, how do I get page title?
- A special single page templates for posts under a category and all its child category
- wp_set_object_terms() Fails to Set Terms
- Different wordpress 404 template for different post type [duplicate]
- Is there a way to disable a term rather than deleting it?
- wp_insert_term doesn’t work with custom post type’s taxonomy
- Modify Term Update Redirection
- Custom reset password template after forgot password request
- List Hierarchical Term List with Count with Related Term
- Outputting Canonical Resource URLs Across a Multisite Network?
- How can I select a primary category?
- How are terms connected with posts in database?
- Gravity Forms Custom Templates [closed]
- show tags of custom post type ONLY
- Child Theme: how to override variables?
- Is there a way to set singular/plural labels for taxonomy term names?
- How do I get the URL of a specific size featured image?
- Return only the custom sub-term for custom post type, do not echo term-parent
- Where to store some per-template preferences?
- get_terms() How many is TOO many?
- add/apend templates ‘transparently’ via plugin to currently active theme or child theme?
- stop blog page from using index.php?
- Check if current term is a child of another term