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

Bug #20989 fatal error/bug in the postinstallscript task
Submitted: 2015-12-10 09:17 UTC
From: kguest Assigned: kguest
Status: Closed Package: PEAR (version 1.10.1)
PHP Version: 5.5.9 OS:
Roadmaps: (Not assigned)    
Subscription  


 [2015-12-10 09:17 UTC] kguest (Ken Guest)
Description: ------------ Generating xml with PEAR_PackageFileManager2 for pearweb_manual highlighted a fatal error/bug in the postinstallscript task (Using $this when not in object context). Test script: --------------- kguest@radagast ~/dev/code/PEAR_pearweb $ php package_manual.php PHP Fatal error: Using $this when not in object context in /usr/share/php/PEAR/Task/Postinstallscript/rw.php on line 168 PHP Stack trace: PHP 1. {main}() /home/kguest/dev/code/PEAR_pearweb/package_manual.php:0 PHP 2. PEAR_Task_Postinstallscript_rw::getParam() /home/kguest/dev/code/PEAR_pearweb/package_manual.php:53 kguest@radagast ~/dev/code/PEAR_pearweb $ Expected result: ---------------- Package .xml output to be generated without error.

Comments

 [2015-12-10 09:17 UTC] kguest (Ken Guest)
-Assigned To: +Assigned To: kguest
 [2015-12-11 13:33 UTC] kguest (Ken Guest)
-Status: Assigned +Status: Closed
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.