Unexpected error encountered executing query

Warning: mysql_free_result() expects parameter 1 to be resource, boolean given in /web1/user29491/website/model/database.php on line 43