Error Call to a member function getAlbergo() on null