Fixing Call to undefined method DBAPI::freeResult()