Call to a member function getFavoriteNodes() on null

Call to a member function getFavoriteNodes() on null