since my upgrade to wp 3.1, everytime I try to add a custom taxonomy to the menue, it gave me the
Catchable fatal error: Object of class WP_Error could not be converted to string in C:\xampp\htdocs\wordpress\wp-admin\includes\nav-menu.php on line 73
This never happened until the update! For creating the custom taxonomy I used this:
register_taxonomy('Terminarten', array('termine'), array( 'hierarchical' => true, "label" => 'Terminarten', 'labels' => array( 'name' => 'Terminarten', 'singular_name' => 'Terminart', 'search_items' => 'Terminart suchen', 'popular_items' => 'Beliebteste Terminarten', 'all_items' => 'Alle Terminarten', 'parent_item' => 'Übergeordnete Terminart', 'edit_item' => 'Terminart bearbeiten', 'update_item' => 'Terminart aktualisieren', 'add_new_item' => 'Neue Terminart anlegen', 'new_item_name' => 'Neue Terminart', 'add_or_remove_items' => 'Terminarten hinzufügen/entfernen' ), 'singular_label' => 'Terminart', 'rewrite' => true, ) );
Any help would be really nice!!!
Thanx in advance
Okay, it was my fault and I fixed it, sorry!!! By the way, the error was to give the taxonomy an internal name with a capital letter at the beginning…
I’m having this same problem. Can you please Outline what you did to fix this problem.
my problem was the capital letter T for Terminarten:
After changed it to
everything worked fine again.
Hope it helps!
Thanks for your answer.
In what file did you change that in??
Is that a wordpress bug?
No, it’s not a wordpress bug. Where did you registered your custom taxonomy? Inside of your theme’s function.php? Than this is the place to go to. Otherwise change the bit of code where you register your custom taxonomy.
Hope that helps
I’m using a Theme name “Stereoline” from ThemeForest. It allows me to create Video Categories. When i try to add any of the Video Categories to a menu i get the error message: Catchable fatal error: Object of class WP_Error could not be converted to string in /home/content/b/x/w/bxweb/html/site/wp-admin/includes/nav-menu.php on line 73
Same error message you get. I’m still seeking the solution.
When I click on Video Categories, I get the error message: Cheatin’ uh?
Hmmm, same here with wooTheme listing. I tried to find a possible sloppy term in taxonomy but not much luck 🙁
- The topic ‘Custom taxonomy and WordPress 3.1 Menu crashed…’ is closed to new replies.