Reputation: 1179
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.');
$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
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.
Upvotes: 1