Support the ongoing development of Laravel.io →
Configuration Requests Input
Last updated 2 years ago.
0

Can you give a full error paste.

Last updated 2 years ago.
0

{"error":{"type":"ErrorException","message":"Trying to get property of non-object","file":"D:\www\project_name\app\routes.php","line":32}}

Last updated 2 years ago.
0

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.

Last updated 2 years ago.
0

Pretty simple actually... if (App::runningInConsole())

Thanks for the suggestion XoneFobic

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.