• seems like taxonomy.php is causing alot of havok these days.
    i’m trying to upload a pdf or word document to attach to a post and i get: Fatal error: Cannot use object of type WP_Error as array in
    “serverpath”/wp-includes/taxonomy.php on line 1014

Viewing 15 replies - 1 through 15 (of 15 total)
  • same bug when I publish a post.
    Fatal error: Cannot use object of type WP_Error as array in wordpress/wp-includes/taxonomy.php on line 1014

    see the code here https://www.21andy.com/blog/20080217/957.html

    by the way , my wordpress version is 2.3.3

    and I write some code on 1013 to get the $id value, when it has error.
    this is the $id value on 1013 line:

    WP_Error Object
    (
        [errors] => Array
            (
                [invalid_term_id] => Array
                    (
                        [0] => Invalid term ID
                    ) 
    
            ) 
    
        [error_data] => Array
            (
            ) 
    
    )

    21andy, i’m having the same problem as with getting the taxonomy error on line 1014 when editing or posting.

    have you or anyone find a fix or why this is happening? i installed a whole new wordpress so i didn’t upgrade or anything.

    any help at all would be greatly appreciate.

    thanks.

    Add one to the ‘me too’ counter.

    Trying to upload a JPEG image produces this error.

    Yes Im having the same problem with posting comments.

    Tailspin what does “Add one to the “me too” counter” mean?
    is this the solution?

    if not can anybody help me fix this problem?

    I posted this solution at:

    https://www.ads-software.com/support/topic/139976?replies=12

    but the error seems to be the same (error on line 1014, taxonomy.php) so I thought I’d post it here. Seeing that I had a different problem I don’t know if this will help you guys, but you might as well try and get back to everyone on this subject. Here is what I wrote:

    I am no PHP expert but this seems to have worked and everything is operating as it should. I commented out lines 1012 to 1016 in the taxonomy.php (in the file path listed on the error page) file as follows:

    /* if ( !$id = is_term($term, $taxonomy) )
    $id = wp_insert_term($term, $taxonomy);
    $term_ids[] = $id[‘term_id’];
    $id = $id[‘term_taxonomy_id’];
    $tt_ids[] = $id; */

    I don’t get the error and the page is posted as it should be. I commented it out instead of deleting it just in case there a problems later.

    stonpy: I meant add one to the list of people who have this problem.

    My problem solved itself, oddly. It might have had something to do with e-commerce, but I can’t prove it one way of the other except to say that I have it disabled at the moment and don’t have the problem.

    Hello jwkep…your solution has worked for me as well – unbelievable! Thank you.
    Elizabeth

    jwkep’s process worked for me too.

    This worked for me, but now I can’t successfully add a post to a category. Everything posted is automatically added to Uncategorised and is unable to be changed.

    Tailspin:

    It might have had something to do with e-commerce, but I can’t prove it one way of the other except to say that I have it disabled at the moment and don’t have the problem.

    This also solved my problem. I also deactivated e-commerce and removed the comments from code and everything is working as normal again. I can add posts to categories again as well.

    I got rid of w e-commerce (since this seems to be what created the taxonomy.php problem), but my problem hasn’t gone away.

    I edited out the code (as mentioned above), and this allows me to create new posts. However, it doesn’t allow me to add posts to categories, SO every time I create a post I upload one taxonomy file, and then after it’s saved i upload the original taxonomy file and assign the post to a category.

    Not very efficient with 10 people posting. Can anyone help before we ditch wordpress?

    Thanks!

    thank jwkep

    has anybody found a solution other than jwkep’s?

    i tried that, removed wp-ecommerce, etc, and still have the same problems categorizing posts, AND it now is affecting comments on the site. when people post comments about postings they get the same WP_Error as array in
    “serverpath”/wp-includes/taxonomy.php on line 1014

    has anybody else had this problem?

    still looking for a real solution. any tips greatly appreciated.

    thanks.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘taxonomy.php on line 1014 error on file upload’ is closed to new replies.