Error

Exception - Call to a member function remove() on bool