Please call function paginate() first.