We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
im getting the following error on an api route, i've checked to make sure protected is where it should be on the route::api()'s
[2014-12-03 15:04:15] production.ERROR: exception 'ErrorException' with message 'Undefined index: protected' in /srv/www/darc/v3/vendor/dingo/api/src/Routing/Route.php:34 Stack trace: 0 /srv/www/darc/v3/vendor/dingo/api/src/Routing/Route.php(34): Illuminate\Exception\Handler->handleError(8, 'Undefined index...', '/srv/www/darc/v...', 34, Array) 1 /srv/www/darc/v3/vendor/dingo/api/src/Http/Filter/Filter.php(30): Dingo\Api\Routing\Route->isProtected() 2 /srv/www/darc/v3/vendor/dingo/api/src/Http/Filter/AuthFilter.php(60): Dingo\Api\Http\Filter\Filter->routeNotProtected(Object(Dingo\Api\Routing\Route)) 3 [internal function]: Dingo\Api\Http\Filter\AuthFilter->filter(Object(Dingo\Api\Routing\Route), Object(Illuminate\Http\Request)) 4 /srv/www/darc/v3/bootstrap/compiled.php(6255): call_user_func_array(Array, Array) 5 [internal function]: Illuminate\Events\Dispatcher->Illuminate\Events{closure}(Object(Dingo\Api\Routing\Route), Object(Illuminate\Http\Request)) 6 /srv/www/darc/v3/bootstrap/compiled.php(6201): call_user_func_array(Object(Closure), Array) 7 /srv/www/darc/v3/bootstrap/compiled.php(6183): Illuminate\Events\Dispatcher->fire('router.filter: ...', Array, true) 8 /srv/www/darc/v3/bootstrap/compiled.php(5189): Illuminate\Events\Dispatcher->until('router.filter: ...', Array) 9 /srv/www/darc/v3/bootstrap/compiled.php(5171): Illuminate\Routing\Router->callRouteFilter('api.auth', Array, Object(Dingo\Api\Routing\Route), Object(Illuminate\Http\Request)) 10 /srv/www/darc/v3/bootstrap/compiled.php(5123): Illuminate\Routing\Router->callAttachedBefores(Object(Dingo\Api\Routing\Route), Object(Illuminate\Http\Request)) 11 /srv/www/darc/v3/bootstrap/compiled.php(5005): Illuminate\Routing\Router->callRouteBefore(Object(Dingo\Api\Routing\Route), Object(Illuminate\Http\Request)) 12 /srv/www/darc/v3/bootstrap/compiled.php(4995): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request)) 13 /srv/www/darc/v3/vendor/dingo/api/src/Routing/Router.php(222): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request)) 14 /srv/www/darc/v3/bootstrap/compiled.php(715): Dingo\Api\Routing\Router->dispatch(Object(Illuminate\Http\Request)) 15 /srv/www/darc/v3/bootstrap/compiled.php(696): Illuminate\Foundation\Application->dispatch(Object(Illuminate\Http\Request)) 16 /srv/www/darc/v3/vendor/barryvdh/laravel-debugbar/src/Middleware/Stack.php(34): Illuminate\Foundation\Application->handle(Object(Illuminate\Http\Request), 1, true) 17 /srv/www/darc/v3/bootstrap/compiled.php(7758): Barryvdh\Debugbar\Middleware\Stack->handle(Object(Illuminate\Http\Request), 1, true) 18 /srv/www/darc/v3/bootstrap/compiled.php(8365): Illuminate\Session\Middleware->handle(Object(Illuminate\Http\Request), 1, true) 19 /srv/www/darc/v3/bootstrap/compiled.php(8312): Illuminate\Cookie\Queue->handle(Object(Illuminate\Http\Request), 1, true) 20 /srv/www/darc/v3/bootstrap/compiled.php(10974): Illuminate\Cookie\Guard->handle(Object(Illuminate\Http\Request), 1, true) 21 /srv/www/darc/v3/bootstrap/compiled.php(657): Stack\StackedHttpKernel->handle(Object(Illuminate\Http\Request)) 22 /srv/www/darc/v3/public/index.php(49): Illuminate\Foundation\Application->run() 23 {main} [] []
[2014-12-03 15:04:15] production.ERROR: exception 'ErrorException' with message 'Undefined index: protected' in /srv/www/darc/v3/vendor/dingo/api/src/Routing/Route.php:34 Stack trace:
The text was updated successfully, but these errors were encountered:
If you're running 0.7.* can you try updating again now, I've just pushed a potential fix.
0.7.*
Sorry, something went wrong.
i was apparently missing some stuff out of the package config, so added the missing keys, & did the update seems to all work now, tyty :D
No branches or pull requests
im getting the following error on an api route, i've checked to make sure protected is where it should be on the route::api()'s
The text was updated successfully, but these errors were encountered: