Ticket #5967 (closed defect (bug): fixed)

Opened 11 months ago

Last modified 11 months ago

Upload File Error

Reported by: darkfate Assigned to: ryan
Priority: high Milestone: 2.5
Component: Administration Version:
Severity: major Keywords: media has-patch
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

5967.diff (1.5 kB) - added by andy on 02/24/08 02:59:31.
disregard nonexistant attachments

Change History

02/24/08 02:59:31 changed by andy

  • attachment 5967.diff added.

disregard nonexistant attachments

02/24/08 02:59:51 changed by andy

  • keywords set to media has-patch.
  • owner changed from anonymous to ryan.

02/24/08 04:34:40 changed by ryan

  • status changed from new to closed.
  • resolution set to fixed.

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

02/25/08 17:53:36 changed by lloydbudd

  • milestone changed from 2.6 to 2.5.