Title: Adding category for a post
Last modified: July 20, 2018

---

# Adding category for a post

 *  [anUser](https://wordpress.org/support/users/anuser/)
 * (@anuser)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/adding-category-for-a-post/)
 * Hello, I have a problem adding a category for a post:”Uncaught TypeError: Cannot
   read property ‘responses’ of undefined”. Apparently, it is space by the report
   to the <? Php and?> Tags of functions.php as well as the files that are included
   in it. Did you have that kind of problem?

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

 *  [Joy](https://wordpress.org/support/users/joyously/)
 * (@joyously)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/adding-category-for-a-post/#post-10513666)
 * What version of WordPress are you using?
    What page are you on when you get this
   error? (editing a post? Customizer? post list? front end?) Where did you see 
   this error? Did it say anything else? Is it a normal post or do you have custom
   post types?
 *  Thread Starter [anUser](https://wordpress.org/support/users/anuser/)
 * (@anuser)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/adding-category-for-a-post/#post-10513931)
 * – Version of WordPress: 4.9.7
    – Error in editing a post in developer console(
   where you see JS or Jquery error) – It s normal post
 *     ```
       <p>load-scripts.php?c=0&load[]=hoverIntent,common,admin-bar,heartbeat,autosave,wp-ajax-response,jquery-color,wp-lists,quicktags,jquery-query,admin-comments,sug&load[]=gest,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,postbox,jquery-ui-position,jquery-ui-menu,wp-a11y,jquery&load[]=-ui-autocomplete,tags-suggest,tags-box,underscore,word-count,post,editor-expand,svg-painter,wp-auth-check,shortcode,backbone,wp-&load[]=util,wp-backbone,media-models,wp-plupload,wp-mediaelement,wp-api-request,media-views,media-editor,media-audiovideo,mce-view,imga&load[]=reaselect,image-edit,editor,wplink,thickbox,media-upload,wp-embed&ver=4.9.7:115 Uncaught TypeError: Cannot read property 'responses' of undefined
           at Object.c [as addAfter] (load-scripts.php?c=0&load[]=hoverIntent,common,admin-bar,heartbeat,autosave,wp-ajax-response,jquery-color,wp-lists,quicktags,jquery-query,admin-comments,sug&load[]=gest,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,postbox,jquery-ui-position,jquery-ui-menu,wp-a11y,jquery&load[]=-ui-autocomplete,tags-suggest,tags-box,underscore,word-count,post,editor-expand,svg-painter,wp-auth-check,shortcode,backbone,wp-&load[]=util,wp-backbone,media-models,wp-plupload,wp-mediaelement,wp-api-request,media-views,media-editor,media-audiovideo,mce-view,imga&load[]=reaselect,image-edit,editor,wplink,thickbox,media-upload,wp-embed&ver=4.9.7:115)
           at Object.j.is.d.element.wpAjax.validateForm.d.data.match.d.complete (load-scripts.php?c=0&load[]=hoverIntent,common,admin-bar,heartbeat,autosave,wp-ajax-response,jquery-color,wp-lists,quicktags,jquery-query,admin-comments,sug&load[]=gest,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,postbox,jquery-ui-position,jquery-ui-menu,wp-a11y,jquery&load[]=-ui-autocomplete,tags-suggest,tags-box,underscore,word-count,post,editor-expand,svg-painter,wp-auth-check,shortcode,backbone,wp-&load[]=util,wp-backbone,media-models,wp-plupload,wp-mediaelement,wp-api-request,media-views,media-editor,media-audiovideo,mce-view,imga&load[]=reaselect,image-edit,editor,wplink,thickbox,media-upload,wp-embed&ver=4.9.7:10)
           at i (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=4.9.7:2)
           at Object.fireWith (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=4.9.7:2)
           at y (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=4.9.7:4)
           at XMLHttpRequest.c (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=4.9.7:4)</p>
       ```
   
    -  This reply was modified 7 years, 10 months ago by [anUser](https://wordpress.org/support/users/anuser/).
    -  This reply was modified 7 years, 10 months ago by [anUser](https://wordpress.org/support/users/anuser/).

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

The topic ‘Adding category for a post’ is closed to new replies.

## Tags

 * [category](https://wordpress.org/support/topic-tag/category/)
 * [post](https://wordpress.org/support/topic-tag/post/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [anUser](https://wordpress.org/support/users/anuser/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/adding-category-for-a-post/#post-10513931)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
