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

Bug #17338 Notices - cause header information error
Submitted: 2010-04-23 05:35 UTC
From: porkaria Assigned: richsage
Status: Closed Package: Image_QRCode (version 0.1.1)
PHP Version: 5.2.10 OS: Linux
Roadmaps: (Not assigned)    
Subscription  


 [2010-04-23 05:35 UTC] porkaria (Bruno PorKaria)
Description: ------------ When running the examples, notices have appeared and have caused errors in the generation of qr-code. Notice: Undefined property: Image_QRCode::$structureappend_n in /my/dir/Image/QRCode.php on line 1130 Notice: Undefined property: Image_QRCode::$version in /my/dir/Image/QRCode.php on line 670 Notice: Undefined property: Image_QRCode::$version in /my/dir/Image/QRCode.php on line 681 .... cause error: Warning: Cannot modify header information - headers already sent by (output started at... The basic solution is to verify the existence of the variables in line 670 substitute: if (!isset($this->version) || !is_numeric($this->version)) { .. line 1129: add isset($this->structureappend_n) ..

Comments

 [2010-05-21 04:42 UTC] porkaria (Bruno PorKaria)
 [2010-05-21 14:45 UTC] richsage (Rich Sage)
-Status: Open +Status: Verified -Assigned To: +Assigned To: richsage
 [2010-09-30 20:50 UTC] richsage (Rich Sage)
-Status: Verified +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.