Произошла неожиданная ошибка

Call to a member function getTranslatedPageID() on bool