WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#6499 closed defect (bug) (fixed)

Fatal error: Only variables can be passed by reference in /wp-includes/post.php on line 2411

Reported by: DD32 Owned by:
Milestone: 2.5.1 Priority: normal
Severity: blocker Version: 2.5
Component: Administration Keywords: has-patch
Focuses: Cc:

Description

After uploading a item via the media uploader:
Fatal error: Only variables can be passed by reference in /wp-includes/post.php on line 2411

PHP Version 5.0.5-2ubuntu1.8

Attachments (2)

6499.diff (541 bytes) - added by DD32 6 years ago.
6499.2.diff (1.7 KB) - added by DD32 6 years ago.

Download all attachments as: .zip

Change History (7)

DD326 years ago

comment:1 DD326 years ago

Quite possibly a reason why some uploads are failing for some people who do not run with Error reporting turned on..

DD326 years ago

comment:2 DD326 years ago

attachment 6499.2.diff added.

Another 2 from the Widgets page & the Blogger importer.

comment:3 Denis-de-Bernardy6 years ago

could anyone commit this? it works fine and I'm getting tired of patching whenever I fetch trunk. ;-)

comment:4 ryan6 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [7712]) array_shift() error fixes from DD32. fixes #6499 for 2.5

comment:5 ryan6 years ago

(In [7713]) array_shift() error fixes from DD32. fixes #6499 for trunk

Note: See TracTickets for help on using tickets.