Opened 12 years ago
Closed 12 years ago
#21968 closed defect (bug) (duplicate)
Creating a new taxonomy term causes PHP notices
Reported by: | ericlewis | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Taxonomy | Keywords: | |
Focuses: | Cc: |
Description
Creating a new taxonomy term for any taxonomy, eg. from the Tags screen, causes some PHP errors in return, although the term is still created.
Tracked it to changeset:19052, which was a reworking of the WP_Screen object.
Notice: Trying to get property of non-object in /Users/ericlewis/Sites/wp-trunk/wp-admin/includes/class-wp-terms-list-table.php on line 290 Call Stack: 0.0003 691896 1. {main}() /Users/ericlewis/Sites/wp-trunk/wp-admin/admin-ajax.php:0 0.1680 37339784 2. do_action() /Users/ericlewis/Sites/wp-trunk/wp-admin/admin-ajax.php:66 0.1680 37341944 3. call_user_func_array() /Users/ericlewis/Sites/wp-trunk/wp-includes/plugin.php:406 0.1680 37342000 4. wp_ajax_add_tag() /Users/ericlewis/Sites/wp-trunk/wp-includes/plugin.php:406 0.2092 37656960 5. WP_Terms_List_Table->single_row() /Users/ericlewis/Sites/wp-trunk/wp-admin/includes/ajax-actions.php:624 0.2092 37657184 6. WP_List_Table->single_row_columns() /Users/ericlewis/Sites/wp-trunk/wp-admin/includes/class-wp-terms-list-table.php:228 0.2137 37687248 7. call_user_func() /Users/ericlewis/Sites/wp-trunk/wp-admin/includes/class-wp-list-table.php:860 0.2137 37687384 8. WP_Terms_List_Table->column_posts() /Users/ericlewis/Sites/wp-trunk/wp-admin/includes/class-wp-list-table.php:860 0
Attachments (1)
Change History (2)
Note: See
TracTickets for help on using
tickets.
screenshot of the PHP notice.