Getting base64_decode() expects parameter 1 to be string, array given laravel internal error inside vendor

问题描述 投票:0回答:0

我正在使用 laravel 8.83.27,

前几天突然出现以下错误:

{
    "class": "ErrorException",
    "message": "base64_decode() expects parameter 1 to be string, array given",
    "code": 0,
    "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Encryption/Encrypter.php:163",
    "trace": [
        "/var/www/html/vendor/laravel/framework/src/Illuminate/Encryption/Encrypter.php:163",
"/var/www/html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:110",
"/var/www/html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:84",
"/var/www/html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:67",
        "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167",
        "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103",
        "/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:723",
        "/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:698",
        "/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:662",
        "/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:651",
        "/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:167",
   "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:128",
"/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21",
"/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php:31",
        "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167

我想知道为什么会出现这个错误以及如何解决这个错误。

laravel-8 decode vendor
© www.soinside.com 2019 - 2024. All rights reserved.