mpetkov
1698
9
Laravel

L5: Session store not set on request

Posted 3 years ago by mpetkov

I recently updated to Laravel 5 and have noticed the following error in my logs. So I am using couchbase as my session driver and all of the settings are exactly the same as I had them in Laravel 4. Everything works and I am not really sure when this error happens and what it prevents from working. Anyone having similar issues?

[2015-06-10 18:11:12] production.ERROR: exception 'RuntimeException' with message 'Session store not set on request.' in /laravel/vendor/compiled.php:2399
Stack trace:
#0 /laravel/vendor/compiled.php(12211): Illuminate\Http\Request->session()
#1 /laravel/vendor/compiled.php(9059): Illuminate\View\Middleware\ShareErrorsFromSession->handle(Object(Illuminate\Http\Request), Object(Closure))
#2 /laravel/vendor/compiled.php(10917): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#3 /laravel/vendor/compiled.php(9059): Illuminate\Session\Middleware\StartSession->handle(Object(Illuminate\Http\Request), Object(Closure))
#4 /laravel/vendor/compiled.php(11922): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#5 /laravel/vendor/compiled.php(9059): Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(Object(Illuminate\Http\Request), Object(Closure))
#6 /laravel/vendor/compiled.php(11871): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#7 /laravel/vendor/compiled.php(9059): Illuminate\Cookie\Middleware\EncryptCookies->handle(Object(Illuminate\Http\Request), Object(Closure))
#8 /laravel/vendor/compiled.php(2532): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#9 /laravel/vendor/compiled.php(9059): Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle(Object(Illuminate\Http\Request), Object(Closure))
#10 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#11 /laravel/vendor/compiled.php(9050): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#12 /laravel/vendor/compiled.php(1945): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#13 /laravel/vendor/compiled.php(1932): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request))
#14 /laravel/public/index.php(53): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))
#15 {main}

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.