Figured out my own problem. I never called ->get() or ->first() on class. Doing that before this statement solved this issues.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community