Call to a member function getProperties() on bool

string(49) "Call to a member function getProperties() on bool"