Ошибка (Error): Call to a member function getName() on bool

Показать отладочную информацию