Error

Call to a member function isMember() on boolean