Title: Create category don&#039;t work
Last modified: August 20, 2016

---

# Create category don't work

 *  Resolved [Anthony Barrier](https://wordpress.org/support/users/kindras/)
 * (@kindras)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/create-category-dont-work/)
 * Hi Everybody!
 * I have a problem when I want to insert some new categories : ‘Call to undefined
   function term_exists() in wp-admin/includes/taxonomy.php’
 * Here it is the addcategory.php file.
 * [http://pastebin.com/2cPNzBqm](http://pastebin.com/2cPNzBqm)
    Thanks for helping!
 * _________________________________________
    kindras

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

 *  [Johnb81](https://wordpress.org/support/users/johnb81/)
 * (@johnb81)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/create-category-dont-work/#post-2745863)
 * With an out of the box WordPress installation this should work. What I recommend
   it:
 * 1. Download the latest version of WordPress from [here](http://wordpress.org/download/)
   or the version you are using from [here](http://wordpress.org/download/release-archive/)(
   if you are running an older version). (note that ideally you should always run
   the latest version)
 * 2. Re-copy all the files.
 * 3. If it is still not working, then start by disabling the plugins 1 by 1 and
   try each time you disable a plugin.
 * 4. If after all plugins has been disabled, then try reverting to the default 
   theme.
 * This should work and should help you find out what is causing such an issue.
 *  Thread Starter [Anthony Barrier](https://wordpress.org/support/users/kindras/)
 * (@kindras)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/create-category-dont-work/#post-2745875)
 * John,
 * Thanks for replied quickly!
 * I’m going to revert to the default theme, and I hope that it will works
 *  Thread Starter [Anthony Barrier](https://wordpress.org/support/users/kindras/)
 * (@kindras)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/create-category-dont-work/#post-2745891)
 * Alright,
 * I’ve change my method, I use
 *     ```
       if(!is_term($term, $taxonomy)){
         wp_insert_term($term, $taxonomy, $args);
       }
       ```
   
 * Thanks for your help

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

The topic ‘Create category don't work’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [Anthony Barrier](https://wordpress.org/support/users/kindras/)
 * Last activity: [14 years, 1 month ago](https://wordpress.org/support/topic/create-category-dont-work/#post-2745891)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
