Support » Fixing WordPress » Add Category not refreshing list; error deleting category

  • I’m working on a friend’s WordPress 3.0 install and she noticed a peculiar bug while posting a category. Although the category IS being added, it doesn’t immediately appear in the list… the process seems to stall without updating the page. Only when the page is refreshed does the new category appear in the list.

    I’m not sure when this started to happen or what was done prior that could have triggered it. I have deactivated all plugins, but that didn’t make any difference. I searched through the forum and Google which returned several similar problems, but I didn’t find anything that helped.

    To duplicate the bug, I did the following:

    In the “Categories” section, I added a new test category. Upon clicking the “Add New Category” button, nothing seemed to happen. No feedback is given to inform whether the category has been created or if there had been an error.

    However, I then manually refreshed the page and the category does appear correctly within the category list.

    When deleting this test category, I noticed two scenarios:

    1. Clicking “Delete” when hovering over the new category’s link correctly produced the red background momentarily, but the link remained in the list. I scrolled to the top of the page and saw the following error: “An unidentified error has occurred”. Refresh the page again, and the category is indeed deleted and does not show up in the list.
    2. I repeated the above test and then instead checked the box next to the category link and then selected “Delete” from the Bulk Actions drop-down, and the delete action performs exactly how it is supposed to with no need to refresh.

    I realize that this error/bug is more of a nuisance than anything, but I would like to figure out why this is happening and what can be done to fix it. My primary worry is that some other less obvious actions are not occurring.

    Any help or suggestions would be greatly appreciated!

Viewing 6 replies - 1 through 6 (of 6 total)
  • esmi


    Forum Moderator

    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-specific problems?

    Did you figure this out? I’m having the same problem.

    I am running out many blogs and most of them are updated to the newer version.. I never got this problem.. it seems that any plugin which deals with the Categories directly or indirectly causes this error! or it might be 3.0 bug.. why don;t you update the wordpress to the newer version..

    the problem is in functions.php

    in my case is:

    if ( function_exists(‘register_sidebar’) )
    ‘before_widget’ => ”,
    ‘after_widget’ => ”,
    ‘before_title’ => ‘<h4>’,
    ‘after_title’ => ‘</h4>’,

    bye bye

    Someone findind solution?

    I found a solution to this: one of my plugins was echoing an empty line.

    The problem was that it looked like this:

    Plugin Name: Custom Links
    class MyClassName

    As you can see, there was a closing statement for php processor (?>) followed by an empty line and an opening statement <?php.

    This empty line confused WordPress. Once I removed it, everything started working OK.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Add Category not refreshing list; error deleting category’ is closed to new replies.