[imp] PHP ERROR: spl_object_hash()

Michael M Slusarz slusarz at horde.org
Fri Dec 27 21:22:33 UTC 2013


Quoting ANANT S ATHAVALE <asa at isac.gov.in>:

> Dear List,
>
> Just confirm whether the following error is ignorable?
>
> Dec 27 2013 15:20:35 WARN: HORDE [imp] PHP ERROR: spl_object_hash() expects
> parameter 1 to be object, null given [pid 24710 on line 48 of
> "/var/www/horde/imp/lib/Factory/MimeViewer.php"]

I have no idea how that can happen.  $mime is type hinted as a  
Horde_Mime_Part object.  Line 48 would not even be reachable if $mime  
is null (at least according to PHP documentation - an exception should  
have been thrown).

michael

___________________________________
Michael Slusarz [slusarz at horde.org]



More information about the imp mailing list