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