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

Bug #16786 warning message
Submitted: 2009-11-13 21:19 UTC
From: openmbox Assigned:
Status: Feedback Package: Structures_DataGrid (version 0.9.0)
PHP Version: 5.3.0 OS: Xampp on Windows 2000
Roadmaps: (Not assigned)    
Subscription  


 [2009-11-13 21:19 UTC] openmbox (Andrea Ferretti)
Description: ------------ when rendering (tried both HTML Renderer and the XML renderer) the output reports: Warning: get_class() expects parameter 1 to be object, string given in C:\xampp\php\PEAR\Structures\DataGrid.php on line 1446 Test script: --------------- <?php require 'Structures/DataGrid.php'; $datagrid =& new Structures_DataGrid(); $options = array('dsn' => 'mysql://user@localhost/test'); $test = $datagrid->bind('SELECT * FROM owl_log', $options); if (PEAR::isError($test)) { echo $test->getMessage(); } $test = $datagrid->render(XML); if (PEAR::isError($test)) { echo $test->getMessage(); } ?>

Comments

 [2010-03-16 13:51 UTC] mpgjunky (Michael Mussulis)
 [2011-12-26 21:02 UTC] doconnor (Daniel O'Connor)
-Status: Open +Status: Feedback
Thank you for taking the time to report a problem with the package. This problem may have been already fixed by a previous change that is in the SVN of the package. Please checking out the SVN repository of this package and upgrade svn checkout svn.php.net/repository/pear/packages/Structures_DataGrid/trunk pear upgrade package2.xml or pear upgrade package.xml If you are able to reproduce the bug with the latest SVN, please change the status back to "Open". Again, thank you for your continued support of PEAR. Looks already fixed in svn/git.