Fixed issue - Call to a member function getIsAnchor() on a non-object.