I got this working after adding another view (the same view that says the variable was missing) inside of the View::composer using an array.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community