PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

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!