I have a weird problem when I try to create an account on my magento website.
If I check "remember me" on create account page, the new account is well created but "cannot save the customer" error appears on the next page and email is not send to the mail address.
When i try to create an account whithout checking "remember me", proccess goes well.
For information, in my logs :
2016-07-19T08:21:11+00:00 DEBUG (7): Exception message: Decoding failed: Syntax error Trace: #0 app/code/core/Mage/Core/Helper/Data.php(659): Zend_Json::decode('', 1) #1 app/code/core/Mage/Persistent/Model/Session.php(133): Mage_Core_Helper_Data->jsonDecode(NULL) #2 app/code/core/Mage/Core/Model/Abstract.php(226): Mage_Persistent_Model_Session->_afterLoad() #3 app/code/core/Mage/Persistent/Model/Session.php(168): Mage_Core_Model_Abstract->load('50', 'customer_id') #4 app/code/core/Mage/Persistent/Model/Observer/Session.php(67): Mage_Persistent_Model_Session->loadByCustomerId('50') #5 app/code/core/Mage/Core/Model/App.php(1358): Mage_Persistent_Model_Observer_Session->synchronizePersistentOnLogin(Object(Varien_Event_Observer))
PHP version : 7
Could anyone help me please ?
Solved! Go to Solution.
I think you are getting this issue because of Php 7.Empty string raise exception with php 7 when you decode it.
Please visit following for more information.
Thank's for your reply.
My research show me that actually beacause of PHP7.
So I installed Inchoo PHP7 extension for magento but I still have the problem.
I don't know what to do.
I had an outdate version of Inchoo PHP 7 extension.
I just updated the extension and it works.
Thank's to all.