Make WordPress Core

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#5967 closed defect (bug) (fixed)

Upload File Error

Reported by: darkfate's profile darkfate Owned by: ryan's profile ryan
Milestone: 2.5 Priority: high
Severity: major Version:
Component: Administration Keywords: media has-patch
Focuses: Cc:

Description

When I try and upload a image:

Warning: array_shift() [function.array-shift]: The argument should be an array in C:\Apache2\htdocs\wp\wp-admin\includes\media.php on line 421

Casting it as an array gets rid of the error, but it seems like a problem with the actual uploader.

Attachments (1)

5967.diff (1.5 KB) - added by andy 18 years ago.
disregard nonexistant attachments

Download all attachments as: .zip

Change History (4)

@andy
18 years ago

disregard nonexistant attachments

#1 @andy
18 years ago

  • Keywords media has-patch added
  • Owner changed from anonymous to ryan

#2 @ryan
18 years ago

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

(In [7002]) disregard nonexistant attachments. Props andy. fixes #5967

#3 @lloydbudd
18 years ago

  • Milestone changed from 2.6 to 2.5
Note: See TracTickets for help on using tickets.