• When I try and add a new category I get “An unidentified error has occurred.” I have been trying to fix this for day’s can anyone help me please!?!?!?!

Viewing 9 replies - 1 through 9 (of 9 total)
  • Have you tried:

    – deactivating all plugins to see if this resolves the problem? If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    – switching to the default theme to rule out any theme-related problems?

    – repairing your database?

    Thread Starter mark-a-kalman

    (@mark-a-kalman)

    I tried repairing tables in WP-phpMyAdmin database but they all seemed ok. I wasn’t sure what I was doing or which table would contain the add categories but I looked around and repaired some that were not even broke.

    I switched to default theme and deactivated all my plugins and I still get the same “An unidentified error has occurred.” message!!??

    Thanks for the suggestions I really thought they would work!! Do you or anyone else have anymore ideas?

    -mark

    Hi,

    Make sure that your provided category name does not exist in that tags list. If it is there then remove it from the tags and have a try to add the category.

    Also check with wordpress version upgrade.

    Thanks,

    Shane G.

    I’ve created posts on this and nobody has answered me I DONT KNOW WHY. mind just stopped working on the 2.9 version I just recently updated its still doing the same thing.

    I’d have to click on add cat enter what I want to add click on publish post and then I use ctrl F find that new cat i added and its there

    I’m having the same problem, can’t create new categories in 3.0! This has nothing to do with similar tags, database errors, etc. It is a 3.0 problem – it was working perfectly before with the previous version. Anyone? Since 3.0 I also cannot access the visual editor, despite the correct setting in my account profile.

    This is worth a bump to keep eys on it.

    I have asimilar problem. It is close to obvious to me that WP 3.0 is buggy.
    The error I get when I try to adda new category is:-

    “Could not insert term into the database”

    It would be great to have a fix and also to know what causes this stupid behaviour.

    Hey everybody! I have exactly the same problem…what does it mean ” could not insert term into the database” ? Let me know if you figure out how to fix it. Thank you so much!

    I have the same problem..actually, it’s more like a series of bugs..for example when I add a new category the message “An unidentified error has occurred” is displayed, but when I refresh the page the new category is there. Other problem is that in the Edit Post page, adding a new custom field will not get instantly updated, but when I hit Publish, the new custom field is there, but it is duplicated, so I have to delete it everytime.

    Happens on WP 3.0 using my self-developed custom theme.

    I tried switching to the fault TwentyTen theme, and everything works fine, so I know that whatever causes all the bugs must somehow be related to my theme.

    Then I tried deleted the functions.php file of my theme, and everything works fine! So then I know there’s something not quite right with the codes in my functions.php file.

    I checked and there’s no syntax error at all. PHP is not throwing out any errors or warning, so the issue must be how WordPress handles the functions.php file.

    It turns out that in the functions.php, you must not close the initial <?php opening tag until at the very end of the file. You can, however, close the initial opening in the middle of a statement.

    The following works for me:

    <?php
    
    echo 'something';
    
    function whatever() { ?>
       <h2><?php bloginfo('name'); ?></h2>
    <?php }
    
    ?>

    The following does not work:

    <?php
    echo 'something';
    ?>
    
    <?php
    function whatever() { ?>
       <h2><?php bloginfo('name'); ?></h2>
    <?php }
    ?>

    Why? It’s probably a bug in WP 3.0, I don’t know, maybe somebody can follow it up. But everything works perfectly in my WordPress install now.

    I’d that problem as well at certain hosting service, I thought is about memory size that set up at that hosting, so I put php.ini (with memory size set to 96M or more) upload to wp-admin and the categories which I made before (but unseen) now appears with the correct posts count on it.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Can’t Add New Category’ is closed to new replies.