Exception:Call to a member function getTitle() on null

Error ID: 0