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