I solved it by calling the visitor relation as function:
Visitor::get()->reservation()->someMethod();
It may be because the relationships are cached on system startup and when the function is called it is reloaded.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community