[wp-trac] [WordPress Trac] #6095: Taxonomy.php expecting array(),
getting WP_Error on line 1014
WordPress Trac
wp-trac at lists.automattic.com
Tue Mar 4 21:16:10 GMT 2008
#6095: Taxonomy.php expecting array(), getting WP_Error on line 1014
-------------------------------+--------------------------------------------
Reporter: highplainsdrifter | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.6
Component: General | Version: 2.3.3
Severity: normal | Keywords: taxonomy.php, wp_error, wp_insert_term, pages
-------------------------------+--------------------------------------------
''Fatal error: Cannot use object of type WP_Error as array in
/home/military/public_html/wp-includes/taxonomy.php on line 1014
''
This happens when I create or edit a Page. The Page's content will save or
be created, though that message above is displayed no matter what I do.
I found this: [http://trac.wordpress.org/ticket/5226]
Yet the code is still...
{{{
$id = wp_insert_term($term, $taxonomy);
$term_ids[] = $id['term_id'];
}}}
--
Ticket URL: <http://trac.wordpress.org/ticket/6095>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list