#16030 closed defect (bug) (fixed)
PHP Notice on post save when post meta has been deleted
| Reported by: | cyberhobo | Owned by: | markjaquith |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.1 |
| Component: | Warnings/Notices | Version: | 3.1 |
| Severity: | normal | Keywords: | dev-feedback has-patch |
| Cc: | Focuses: |
Description
I think this began with the fix for #15276, but appears to be a separate problem. With WP_DEBUG set, deleting a post meta item (custom field) followed by a publish/save produces this notice:
Notice: Trying to get property of non-object in /Applications/MAMP/htdocs/wp-svn/wp-admin/includes/post.php on line 719
Attachments (1)
Change History (5)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Quick fix for the symptom - not sure if there are deeper issues to consider.