Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.10.13

Bug #20959 fatal error updating after updating to pear 1.10.0
Submitted: 2015-10-08 06:40 UTC
From: wanderr Assigned: cweiske
Status: Closed Package: PEAR (version 1.10.0)
PHP Version: 5.5.28 OS: Linux
Roadmaps: 1.10.1    
Comments Add Comment Add patch

Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem : 40 - 12 = ?

 [2015-10-08 06:40 UTC] wanderr (Jay Paroline)
Description: ------------ pear channel-update rych Updating channel "rych" PHP Fatal error: Using $this when not in object context in /usr/share/php/PEAR/Downloader.php on line 1714 PHP Stack trace: PHP 1. {main}() /usr/share/php/pearcmd.php:0 PHP 2. PEAR_Command_Common->run() /usr/share/php/pearcmd.php:316 PHP 3. PEAR_Command_Channels->doUpdate() /usr/share/php/PEAR/Command/Common.php:270 PHP 4. PEAR_Common->downloadHttp() /usr/share/php/PEAR/Command/Channels.php:546 PHP 5. PEAR_Downloader::_downloadHttp() /usr/share/php/PEAR/Common.php:833 ...same thing happens when running pear channel-discover if that channel is not already set up locally works fine on previous stable pear


 [2015-10-08 12:21 UTC] cweiske (Christian Weiske)
-Status: Open +Status: Verified
I can confirm this. A workaround: Use as channel URL; PEAR currently breaks with redirects during discovery.
 [2015-10-08 12:26 UTC] cweiske (Christian Weiske)
Fixed in pear-core git stable branch. Will be in 1.10.1
 [2015-10-17 15:58 UTC] cweiske (Christian Weiske)
-Status: Verified +Status: Closed -Assigned To: +Assigned To: cweiske -Roadmap Versions: +Roadmap Versions: 1.10.1