• Resolved bmaison

    (@bmaison)


    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/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author DeBAAT

    (@debaat)

    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

    (@bmaison)

    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.