beyondcode / invoker-community

74 stars 2 forks source link

Error when working with encrypted data in models #231

Open qubeek opened 3 years ago

qubeek commented 3 years ago

OS: darwin Invoker Version: 2.6.1 Laravel Version: 8.48.1 Local project: unknown PHP Binary: /usr/local/bin/php Route: /project/index?class=App%5CModels%5CSocialProvider&time=1627972106052&project=1371832

Error:

Illuminate\Contracts\Encryption\DecryptException 

  The MAC is invalid.

  at api.odis.ht-line.ru/vendor/laravel/framework/src/Illuminate/Encryption/Encrypter.php:200
    196▕             throw new DecryptException('The payload is invalid.');
    197▕         }
    198▕ 
    199▕         if (! $this->validMac($payload)) {
  ➜ 200▕             throw new DecryptException('The MAC is invalid.');
    201▕         }
    202▕ 
    203▕         return $payload;
    204▕     }

      +7 vendor frames 
  8   [internal]:0
      Illuminate\Support\Collection::Illuminate\Support\Traits\{closure}()

      +5 vendor frames 
  14  [internal]:0
      Illuminate\Pagination\LengthAwarePaginator::jsonSerialize()