Hello, I recently updated my server to PHP7 to update Invoice Ninja to V4.01 and I’m now getting the “Whoops something went wrong” error.
I just checked my error log and found the following:
2017-12-22 06:01:16] production.ERROR: ErrorException  : /home/charles/public_html/billing/vendor/laravel/framework/src/Illuminate/Encryption/McryptEncrypter.php [Line 46] => Function mcrypt_get_iv_size() is deprecated
Any assistance is greatly appreciated.
I also tried running /billing/public/update and I’m still getting the same errors.
Thanks for the prompt reply. When I try running the command mentioned I get the following error:
Function mcrypt_get_iv_size() is deprecated
Ah nevermind - Just solved the problem. I had to use PHP 7.0 rather than 7.1
Actually, I’m now getting the following error in the log: The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths.
This error is appearing when I try running the command
The MAC is invalid.
Do you have the .env file from before the upgrade, it’d help to check you’re using the same values for the app key and cipher.