Ran into the same issue. @Patriek is correct. The ‘taxonomies’ argument must be an array, hence the plural. E.g.
$args = array( 'taxonomies' => array( 'myTaxonomy' ) );
This corrects the error.
I only noticed this when moving a site to another server which leads me to think the register_post_type() function requires some php settings not enabled on the remote host. register_globals is enabled… any ideas what make this issue server dependent?
Related Posts:
- Why do I get the timeout warning?
- get_terms return errors
- Fatal error in wp-admin/customize.php after fresh install due to null $wp_customize
- Child theme .css files are not overriding their parent .css files
- Page content dissapears after loading the page [closed]
- How can error pages be customized
- Best Practices for Regression Testing WordPress Websites?
- Custom Walker: how to get ID in function start_lvl
- How to include own css on wordpress tinymce editor?
- What is true chmod for WordPress?
- wp_trim_words() does not trim the_content() in WordPress
- How can I create an alternative home page?
- Gallery Shortcode: using link attribute to link to a specific image size
- get_theme_mod(); returns nothing
- Limit comments displayed on basis of user_id
- Customizer image control default value showing in customizer but not on frontend
- Change default status and replace the icon for an hamburger menu
- How to merge all my pages into one, while keeping a menu bar?
- Outputting Page Content in Two Places
- How to use get_option() without any filter?
- How to remove tag cloud from taxonomy admin edit page?
- Post Thumbnail help
- Hide custom field if empty
- Admin Panel – Custom Menu Sub-Item LINK
- Adding custom styles to dropdown in editor
- Add custom user profile field to default WordPress MultiSite registration form
- Is there a way to dynamically get to your uploads folder?
- Updating Existed RocketTheme Theme on WordPress
- Setting custom search engine indexing for a “dynamic WordPress page” with htaccess
- how to add custom css and js on wordpress post editor directly without using .php file
- How to customize core admin pages within a theme?
- URLs and navigation in custom themes
- How to move wordpress to subdomain, keeping only .htaccess and/OR index.php in root domain?
- Automatically check parents (in a taxonomy) when child is selected
- Adding custom field in all widgets, but at the top of the form, in admin area
- Load MediaPlayerElement after Infinity Scroll loads more posts
- Always logged in even if remember me is unchecked?
- Getting php_network_getaddress error : No such host is known?
- How do I remove a customiser option from a parent theme in a child theme?
- Keep Title and Description always
- Your thoughts on the interaction with one custom database table from WP?
- Is there a way to override require_once of the main theme on the child theme?
- Make RSS feed only accesible by Mailchimp
- Warning: Illegal string offset on theme options page [closed]
- WP custom routing does not work
- Best Practice for Displaying Categorized Posts on Front Page
- I tried to change my URL and ended up losing access to my site? I went into general settings and changed both WordPress URL and Site URL
- How do I modify the size of the text in my page titles?
- How to create “custom page types” with different custom fields in them?
- How to Escape Custom Meta Data And Prefix Custom Meta ID
- Remove Customizer Control Choices (Type: Radio Array) using Child Themes
- Grabbing a data from wp_usermeta
- wordpress shortcode not working
- WordPress Code Snippet to count total posts by author
- How To Style Links in Content Area With Tag Automatically?
- Meta Tags by Meta Box
- What is the best way to setup WordPress for version control and PhpStorm while allowing updates
- Get whole linked with wp_list_pages
- Force WordPress to load a specific template
- Inline-Table under TwentyTwelve not working
- Echo the Last Child Taxonomy only (not parents)?
- Allow a subscriber to be an author and view only his post
- Troubles about insering a POST with a SQL query, post_status
- How to activate flash cards
- Transferring theme and imported post attachments
- Personalized Gallery what are my options?
- Trying to use .htaccess to redirect /profile to /login-2?action=profile
- Embed Latest Track (Dynamic Updating) SoundCloud
- What is my error trying to create a new table in the database?
- Gender based user avatar
- How to add a template – so that i can choose a different menu for some pages
- Allow WP users to sort search result on a videos site
- Javascript Tooltip not fully working on my wordpress page
- Add a menu item to admin dashboard which isn’t a link? [duplicate]
- How to narrow the area between buttons on Helium theme sidebar? [closed]
- bulk generate wp taxonomy tags from wp title with self php script
- Structure of post types for TV Shows and episodes
- Pull A Single Post Prior To Running wp_query
- Build custom pdf from users choices
- Show Header When Not In Iframe
- Background setting isn’t applied to entire sidebar height
- Changing a setting in the wp-admin/customize.php reverts CSS styles to parent theme [closed]
- Function to query by custom field and category
- Confused about customising widgets
- Custom user fields validation on registration
- Pre_Get_Posts order DESC not registering
- Changes in comments.php in the child theme does not show up on the site
- Share user access between two wordpress sites
- how to modify request to get_template_part()?
- Adding page Title in a custom coded page
- Reached end of document without finding – using mod_pagespeed
- Getting Custom Field value in WP_Query
- Adding Custom HTML/CSS/JS code in specific page
- Custom template not working for existing pages [closed]
- Loop display only 5 posts
- Help needed renaming custom post
- how do i add logo in my site
- Show total sales for each products on search results page Woocommerce
- Custom Search on media files PDF images pages posts
- Core error when calling remove_menu_page