Opened 14 years ago
Closed 14 years ago
#7047 closed defect (bug) (worksforme)
Saving post generates errors
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.5.1 |
Component: | Administration | Keywords: | array, foreach, posting |
Focuses: | Cc: |
Description
On certain configurations saving post generates errors:
Warning: Invalid argument supplied for foreach() in /home/zeno/public_html/wp-admin/includes/post.php on line 227 Warning: array_search() [function.array-search]: Wrong datatype for second argument in /home/zeno/public_html/wp-admin/includes/post.php on line 326 Warning: Illegal string offset: -1211911650 in /home/zeno/public_html/wp-admin/includes/post.php on line 333 Warning: Cannot modify header information - headers already sent by (output started at /home/zeno/public_html/wp-admin/includes/post.php:227) in /home/zeno/public_html/wp-includes/classes.php on line 788
I belive arrays are improperly handled.
I've attached a fix.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
Milestone 2.5.2 deleted