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
- Use [embed] filter in template files
- How to show a under construction page for a domain but still be able to work on index.php?
- How do I display two separate taxonomy archives for two post types that share a single taxonomy?
- Different wordpress 404 template for different post type [duplicate]
- Is there a way to set singular/plural labels for taxonomy term names?
- add/apend templates ‘transparently’ via plugin to currently active theme or child theme?
- Programmatically change post templates?
- Gutenberg Editor – Template Doesn’t Match Error
- TwentyTen: Overloading template.php files vs. get_template_part
- Post formats template
- Missing term_id and term_taxonomy_id when adding a term using wp_insert_term() function
- Proper way to use get_the_content() in front-page.php and the content-home.php?
- What is a good way to present templated content in WordPress?
- How do I get taxonomy terms by ID in a specific order
- Is there a filter hook that I can use to change how taxonomy term names are displayed?
- Get terms ordered by post date
- Category page only displaying the posts from a custom type
- Strange Behaviour with is_home()
- Change location of header.php and footer.php
- I need template for my custom taxonomy term
- Routing dynamic numeric slug to custom template
- Have functions work outside the loop with 404 override
- Is there any way of viewing revision history on files in WordPress?
- Order by slug in get_terms with multiple taxonomies
- Function get_queried_object() return NULL in custom taxonomy
- Customize profile.php
- Change wp-signup.php Page Template
- Set terms in a custom post
- Display Taxonomy Terms in an option tag with value being the slug
- Custom post taxonomies as tax_query terms?
- Use same page template for parent and child pages in a theme
- Count Published & Draft Posts Associated With Each Term
- if page is parent page redirect to first child with hook / polylang
- Conditional statement for if archive page has posts which contain certain taxonomies/categories/tags, show those terms
- get_the_term_list – Return links to edit.php instead of link to taxonomy archive template
- How to sync to custom taxonomies (tag structure)
- How can I improve this taxonomy treating approach?
- 100+ terms in any taxonomy slows down post updates?
- Page template option missing
- `get_terms()` with `child_of` and `childless` combined
- What template is used for viewing Media Library Files?
- Use a separate template for the home page only
- echo term name outside the loop, using term slug
- Create a blank test.php
- Hierarchical taxonomy list with modificated term links
- What is the purpose of the “term_id” column in the “wp_term_taxonomy” table?
- How to get terms from a custom taxonomies after WordPress 4.5.0
- AMP version of front page without plugin
- Which template.php for /blog
- Unable to get the Parent Custom Taxonomy Terms
- Avoid WP_Query’s duplicate posts with taxonomies
- List Category Posts plugin – underline links [closed]
- Conditional template tag for buddypress pages
- Unsetting post_tag taxonomy breaks term description for other taxonomies
- WordPress Template Reverts to default template after changing
- Taxonomy Template displaying different color post tag js
- using add_filter in a template_redirect function?
- Content not showing properly with the first load of the page
- Where do I edit what the user sees on my WordPress site?
- get taxonomies from terms
- Get WooCommerce product category list in functions.php
- User role templates
- Language file doesn’t work (poeedit)
- How to adjust only the template gallery
- Nested Page Template not showing in page attributes
- Header and footer fail to load with SSL and custom links
- Filter By Term Not Working – Custom Post Type
- Creating page-templates directory breaks everything!
- Editing the tag pages and using templates
- What to do with shared terms splitting in WordPress 4.2?
- Is it better practice to create many page templates, or a a few base templates with custom HTML added via TinyMCE?
- How to display custom taxonomy
- Add pagination to blog
- How to finish this loop?
- Taxonomy term breadcrumb; how?
- Add multiple pages to theme customizer
- Single Post Template with Dropdown Option?
- List custom taxonomy terms
- Custom Taxonomy Template Variables Available?
- Output fields manually in Woocommerce email templates
- Templates to use multiple time within page? [closed]