laravel-find-unused-code icon indicating copy to clipboard operation
laravel-find-unused-code copied to clipboard

Undefined index: Controller

Open peterthomson opened this issue 4 years ago • 2 comments

Line 86:

\Log::info('Ignoring route : ' . $route->getAction()['controller']);

Throws an error: Undefined index: controller.

Fix that worked for me: Remove the $route->getAction()['controller'] and just spit out 'Ignoring route'.

peterthomson avatar May 10 '20 02:05 peterthomson