<select name="year[0][name]" id="year_0_name" ...
The variable “year” is a variable already used by the WordPress query system.
Take a look at the top of the file where you see “$public_query_vars” to see the ones WordPress is already using and expecting to be something different than what you’re sending to it.
Use different variable names than those. I would recommend prefixing all your variable names with something unique to your specific case, so as to avoid these sort of conflicts.
Related Posts:
- Adding a Taxonomy Filter to Admin List for a Custom Post Type?
- Redesigning Custom Post Type “Add New” page
- How to get a variable number of posts per post type on the main loop?
- How Do I Use The WordPress Plugin Posts 2 Posts by Scribu?
- Creating a default Custom Post Template that a Theme can override
- Jetpack plugin (ShareDaddy): Prevent share buttons showing on custom post types?
- Getting Custom Post Type content from main-site of a Multisite
- Custom database or Custom Post Types?
- Custom comment type maybe?
- Prevent page slug from interfering with custom post type archive permalink?
- Add .html extension to custom post type taxonomies
- How to load a new template page according to a particular URL?
- Twillio How To Send SMS for Custom Post Type
- How to get the custom page get_permalink?
- Seriously stuck with some custom meta box/plugin stuff
- Themes VS Plugins [duplicate]
- Enable comments for post with comments meta box removed
- How to Build a Movie Library in WordPress 3.x
- Custom Post Type causes Page Not Found
- How do I get multiple pages by title?
- I need to add a custom “cover” to every new post — plugin or custom setup?
- Plugin “Meta Box”: Implementing meta boxes in custom post type
- Plugin allowing for artists, events and venues
- Disable Other Plugins on my Custom Post Type?
- How to get images from EDD post?
- custom taxonomy and custom post type url conflict
- Allow users mark posts as “complete”?
- Is there a way to order posts and custom post types as one group?
- RW Meta Box ,Problem setting post title
- Saving Custom Post types and fields to a custom table
- Building a store locator with google maps
- Duplicate posts when posting nulls in records in phpMyAdmin [closed]
- How to create user groups and allow custom posts and plugin modify/access to specific group?
- Exclude post by custom meta with pre_get_posts
- How can I create a custom shortcode that will return a custom post type by ID?
- get_post_type on post.php
- All of my custom posttypes are 404’ing
- ‘No Results Found’ on single post for custom post type
- Keep a post copy when this one is updated – issue
- Making a Template for a CPT created by a plugin
- how to add a button next to the wordpress view button?
- Adding CSS to custom post type admin page causes error
- ACF: post query, hide duplicate values [closed]
- Redirect to another page using contact form 7? [closed]
- Custom setup of wordpress comments that are displayed
- WordPress custom taxonomy not showing
- Using ACF default value to autoincrement a number field
- Amazon.com intergration with WordPress?
- Sticky option for custom post types without using custom fields or plugins
- Adding custom meta boxes to specified custom post type
- How do I make reusable content blocks for header and footer when using WordPress headless with another front-end?
- Preview with Custom Post Type Not Working
- How can I store data from custom fields to custom tables?
- 2 wordpress site same database
- How to Include Custom Post Content From Plugin
- Custom post type change excerpt more and excerpt length
- What hook can I use to modify custom post data before it is displayed on the page?
- Order posts of a custom post type by the event date using FT Calendar Plugin
- Creating teams of users in WordPress
- Custom Post Type template for homepage
- hardcoded wp pages/plugins problems
- How display specific category post to specific users?
- Best method of implementing compartmentalized custom post types on a multi-site network
- Need to edit author permissions | custom taxonomy
- Is it possible to pin a post in second position from top
- How to search post titles with whole words only, but not the exact word only?
- Save log for imports in WordPress database – options-table, custom post type or other place?
- Remove custom taxonomy name from the slug – Custom Post Type UI
- How to display emails as a post?
- Error in Fetching Custom Post Type parent Category URL (slug)
- Register PODS Custom Field with WPGraphQL [closed]
- Hidden permalink different from displayed permalink
- Adding custom post category to categories widget
- Custom Post Type with Sequence ID
- Add an action based on custom post meta field
- How to arrange custom posts in the backend/admin by custom taxonomy
- Adding LOAD MORE on a page
- custom post type get_posts() function not work
- Create multiple posts when a custom post is created
- how to convert frontpage.php to dynamic page?
- Cannot view Custom Post Type no matter what I try
- Creating custom “player-objects”
- Hide some portion on single.php base on author
- Displaying image from a repeatable group
- CPT-onomies CPT_TAXONOMY->get_terms extremely slow with 6K posts
- get recent 12 days post then random in wordpress
- What method should I use for a sidebar widget that reads latest posts?
- Making a Custom Post Type Publish Loop
- WordPress User Frontend Editing Custom Fields
- How to list the categories by custom taxonomy created?
- Is a custom post type considred a plugin?
- Remove base from the custom post type URL [duplicate]
- Make a magic tag work with Custom Post Types
- How to laod wp_enqueue_style to another header i created my self
- Looking for a plugins for organization portal (Staff, Units, Departments)? [closed]
- Filter custom post type returned from REST api
- Wrong block appender button showing
- Select posts from list and add them in a new list
- Failed to update a post when I add a taxonomy to it
- How to make content as required in custom post type?