0 Call to a member function getPagination() on bool