Make WordPress Core

Opened 19 years ago

Closed 18 years ago

Last modified 18 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:
Priority: normal Milestone: 2.5.1
Component: Administration Version: 2.5
Severity: blocker Keywords: has-patch
Cc: Focuses:

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 19 years ago.
6499.2.diff​ (1.7 KB ) - added by DD32 19 years ago.

Download all attachments as: .zip

Change History (7)

@DD32
19 years ago

#1 @DD32
19 years ago

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

@DD32
19 years ago

#2 @DD32
19 years ago

attachment 6499.2.diff added.

Another 2 from the Widgets page & the Blogger importer.

#3 @Denis-de-Bernardy
18 years ago

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

#4 @ryan
18 years ago

  • Resolution → fixed
  • Status new → closed

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

#5 @ryan
18 years ago

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

Note: See TracTickets for help on using tickets.