Summary | Horde_Image_gd throws errors with the wrong message |
Queue | Horde Framework Packages |
Queue Version | FRAMEWORK_3 |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | mrubinsk (at) horde (dot) org |
Requester | tenorviol (at) yahoo (dot) com |
Created | 04/06/2009 (5906 days ago) |
Due | |
Updated | 04/06/2009 (5906 days ago) |
Assigned | 04/06/2009 (5906 days ago) |
Resolved | 04/06/2009 (5906 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | Yes |
State ⇒ Resolved
http://cvs.horde.org/diff.php/framework/Image/Image/gd.php?rt=horde&r1=1.48.10.21&r2=1.48.10.22&ty=u
http://cvs.horde.org/diff.php/framework/Image/Image/gd.php?rt=horde&r1=1.84&r2=1.85&ty=u
State ⇒ Assigned
Assigned to Michael Rubinsky
ANY error into $php_errormsg, regardless of if that error would have
been thrown under the current error_reporting level.
State ⇒ Feedback
with E_STRICT explicitly set. Where is this happening?
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Horde_Image_gd throws errors with the wrong message
Queue ⇒ Horde Framework Packages
Milestone ⇒
Patch ⇒ Yes
State ⇒ Unconfirmed
appear on my system Mac OSX.
imageCreateFromString: Non-static method PEAR::raiseError() should not
be called statically, assuming $this from incompatible context
This is a problem because it is the wrong error message, generated
from including PEAR.php at E_STRICT debug level. Suggest changing the
following lines like so:
BEFORE
require_once 'PEAR.php';
$result = PEAR::raiseError($function . ': ' . $php_errormsg);
AFTER
$errormsg = $php_errormsg;
require_once 'PEAR.php';
$result = PEAR::raiseError($function . ': ' . $errormsg);