Friso Kluitenberg
Friso Kluitenberg

Reputation: 1179

Laravel Fresh Install - Decrypt Error

I'm running a fresh laravel 5.4 install, the application key successfully set and to my knowledge setup properly.

Howerver, when I enable XDebug I get the following error:

throw new DecryptException('The payload is invalid.');

Laravel Throw Decrypt Exception

$Payload is null, is there any thing i forgot to setup? or can I safely ignore this exception before going into production or how can I fix this? Keep in mind this is a brand new install and php artisan key:generate was run

Upvotes: 1

Views: 283

Answers (1)

FEN YUNG
FEN YUNG

Reputation: 26

This "Decrypter" processes every key/value of the cookies, so you can't actually avoid throwing this DecryptException while debugging. It works for me when I changed the breakpoint config from "everything" to "Notice" only.

Screenshot

Upvotes: 1

Related Questions