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

Bug #20959 fatal error updating rchouinard.github.com/pear 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    
Subscription  


 [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 rchouinard.github.com/pear if that channel is not already set up locally works fine on previous stable pear

Comments

 [2015-10-08 12:21 UTC] cweiske (Christian Weiske)
-Status: Open +Status: Verified
I can confirm this. A workaround: Use rchouinard.github.io/pear 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