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_Remote » Bug #6356

Cannot re-assign $this

Details

Submitted2005-12-28 15:21 UTC
Fromgrootenhuis at natuurlijk dot nl
StatusOpen
PackageImage_Remote
PHP Version5.0.5
OSlinux
Roadmaps(Not assigned)

Comments

[2005-12-28 15:21 UTC] grootenhuis at natuurlijk dot nl

Description:
------------
After upgrading PHP from 4.3.11 to 5.05 we got the following error:

Fatal error: Cannot re-assign $this in /usr/share/pear/Image/Remote.php on line 197

We have disabled this temporarely, and now it works again.

//if ($this->errstr) {
// $this = new PEAR_Error($this->errstr);
//}

On the same page PEAR is also used for database requests!