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

Bug #19793 PHP Notice about ob_end_clean()
Submitted: 2013-01-21 04:18 UTC
From: adamculp Assigned: cweiske
Status: Closed Package: PEAR
PHP Version: 5.4.9 OS: Ubuntu 12.04
Roadmaps: 1.9.5    
Subscription  


 [2013-01-21 04:18 UTC] adamculp (Adam Culp)
Description: ------------ After upgrading from 5.3 to 5.4 I now get a Notice when using pear from command line. When using pear from command line with any command I see a PHP Notice pasted in Actual result field. (Ex. - $pear list) Other than the notice things seems to work OK. Actual result: -------------- PHP Notice: ob_end_clean(): failed to delete buffer. No buffer to delete in /usr/share/php/pearcmd.php on line 19 PHP Stack trace: PHP 1. {main}() /usr/share/php/pearcmd.php:0 PHP 2. ob_end_clean() /usr/share/php/pearcmd.php:19

Comments

 [2014-04-12 23:11 UTC] doconnor (Daniel O'Connor)
-Package: Console_CommandLine +Package: PEAR
 [2014-05-30 00:47 UTC] cweiske (Christian Weiske)
-Roadmap Versions: +Roadmap Versions: 1.9.5
 [2014-06-03 03:22 UTC] cweiske (Christian Weiske)
-Status: Open +Status: Closed -Assigned To: +Assigned To: cweiske
Fixed in git stable branch for version 1.9.5.
 [2014-06-03 03:34 UTC] cweiske (Christian Weiske)
The patch prevents us from running > sh ./scripts/pear.sh run-tests -r tests/ since output buffering does not get disabled anymore.
 [2014-06-03 03:39 UTC] cweiske (Christian Weiske)
I simply put a @ before the func call.