i enable "Track failed attempts" and it generates this error when i enter wrong password:
( ! ) Notice: unserialize(): Error at offset 172 of 1158 bytes in D:\wamp64\www\vn1erp\phpfn14.php on line 8570
My Profile field is Nvarchar (4000), i changed to Nvarchar(Max) also but it doenst solve the problem.
When i delete the field value or make it Blank it works. But when i re-enter wrong password again it re-generate same error.
How can i solve this problem?
8568 // Load profile from string
8569 function LoadProfile($Profile) {
8570 $ar = unserialize(strval($Profile));
8571 if (is_array($ar))
8572 $this->Profile = array_merge($this->Profile, $ar);
8573 }