Exceptions started to appear in all views, and when I try to run composer update, it always ends up with
composer update
{\"error\":{\"type\":\"ErrorException\",\"m
You probably just forgot to put compact('var') as the second return view argument
return view("path.to.view", compact ('var'))