Title: Error when removing a category
Last modified: August 22, 2016

---

# Error when removing a category

 *  Resolved [bmaison](https://wordpress.org/support/users/bmaison/)
 * (@bmaison)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/error-when-removing-a-category/)
 * Hi,
 * I get the following error when trying to remove a category:
 * Fatal error: Call to undefined function wp_remove_object_terms() in […]/wp-media-
   category-management/include/wp-mcm-admin-functions.php on line 456
 * I’m using “normal” categories, not media categories. I can toggle a category 
   to set one on an image but, if I toggle again to remove it, this error message
   appears.
 * WP 3.5 with WP MCM 1.4.1.
 * BTW, how can I display a list of active categories on an image? In the Media 
   library, I see how to filter based on categories, but once a single media is 
   displayed, I don’t see the categories defined for it.
 * Thanks,
    Benoit
 * [https://wordpress.org/plugins/wp-media-category-management/](https://wordpress.org/plugins/wp-media-category-management/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [DeBAAT](https://wordpress.org/support/users/debaat/)
 * (@debaat)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/error-when-removing-a-category/#post-5644132)
 * HAi Benoit,
 * Sorry to disappoint you, but this error is because you are using an old version
   of WordPress. I’ve developed this plugin with version 4.0, the latest version
   is even 4.1.
    The function that is generating the error is only introduced with
   version 3.6 (as can be seen in the file taxonomy.php).
 * Further, it is possible to assign multiple categories to a single media file.
   Each category can be toggled independently and every category assigned will be
   shown. Please note that categories are not shown in the grid view, only in the
   list (table) view. And of course when editing the single media file.
 *  Thread Starter [bmaison](https://wordpress.org/support/users/bmaison/)
 * (@bmaison)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/error-when-removing-a-category/#post-5644372)
 * OK I updated WP to 4.1.1 and the error disappeared.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Error when removing a category’ is closed to new replies.

 * ![](https://ps.w.org/wp-media-category-management/assets/icon-256x256.png?rev
   =2908889)
 * [WP Media Category Management](https://wordpress.org/plugins/wp-media-category-management/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-media-category-management/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-media-category-management/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-media-category-management/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-media-category-management/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-media-category-management/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [bmaison](https://wordpress.org/support/users/bmaison/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/error-when-removing-a-category/#post-5644372)
 * Status: resolved