Forums

Fatal Taxonomy Error (3 posts)

  1. dabamol
    Member
    Posted 2 years ago #

    Hi all. Any help with this is GREATLY appreciated.
    I recently upgraded my wife's blog to 2.3 and ever since, I'm getting this error every time she tries to post anything new:

    "Fatal error: Cannot use object of type WP_Error as array in /home/public_html/wp/wp-includes/taxonomy.php on line 1010"

    I have done a completely fresh install of WP (including deleting ALL files from the server, and re-uploading). I am about to try a full DB Dump, but I'd rather not go through that if there's a simpler solution.

    EDIT: I have looked all over and found only two other people who posted on something similar. One had something to do with a feeds plugin (which I don't use) and the second talked about some image thing that I didn't understand. I'm not all that saavy with mysql, which is why I shy away from the db dump.

    Anyone have any clues?

    THanks,

    dm

  2. mikicat
    Member
    Posted 2 years ago #

    I'm working on fresh install of wordpress 2.3 and I have the same problem when publish a new page or edit a page slug. If I edit autocreated pages (as wp-ecommerce ones) or publish new posts all works fine.

    Any ideas?

    Thanks,
    Miki

  3. randyhoyt
    Member
    Posted 2 years ago #

    I had this same problem. I checked the code to see what was going on, and the issue appears to be related to the new categories. Pages do not have categories, but the code for creating a new page expects them to do so.

    I resolved this problem by editing the database directly. (Yes, I know this is not a good solution.) After you save a page through the user interface, you'll get the error ... but a page was created. Navigate to the "Pages" list, and you should see the page with a status of "Unpublished" status. Note the page ID.

    Go to the database and add a row to the [WORDPRESS_]term_relationships table. The object_id should be the page ID. The term_taxonomy_id should be 1, which stands for "Uncategorized".

    Go back to the user interface. You should be able to edit the page going forward. For any new page you want to create, you'll have to follow this process.

Topic Closed

This topic has been closed to new replies.

About this Topic