In my case, in my model I had defined a relationship as follows:
public function nationality(){
return $this->belongsTo(Country::class, 'nationality', 'countryid');
}
After trying many things and having a nearly-identical relationship working, I changed the name of the method to nation
public function nation(){
return $this->belongsTo(Country::class, 'nationality', 'countryid');
}