Error creating page: 'NoneType' object has no attribute 'higher_neighbors'