Page 1 of 1
Opencart Encryption Error on line 6
Posted: Sat Jul 30, 2016 10:35 am
by Videoadept
While a transaction is completed or cancelled a message error appears " Warning: hash() expects parameter 2 to be string, object given in /doozycart.com/cart/system/library/encryption.php on line 6 ".
Mcrypt installation was checked during installation and is ok. The payment system used is CCAvenue. he error message is showing when the payment gateway is redirecting to our site after payment confirmation or cancellation.
Re: Opencart Encryption Error on line 6
Posted: Sat Jul 30, 2016 10:52 am
by straightlight
Videoadept wrote:While a transaction is completed or cancelled a message error appears " Warning: hash() expects parameter 2 to be string, object given in /doozycart.com/cart/system/library/encryption.php on line 6 ".
Mcrypt installation was checked during installation and is ok. The payment system used is CCAvenue. he error message is showing when the payment gateway is redirecting to our site after payment confirmation or cancellation.
The error message above does not state that the hash function is not installed nor not initiated, it is simply indicating that the 2nd parameter entered by the developer who created the CCAvenue payment module extension for Opencart has been entered by using an object variable while the hash function expects to receive a string variable in parameter.
I would suggest to contact the developer of that extension to get this issue resolved.
Re: Opencart Encryption Error on line 6
Posted: Fri Feb 10, 2017 4:12 am
by muhammed
any other way for solution of this
me to have the same problem
(Warning: hash() expects parameter 2 to be string, object given in /home/ameeqzqt/public_html/ts/rr/system/library/encryption.php)
please help me
