Browse AI Field GuideForum Podcast
All ThreadsLeaderboard
  1. Discussions

    1. Popular This Week
    2. Popular All Time
    3. Solved
    4. Unsolved
    5. No Replies Yet

siiamine's avatar

logicexception

please what is the solution for this logicexception: Unable to prepare route [api/user] for serialization. Uses Closure.

siiamine's avatar
siiamine's avatar aurawindsu...7yrs agoCode Review
1
4
Last reply by aurawindsurfing 7yrs ago
afoysal's avatar

LogicException

I am running php artisan route:cache and I am getting below error. Unable to prepare route [restaurant/payment/information] for serialization. Another route has already been assigned name [restaurant.payment.information]. at vendor/laravel/framework/src/Illuminate/Routing/AbstractRouteCollection.php:218 214▕ $route->name($name = $this->generateRouteName

afoysal's avatar
afoysal's avatar Sinnbeck3yrs agoLaravel
1
2
Last reply by Sinnbeck 3yrs ago
noblemfd's avatar

local.ERROR: LogicException: App\Models\User::token must return a relationship instance, but "null" was returned

In Laravel-8, I am creating an end point for ForgotPassword and to also send notification to the user email: public function forgotPassword(ResetPasswordRequest $request) { try { $user = User::where('email', $request->email)->first(); if (!$user){ return $this->error('We can\'t find a user with that e-mail address.', 400); } $email = $request

noblemfd's avatar
noblemfd's avatar noblemfd4yrs agoLaravel
0
1
Antonella's avatar

TDD: LogicException: App\Models\Project::path must return a relationship instance.

I'm at this lesson https://laracasts.com/series/build-a-laravel-app-with-tdd/episodes/14 minute 18:16 when i launch this test i get a different error than the course one public function test_a_user_can_create_a_project() { $this->withoutExceptionHandling(); $this->singIn(); $this->get('/projects/create')->assertStatus(200);

Antonella's avatar
Antonella's avatar Tray25yrs agoTesting
3
7
Last reply by Tray2 5yrs ago
tomasosho's avatar

LogicException Route pattern "/profile/{slug}/{{slug}}" cannot reference variable name "slug" more than once.

I've been getting this error LogicException Route pattern "/profile/{slug}/{{slug}}" cannot reference variable name "slug" more than once. Routes // User Profile Route::resource('profile/{slug}', 'ProfileController'); // Vendor Profile Route::resource('vendor-profile/{slug}', 'VendorController'); // Agent Profile Route::resource('agent-profile/{slug}', 'A

tomasosho's avatar
tomasosho's avatar Sinnbeck5yrs agoGeneral
18
14
Last reply by Sinnbeck 5yrs ago
GodziLaravel's avatar

why php artisan optimize returns :LogicException : Unable to prepare route [api/user] for serialization. Uses Closure.

Hello, I try to php artisan optimize, but I got this error message : vagrant@homestead:~/code/crm$ php artisan optimize Configuration cache cleared! Configuration cached successfully! Route cache cleared! LogicException : Unable to prepare route [api/user] for serialization. Uses Closure. at /home/vagrant/code/crm/vendor/laravel/framework/src/Illuminate/Routing/Route.p

GodziLaravel's avatar
GodziLaravel's avatar Nakov6yrs agoLaravel
2
2
Last reply by Nakov 6yrs ago
Moenchfracht's avatar

Relationships not working (LogicException?)

Hello. I try to build a relationship between my tables users (original from laravel) and collectionson Laravel 5.6. Schema collections: Schema::create('collections', function (Blueprint $table) { $table->increments('id'); $table->string('name'); $table->string('location'); $table->integer('user_id')->unsigne

Moenchfracht's avatar
Moenchfracht's avatar Moenchfrac...8yrs agoEloquent
3
2
Last reply by Moenchfracht 8yrs ago
Aimgy's avatar

Use LogicException from PHP

Hello, I want to use a LogicException class from PHP so I set in my code: "use LogicException; if (Atest) { Some Code } else { throw new LogicException("blablabla"); }" But I have always this error: "FatalThrowableError in Character.php line 243: Call to undefined function App\LogicException()" Obviously, there is no LogicException class in my App

Aimgy's avatar
Aimgy's avatar Aimgy9yrs agoPHP
2
7
Last reply by Aimgy 9yrs ago
mikebronner's avatar

LogicException: The selected node does not have a form ancestor.

I'm working on fleshing out my functional tests with the integrated PHPUnit functionality added in Laravel 5. I have a form, but its "submit" button is a regular button outside of the form, which onclick event triggers the form to submit. (This is necessary because of layout constraints.) The error I'm getting is: LogicException: The selected node does not have a form

mikebronner's avatar
mikebronner's avatar heyalda10yrs agoTesting
3
4
Last reply by heyalda 10yrs ago
wizgabriel18's avatar

LogicException in compiled.php line 10202: Relationship method must return an object of type Illuminate\Database\Eloquent\Relations\Relation

Im having this error given this code below: Controller public function view_all() { $category=with(new Category)->getAll; return $category; } Model public function getAll() { if (Cache::has('category_list')) { $category_list = Cache::get('category_list'); }else{ $category=Category::orderBy('cat_order', 'asc')

wizgabriel18's avatar
wizgabriel18's avatar wizgabriel...11yrs agoEloquent
0
1
ahmdsaza's avatar

Problem with: "Invalid key supplied", exception: "LogicException" (Laravel v10.26.2)

I had a problem, when I deploy my project into Heroku I try to register but this error comes out I try all solving I search for but doesn't help me, I use php artisan:migrate, php artisan passport:keys and php artisan passport:install --force, but no one help :( {message: "Invalid key supplied", exception: "LogicException",…} exception: "LogicException

ahmdsaza's avatar
ahmdsaza's avatar ranggasatr...1yr agoLaravel
11
7
Last reply by ranggasatriaa 1yr ago
Paj4love's avatar

LogicException: refresh token must be passed in or set as part of setAccessToken

Hello friends! i have this error from my laravel webapp when i try uploading a file, like image to google drive, am sure my seetings are right please what am i doing wrong? Please am new to Google Drive API and using it as a storage. these are my codes: GoogleDriveServiceProvider public function boot() { \Storage::extend("google", function($app, $config) {

Paj4love's avatar
Paj4love's avatar Paj4love4yrs agoLaravel
3
1
Last reply by Paj4love 4yrs ago
LaraWebDev1's avatar

Image Upload => LogicException Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?)

I'm following the following tutorial -> http://laraveldaily.com/upload-multiple-files-laravel-5-4. When I go to post my advert, the add goes thorugh without the photographs. My error message is Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) I have enabled php_fileinfo and restared the server, but to know avail. Any o

LaraWebDev1's avatar
LaraWebDev1's avatar Grelav8yrs agoLaravel
10
1
Last reply by Grelav 8yrs ago
mehany's avatar

LogicException in RouteCompiler

I have an app that has an admin panel. In the admin area Routes ( which has a prefix of /admin ) I have Route::resource('documents/{product?}', 'ManageDocumentsController'); Route::resource('orders/{type?}', 'ManageOrdersController'); So I run this url in my browser ( example.com/admin/orders/download ), I get Route pattern "/admin/documents/{product}/{{produ

mehany's avatar
mehany's avatar SaeedPrez10yrs agoLaravel
14
2
Last reply by SaeedPrez 10yrs ago
mbsmi's avatar

LogicException Error

Part of one of my controllers for my users is utilized to update the user's profile. Everything works except whenever I try to update the password, which always throws the error Relationship method must return an object of type Illuminate\Database\Eloquent\Relations\Relation. The code I am using is: public function UsersUpdate($id, Request $request){ $user = User::find

mbsmi's avatar
mbsmi's avatar mbsmi10yrs agoLaravel
0
2
KrasMan's avatar

Passport setup is breaking

Laravel 12 app built with Laravel installer. Windows 11, php v8.2.12 I'm attempting to configure my laravel 12 api application to use passport. One of the steps presented in the tutorial I'm following is to create a client, e.g., $ php artisan passport:client --personal and when I run this I get this prompt: $ php artisan passport:client --personal What should we name the c

KrasMan's avatar
KrasMan's avatar martinbean11mos agoLaravel
3
1
Last reply by martinbean 11mos ago
lina2023's avatar

Your configuration files are not serializable

I run php artisan config:cache On my terminal I got the message 'configuration cache cleared" but aloso a LogicalExpectation `Configuration cache cleared! LogicException Your configuration files are not serializable. at C:\xampp\htdocs\Pharmacy-management-system\vendor\laravel\framework\src\Illuminate\Foundation\Console\ConfigCacheCommand.php:71 67▕ require $configPath; 68

lina2023's avatar
lina2023's avatar s4muel2yrs agoLaravel
1
2
Last reply by s4muel 2yrs ago
rhand's avatar

Replace Laravel UI Authentication with Fortify

We want to use Laravel Fortify instead of Laravel UI default authentication because we want to use mandatory two factor authentication . So I did steps following a Laracast tutorial.. I first did: composer require laravel/fortify and then I published the vendor files: php artisan vendor:publish --provider="Laravel\Fortify\FortifyServiceProvider" I copied over the F

rhand's avatar
rhand's avatar rhand2yrs agoLaravel
9
18
Last reply by rhand 2yrs ago
Maison012's avatar

Laravel multitenant how to use api routes for tenant

I have a multitenant laravel web app, in which I have 2 panels, central panel and tenant panel. I am developing it and the idea is for a central panel to manage each building. And each tenant has its own modules that it manages. I have successfully created the two panels. But I'm a little stuck at this point, I want to access tenant routes, let's say with postman, in the same w

Maison012's avatar
Maison012's avatar Maison0122yrs agoLaravel
0
2
shahr's avatar

Error::("Call to undefined method Closure::__set_state()")

LogicException Your configuration files are not serializable. at C:\xampp\htdocs\projects\borujerd\selda\vendor\laravel\framework\src\Illuminate\Foundation\Console\ConfigCacheCommand.php:84 80▕ require $configPath; 81▕ } catch (Throwable $e) { 82▕ $this->files->delete($configPath); 83▕ ➜ 84▕ throw

shahr's avatar
shahr's avatar LaryAI3yrs agoLaravel
1
3
Last reply by LaryAI 3yrs ago
abkrim's avatar

Kernel.php has a limit of written commands?

I have a Kernel.php class <?php namespace App\Console; use App\Console\Commands\Tasks\Api\AnalyzerCallsCommand; use App\Console\Commands\Tasks\Api\ModemCallsCommand; use Illuminate\Console\Scheduling\Schedule; use Illuminate\Foundation\Console\Kernel as ConsoleKernel; class Kernel extends ConsoleKernel { protected function schedule(Schedule $schedule): void {

abkrim's avatar
abkrim's avatar abkrim3yrs agoGeneral
2
2
Last reply by abkrim 3yrs ago
aj411's avatar

Laravel project upgraded - issues with artisan optimize

I have recently shifted an old code base to Laravel 9. I am now having an issue when running php artisan optimize. This worked fine in the old version (Laravel 5.8) - It seems that the route name is the issue here but due to the prefix there is no issue in route list (why doesn't it just use the prefixed name as the key?). How do I go about fixing this? API Route file Route::

aj411's avatar
aj411's avatar Snapey3yrs agoLaravel
5
2
Last reply by Snapey 3yrs ago
chkltlabs's avatar

Attribute must return a relationship instance?

I have an eloquent model with the new accessor syntax. //my model has this attribute public function name_of_thing(): Attribute { return Attribute::make( get: fn () => 'string I want to return', ); } calling it as an attribute throws this error: $d->name_of_thing LogicException App\Models\MyModel::name_of_thing must return a r

chkltlabs's avatar
chkltlabs's avatar Karthik_he...2yrs agoEloquent
4
2
Last reply by Karthik_hebbar 2yrs ago
t0berius's avatar

Class redis not found

Using a simple console command to update some values inside the cache: Cache::put('latestOrder', 'someData' , 600); I receive the following output: Class "Redis" not found at vendor/laravel/framework/src/Illuminate/Redis/Connectors/PhpRedisConnector.php:81 77▕ * @throws \LogicException 78▕ */ 79▕ protected function createCli

t0berius's avatar
t0berius's avatar GdS2yrs agoLaravel
6
2
Last reply by GdS 2yrs ago
wanderlusted's avatar

Laravel 7 route caching for groupped routes crashes

I'm trying to speed up my Laravel 7 webapp by caching the routes. As caching does not work with route closures, I converted all my closure based routes in the web.php file to controller based routes. The only closures I still have in the file are in the second parameter of the Route:group method: //Iterate over each language prefix foreach( $all_langs as $prefix ){ Route

wanderlusted's avatar
wanderlusted's avatar Snapey4yrs agoLaravel
3
2
Last reply by Snapey 4yrs ago
do73's avatar

Exclude routes that use Closure from caching

As you might be aware, the artisan route:cache command throws a LogicException when there are any routes that use a Closure. I need these routes, but would still like to be able to cache my other conventional routes. Is it possible to exclude certain routes from caching?

do73's avatar
do73's avatar do734yrs agoLaravel
2
97
Last reply by do73 4yrs ago
firatkaya's avatar

"Your configuration files are not serializable." error when use artisan config:cache command

My config working well but I can't cache my markdown.php 'commonmark_options' => [ 'embeds' => [ new CustomYouTube(), ], ... ... ], When I set markdown.php config like this I get this error: $ php artisan config:cache Configuration cache cleared! LogicException Your configuration files are not serializable. at C:\Users\FIRAT\WebstormProjects\projec

firatkaya's avatar
firatkaya's avatar firatkaya4yrs agoLaravel
8
2
Last reply by firatkaya 4yrs ago
rajeshtva's avatar

can't create policies when using sanctum guard

i have installed laravel sanctum package for authorization system. everything works fine. i can make api call and other things properly. but when i tried to make a policy for restricting a user to access some data by using command php artisan make:policy QuestionPolicy, it throwed following error.(pa is alias for php artisan i have defined.) what is causing issue and how can i

rajeshtva's avatar
rajeshtva's avatar bmc-atx1yr agoLaravel
6
2
Last reply by bmc-atx 1yr ago
FounderStartup's avatar

Error after php artisan route:cache on production server

I am getting this error after php artisan route:cache on production server : LogicException Unable to prepare route [dashboard] for serialization. Another route has already been assigned name [dashboard]. at vendor/laravel/framework/src/Illuminate/Routing/AbstractRouteCollection.php:218 214▕ $route->name($name = $this->generateRouteName()); 215▕ 216▕

FounderStartup's avatar
FounderStartup's avatar Sinnbeck4yrs agoLaravel
3
2
Last reply by Sinnbeck 4yrs ago
mihailovskim's avatar

Laravel Passport - Key path "file:///home/user/projectname/storage/oauth-public.key" does not exist or is not readable

Hi everyone, As you can see from the title, i have problem with the oauth-public.key. I have installed Laravel Passport and everything was going perfect (it worked on Postman, also on my application) and suddenly i get the error message that impacted completely my application. LogicException: Key path "file://secret-key-from-db" does not exist or is not readable in fi

mihailovskim's avatar
mihailovskim's avatar mihailovsk...4yrs agoLaravel
1
2
Last reply by mihailovskim 4yrs ago
eshban's avatar

Unable to prepare Route for Serialization

I have installed PDF package and do some updates on Composer on my server due to that one of my route is not working which is : For troubleshooting I ran the following command: php artisan route:cache -v It shows me bunch of errors: LogicException : Unable to prepare route [api/user] for serialization. Uses Closure. at /home/customer/www/dornew.deas-software.com/public

eshban's avatar
eshban's avatar sr575yrs agoLaravel
1
6
Last reply by sr57 5yrs ago
Batman55's avatar

belongsToMany returns a belongsToMany, not a collection

I am using Laravel 8. I had issues with this on "Display All Tags Under Each Article" here: https://laracasts.com/series/laravel-6-from-scratch/episodes/32 I never did get the above resolved. I am also having issues here currently: public function tags() { return $this->belongsToMany(Tag::class); } $tags = \App\Models\Article::first()->tags; Ty

Batman55's avatar
Batman55's avatar Batman555yrs agoEloquent
6
2
Last reply by Batman55 5yrs ago
fbc's avatar

Logic Exception

When I run my migrations i get an error for an entry in my routes, but I can't quite figure out what is wrong. Everything continues to work as it should. LogicException Unable to prepare route [api/user] for serialization. Uses Closure. at vendor/laravel/framework/src/Illuminate/Routing/Route.php:1150 1146| */ 1147| public function prepareForSerializ

fbc's avatar
fbc's avatar fbc5yrs agoLaravel
9
11
Last reply by fbc 5yrs ago
JoaquinVilchez's avatar

Problem when try deploy my Laravel app to Heroku

Hi! Im trying to deploy my Laravel app to Heroku with this guide: https://devcenter.heroku.com/articles/getting-started-with-laravel But when execute git push heroku master i have this problem in console: remote: Generating optimized autoload files remote: Deprecation Notice: Class App\restaurant located in ./app/Restaurant.php does not comply with psr-4 autoloadi

JoaquinVilchez's avatar
JoaquinVilchez's avatar mhadaniya5yrs agoLaravel
3
2
Last reply by mhadaniya 5yrs ago
mvind's avatar

Unable to prepare route [logout] for serialization.

Hi I can't run php artisan route:cache. I moved all my closures into controllers, but when I run the command I get the following error: php artisan route:cache Route cache cleared! LogicException Unable to prepare route [logout] for serialization. Another route has already been assigned name [logout]. at vendor/laravel/framework/src/Illuminate/Routing/AbstractRouteCol

mvind's avatar
mvind's avatar Desssha5yrs agoGeneral
12
2
Last reply by Desssha 5yrs ago
knowak001's avatar

Maatwebsite/excel BinaryFileResponse error

Hi, I'm using PHP 7.3.13 and Laravel 6.4.1, Maatwebsite/excel 3.1. This is my export: <?php namespace Edito\Exports; use Edito\Models\Cms\Event; use Maatwebsite\Excel\Concerns\FromCollection; class ParticipantsExport implements FromCollection { /** * @return \Illuminate\Support\Collection */ public function collection() { return Event::all();

knowak001's avatar
knowak001's avatar Haz_5yrs agoLaravel
17
12
Last reply by Haz_ 5yrs ago
AlokDev's avatar

php artisan route:list -v through errors

Hello Everyone, I am trying to run PHP artisan route:list command which though a errors. LogicException Key path "file:///var/www/html/materialize-admin/materialize-html-laravel-template/storage/oauth-private.key" does not exist or is not readable at vendor/league/oauth2-server/src/CryptKey.php:48 $keyPath = 'file://' . $keyPath; } if (!file_ex

AlokDev's avatar
AlokDev's avatar AlokDev5yrs agoLaravel
2
4
Last reply by AlokDev 5yrs ago
imamhsn195's avatar

Upgrade Laravel 5.3 to Laravel 7

I have upgraded laravel 5.3 to 7. Everything working nicely and perfectly. But There is a error message showing during composer commands. Someone please help me to figure out why this error is showing and how can I solve it. Thank you Generating autoload files > Illuminate\Foundation\ComposerScripts::postInstall > php artisan optimize Configuration cache cleared! Configur

imamhsn195's avatar
imamhsn195's avatar ajithlal6yrs agoLaravel
3
4
Last reply by ajithlal 6yrs ago
kevin73's avatar

Unable to prepare route [estimates] for serialization. Uses Closure.

Hi, someone can help me ? how to fix it ? routes/web.php Route::get('/', 'DashboardController@index'); Route::get('/calendar','FullCalendarController@index'); /* Vuejs */ Route::get('/estimates', function () { return view('estimate.index'); }); Route::group(['prefix' => 'api/'], function () { Route::resource('estimates', 'estimateController'); }); when i run : php

kevin73's avatar
kevin73's avatar manelgaval...6yrs agoLaravel
2
2
Last reply by manelgavalda 6yrs ago
gazd1977's avatar

Unable to prepare route [api/user] for serialization. Uses Closure.

Hi All, Has anyone come across the below error when running php artisan route:cache LogicException : Unable to prepare route [api/user] for serialization. Uses Closure. at /home/vagrant/code/project4/vendor/laravel/framework/src/Illuminate/Routing/Route.php:917 913| */ 914| public function prepareForSerialization() 915| { 916| if ($thi

gazd1977's avatar
gazd1977's avatar tykus6yrs agoLaravel
1
3
Last reply by tykus 6yrs ago
ufodisko's avatar

Error: Request failed with status code 500

I'm following: https://laracasts.com/series/lets-build-a-forum-with-laravel/episodes/43 So at the end of that episode, I realized that when I created User B to reply on a thread created by User A, I get the following error Error: Request failed with status code 500 The reply gets saved into the database though and I can see it when I refresh the page, it just isn't rendering w

ufodisko's avatar
ufodisko's avatar mstrauss6yrs agoLaravel
1
4
Last reply by mstrauss 6yrs ago
Adcade's avatar

Eloquent OneToMany relationship with multiple possible columns

I have the following tables: categories: id, name products: sku, name, category1, category2, category3 Where category 1, 2 and 3 are the IDs of different elements in categories table. I need to define a relationship where a product can have the category id in ANY of the three columns. Right now my models are: class Category extends Model { protected $fillable = [

Adcade's avatar
Adcade's avatar Snapey7yrs agoEloquent
1
2
Last reply by Snapey 7yrs ago
dineshsuthar92's avatar

Unable to stream download a base64 encoded pdf file from mongo db

I am using laravel 5.7 and mongo db for my application. I am storing a pdf file in base64 encoded string in mongodb. When I try to download the file it gives me exception as below: LogicException The content cannot be set on a StreamedResponse instance. In my controller method to download I am using this code: return response()->streamDownload(function () use ($message) {

dineshsuthar92's avatar
dineshsuthar92's avatar dineshsuth...7yrs agoLaravel
0
1
siiamine's avatar

locic exception

please what is the solution for this logicexception: Unable to prepare route [api/user] for serialization. Uses Closure.

siiamine's avatar
siiamine's avatar nathanandr...7yrs agoLaravel
2
2
Last reply by nathanandrews 7yrs ago
rhand's avatar

Show Debug Information in Laravel Command Feedback

I am working on a command to update a Let's Encrypt certificate. It keeps on returning no proper a name found (one of the checks to make sure domain was generated before Let's Encrypt certificate is added. Here are the functions dealing with it namespace Imagewize\SslManager\Jobs; use Illuminate\Bus\Queueable; use Illuminate\Queue\SerializesModels; use Illuminate\Queue\Intera

rhand's avatar
rhand's avatar rhand7yrs agoLaravel
0
1
Balawant's avatar

Laravel app ... problem

Dear Sir (1/1) LogicException Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) Hi sir ...i am getting this error on server for pdf & all images types to download or add ......but ...not getting any issues on local server .....please give me any hint ...Urgent I tried following way .... extension="php_fileinfo.dll&q

Balawant's avatar
Balawant's avatar Balawant7yrs agoLaravel
1
2
Last reply by Balawant 7yrs ago
Balawant's avatar

pdf,all images ...error on cpanel ..server ..

(1/1) LogicException Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) Hi sir ...i am getting this error on server for pdf & all images types to download or add ......but ...not getting any issues on local server .....please give me any hint ...Urgent I tried following way .... extension="php_fileinfo.dll" i

Balawant's avatar
Balawant's avatar kang-onoy6yrs agoGeneral
3
2
Last reply by kang-onoy 6yrs ago
rameezisrar's avatar

FileNotFoundException($path);

I am trying to upload a file but i get this error: vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php /** * Tries to guess the mime type of the given file. * * The file is passed to each registered mime type guesser in reverse order * of their registration (last registered is queried first). Once a guesser * returns a value that is not

rameezisrar's avatar
rameezisrar's avatar m_maj93yrs agoLaravel
6
12
Last reply by m_maj9 3yrs ago
yibrah's avatar

File upload in Laravel application hosted in shared hosting

I host a Laravel application in a shared hosting. I put the project files like this: /public_html - contains the public files of Laravel app /core_app - contains all files except the public folder of the Laravel app During development, everything is fine for me in uploading images. But in shared hosting, it happens an error in uploading images. Here is what the error message sa

yibrah's avatar
yibrah's avatar RobsonZind...6yrs agoLaravel
5
2
Last reply by RobsonZindoga1 6yrs ago
sarathiscookie's avatar

MongoDbSessionHandler error is getting after update laravel version from 5.4 to 5.5

I have a project in laravel 5.4. I am currently using mongodb. I am using "https://github.com/jenssegers/laravel-mongodb" for laravel and mongodb interaction. I have updated laravel version 5.5. When I login to my system. I am getting error. I did laravel version update correctly. I don't know why this error getting. Please help me. LogicException Session name cannot

sarathiscookie's avatar
sarathiscookie's avatar bobbybouwm...8yrs agoLaravel
5
2
Last reply by bobbybouwmann 8yrs ago

Want us to email you occasionally with Laracasts news?

Nine out of ten doctors recommend Laracasts over competing brands. Come inside, see for yourself, and massively level up your development skills in the process.

Learn
BrowseSeriesCreatorSeriesLaravel PathLarabitsPlayground
Discuss
ForumPodcastSupport
Extras
Gift CertificatesApparelFAQiOS AppTerms
Social
X(Twitter)TikTokYoutube

© Laracasts 2026. All rights reserved. Yes, all of them. That means you, Todd.

Proudly hosted with Laravel Forge and DigitalOcean.

Want us to email you occasionally with Laracasts news?

Nine out of ten doctors recommend Laracasts over competing brands. Come inside, see for yourself, and massively level up your development skills in the process.

Learn
BrowseSeriesCreatorSeriesLaravel PathLarabitsPlayground
Discuss
ForumPodcastSupport
Extras
Gift CertificatesApparelFAQiOS AppTerms
Social
X(Twitter)TikTokYoutube

© Laracasts 2026. All rights reserved. Yes, all of them. That means you, Todd.

Proudly hosted with Laravel Forge and DigitalOcean.