[wp-trac] Re: [WordPress Trac] #6412: IIS6 PHP5 "Invalid argument supplied for foreach() ... wp-includes\media.php on line 262"

WordPress Trac wp-trac at lists.automattic.com
Wed Apr 2 19:29:05 GMT 2008


#6412: IIS6 PHP5 "Invalid argument supplied for foreach() ... wp-
includes\media.php on line 262"
----------------------------+-----------------------------------------------
 Reporter:  dreamcolor      |        Owner:  andy 
     Type:  defect          |       Status:  new  
 Priority:  normal          |    Milestone:  2.5.1
Component:  Administration  |      Version:  2.5  
 Severity:  normal          |   Resolution:       
 Keywords:                  |  
----------------------------+-----------------------------------------------
Changes (by dneez):

  * milestone:  2.6 => 2.5.1

Comment:

 Same issue, but, it seems, different cause. One of my wp_postmeta
 meta_value fields contains following:[[BR]]
 a:6:{s:5:"width";i:800;s:6:"height";i:536;s:14:"hwstring_small";s:23:"height='85'
 width='128'";s:4:"file";s:71:"/home/content/d/n/e/dneez/html/dneez/wp-
 content/uploads/2008/04/pic.jpg";s:5:"sizes";a:2:{s:9:"thumbnail";a:3:{s:4:"file";s:15
 :"pic-
 150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;}s:6:"medium";a:3:{s:4:"file";s:15
 :"pic-
 300x201.jpg";s:5:"width";i:300;s:6:"height";i:201;}}s:10:"image_meta";a:10:{s:8:"aperture";d:4.20000000000000017763568394002504646778106689453125;s:6:"credit";s:12:"Deniss
 Saksa";s:6:"camera";s:9:"NIKON
 D80";s:7:"caption";s:0:"";s:17:"created_timestamp";i:1206836068;s:9:"copyright";s:38:"[[BR]]

 Notice missing end part. My copyright IPTC field starts with copyright
 symbol (©) on images that cause the problem. Images that don't contain
 IPTC copyright field work normally. And I confirm that it is not related
 to IIS6 as my WP runs on linux too.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/6412#comment:4>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list