{"error":{"type":"ErrorException","message":"Trying to get property of non-object","file":"D:\www\project_name\app\routes.php","line":32}}
Not at the computer now, but wasn't there a way to check if the current request is made through CLI? If so, you could add an extra if statement defaulting it to something.
Just a thought.
Pretty simple actually... if (App::runningInConsole())
Thanks for the suggestion XoneFobic
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community