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

Bug #18340 raiseErro typo
Submitted: 2011-03-06 20:02 UTC
From: hostep Assigned: doconnor
Status: Closed Package: PEAR (version 1.9.2)
PHP Version: Irrelevant OS: Mac OS X 10.6.6
Roadmaps: (Not assigned)    
Subscription  


 [2011-03-06 20:02 UTC] hostep (Pieter Hoste)
Description: ------------ I just upgraded PEAR from 1.9.1 to 1.9.2 and now when I run pear list-upgrades it throws an error: PHP Fatal error: Call to undefined method PEAR::raiseErro() in /usr/share/pear/PEAR/REST.php on line 105 So there seems to be some typo's in the REST.php file, I found 3 references to the raiseErro function. Replacing the calls from raiseErro to raiseError fixed the error.

Comments

 [2011-03-07 04:49 UTC] doconnor (Daniel O'Connor)
-Status: Open +Status: Verified
PEAR/REST.php 105: return PEAR::raiseErro($result->getMessage()); 125: return PEAR::raiseErro($result->getMessage()); 165: return PEAR::raiseErro($result->getMessage());
 [2011-03-07 04:50 UTC] doconnor (Daniel O'Connor)
-Status: Verified +Status: Closed -Assigned To: +Assigned To: doconnor
This bug has been fixed in SVN. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.