You might try
catch( \Illuminate\Encryption\DecryptException ) ...
Not really, I'm assuming it is related to namespace stacking and putting that first slash makes it start from the root namespace path.
Can you post some code or explain what your trying to do?
This error is thrown when the Encrypt class cannot decrypt a string, usually caused by changing the encryption key in your config. If you change your key, all existing encrypted values will no longer be able to be decrypted, so you'd either need to restore your existing key or delete the encrypted data.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community