PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Images » Image_Tools » Bug #9431

Can't initiate

Details

Submitted2006-11-23 13:21 UTC
Frombbambuk at yandex dot ru
Assignedfirman
StatusClosed
PackageImage_Tools
PHP Version5_2 CVS-2006-11-23
OSWindows
Roadmaps(Not assigned)

Comments

[2006-11-23 13:21 UTC] bbambuk at yandex dot ru

Description:
------------
Can't initiate an instance of Image_Tools.

Test script:
---------------
// Create thumbnail object
$thumbnail =& Image_Tools::factory('thumbnail', $options);
if (PEAR::isError($thumbnail)) {
die($thumbnail->toString());
}

Expected result:
----------------
Instance of Image_Tools

Actual result:
--------------
Error: This method may only be called statically[pear_error: message="This method may only be called statically" code=-11 mode=print level=notice prefix="" info=""]