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

Bug #19420 PEAR::getStaticProperty() should not be called statically
Submitted: 2012-05-15 19:23 UTC
From: rudloff Assigned: doconnor
Status: Closed Package: HTML_BBCodeParser (version 1.2.3)
PHP Version: 5.3.10 OS: Ubuntu
Roadmaps: (Not assigned)    
Subscription  


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 : 45 - 20 = ?

 
 [2012-05-15 19:23 UTC] rudloff (Pierre Rudloff)
Description: ------------ HTML_BBCodeParser triggers an error in strict mode. Actual result: -------------- Strict Standards: Non-static method PEAR::getStaticProperty() should not be called statically, assuming $this from incompatible context in /usr/share/php/HTML/BBCodeParser.php on line 169

Comments

 [2012-05-15 19:26 UTC] rudloff (Pierre Rudloff)
 [2012-05-15 19:26 UTC] rudloff (Pierre Rudloff)
 [2012-05-19 11:04 UTC] doconnor (Daniel O'Connor)
-Status: Open +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.
 [2012-10-17 04:53 UTC] pavelvr (Pavel Vr)
IMO better solution is to replace PEAR::getStaticProperty(..) to PEAR5::getStaticProperty(..). The warnings also exists in some filters: Email, Images, Links and Lists.