In opencart 22.214.171.124 or any 3.x.x.x, If you are getting the following error, this ocmod patch will fix you the error.
PHP Warning: openssl_encrypt(): Using an empty Initialization Vector (iv) is potentially insecure and not recommended
- Login to admin
- Go to Extension > Installer and upload openssl-issue-fix-1.0.ocmod.zip
- Go to Extension > Modification. Click on refresh modification.
- That's all