Make WordPress Core

Opened 16 years ago

Closed 16 years ago

Last modified 16 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's profile 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 16 years ago.
6499.2.diff (1.7 KB) - added by DD32 16 years ago.

Download all attachments as: .zip

Change History (7)

@DD32
16 years ago

#1 @DD32
16 years ago

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

@DD32
16 years ago

#2 @DD32
16 years ago

attachment 6499.2.diff added.

Another 2 from the Widgets page & the Blogger importer.

#3 @Denis-de-Bernardy
16 years ago

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

#4 @ryan
16 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

#5 @ryan
16 years ago

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

Note: See TracTickets for help on using tickets.