You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
base64_decode() expects parameter 1 to be string, array given' in /var/www/html/vendor/laravel/framework/src/Illuminate/Encryption/Encrypter.php:135
#16442
Closed
carlosdubus opened this issue
Nov 17, 2016
· 3 comments
vendor/laravel/framework/src/Illuminate/Foundation/Application.php
const VERSION = '5.0.34';
PHP 5.6.24 (cli) (built: Aug 10 2016 20:22:16)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
Description:
Getting this on the site sometimes. Something about the cookie data.
exception 'ErrorException' with message 'base64_decode() expects parameter 1 to be string, array given' in /var/www/html/vendor/laravel/framework/src/Illuminate/Encryption/Encrypter.php:135
Stack trace:
#0 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(2, 'base64_decode()...', '/var/www/html/v...', 135, Array)
#1 /var/www/html/vendor/laravel/framework/src/Illuminate/Encryption/Encrypter.php(135): base64_decode(Array)
#2 /var/www/html/vendor/laravel/framework/src/Illuminate/Encryption/Encrypter.php(92): Illuminate\Encryption\Encrypter->getJsonPayload(Array)
#3 /var/www/html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(91): Illuminate\Encryption\Encrypter->decrypt(Array)
#4 /var/www/html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(75): Illuminate\Cookie\Middleware\EncryptCookies->decryptArray(Array)
#5 /var/www/html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(55): Illuminate\Cookie\Middleware\EncryptCookies->decryptCookie(Array)
#6 /var/www/html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(40): Illuminate\Cookie\Middleware\EncryptCookies->decrypt(Object(Illuminate\Http\Request))
#7 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(125): Illuminate\Cookie\Middleware\EncryptCookies->handle(Object(Illuminate\Http\Request), Object(Closure))
#8 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php(42): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))
#9 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(125): 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 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(101): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#12 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(115): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#13 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(84): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request))
#14 /var/www/html/index.php(49): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))
#15 {main}
Steps To Reproduce:
I can provide cookie data if necessary, not sure how safe is to post it here.
The text was updated successfully, but these errors were encountered: