Call to a member function getRelated() on null - Filament