#6095 closed defect (bug) (duplicate)
Taxonomy.php expecting array(), getting WP_Error on line 1014
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.3.3 |
Component: | General | Keywords: | taxonomy.php, wp_error, wp_insert_term, pages |
Focuses: | Cc: |
Description ¶
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'];
Pull Requests
- Loading…
Note: See
TracTickets for help on using
tickets.
That's because it is fixed in 2.5, not 2.3.