I am trying to add, delete default categories under default word press post. (means not creating any custom taxonomy etc)
Problem: Into the admin panel when i click on delete action for the category or a tag. it displays the error message “
An unidentified error has occurred.” http://prntscr.com/f5eqkh.
And the ajax response showing “
You cannot delete terms (categories, tags, etc)You can't delete category A and B. Please deselect those and try again.”
But upon refreshing the page the category was no more in the list (means deleted).
Tried: I’ve deleted all the plugins. Reverted the theme back to twentyfifteen.
But still it does not add or delete the categories and tags without page refresh.
Is it in databases or something else? I am using latest version of wp 4.7.4.
Read more here: Cannot delete Categories, tags! WordPress