ZF-6827: Fatal error: Call to a member function setFetchMode() on a non-object in /var/www/html/library/Zend/Db/Statement/Pdo.php on line 426
I get the "Call to a member function setFetchMode() on a non-object" with a segmentation fault when i run this code:
$locationTable = new DatabaseTable_Location(); $locationRow = $locationTable->fetchRow('id = ' . $locationid);
and when $locationid is null.
please advise. How do I find the version of zend framework? I downloaded it a couple of months ago...