This question already has an answer here:
Fatal error: Call to a member function fetchAll() on a non-object in **************/includes/Dbo.class.inc on line 41
Line 41:
public function selectCondition($database, $table, $condition, $condition_value){
return $database->debug()->select($table, "*", array($condition => $condition_value))->fetchAll(PDO::FETCH_ASSOC);
}
After calling this function to get an result array it displays the error mentioned above. Any ideas?
</div>