Re: Server migration with exception
Reply #2 –
hmm...
Interesting one.
The safe_unserialize is a "custom" (actually one coming from the internet) version of the php equivalent unserialize, whose only difference is not wake up serialized classes (avoiding possible attacks).
Try one thing, open /sources/ext/serialize.php, search for:
throw new \Exception('safe_unserialize: unknown/malformed type: '.$type);
and replace it with:
throw new \Exception('safe_unserialize: unknown/malformed type: '.$type . '<br>String: <pre>' . Util::htmlspecialchars($str) . '</pre>');
then, if the error doesn't contain anything sensible, feel free to post it here, otherwise send me a PM.