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

Bug #17560 Non-static method cannot be called statically
Submitted: 2010-07-05 11:45 UTC
From: vipsoft Assigned: dufuz
Status: Wont fix Package: PEAR (version 1.9.1)
PHP Version: 5.3.2 OS: Ubuntu 10.04
Roadmaps: (Not assigned)    
Subscription  
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:
MUST BE VALID
Solve the problem : 8 + 49 = ?

 
 [2010-07-05 11:45 UTC] vipsoft (Anthon Pang)
Description: ------------ This can be triggered by PEAR itself, e.g., PEAR::raiseError, or other packages, e.g., HTML_QuickForm calls PEAR::isError. Perhaps change these to static methods, and add a singleton to handle references to $this?

Comments

 [2010-07-24 17:41 UTC] dufuz (Helgi Þormar Þorbjörnsson)
-Status: Open +Status: Wont fix -Assigned To: +Assigned To: dufuz
This is a PHP 4 package that won't get upgraded to PHP 5 only functionality; In fact what you are seeing are simple notices. PEAR::isError can also be called via an object, and a lot of people do that, so we would be causing them problems. You might be better of using QuickForm2 (which is a PHP 5 package) that uses proper error mechanism, and same can be said about other packages; Or simply ignore those notices. I am sorry :-/