Notice: unserialize() [function.unserialize]:Error at offset 0 of 18 bytes in C:\xampp\htdocs\redsocial.com\redsocial\app\modelo s\Cuenta.php on line 58
esta mi function
Código PHP:
private function _unData($data = array())
{
//
$data['p_gustos'] = unserialize(base64_decode($data['p_gustos']));
$data['p_tengo'] = unserialize(base64_decode($data['p_tengo']));
$data['p_idiomas'] = unserialize(base64_decode($data['p_idiomas']));
//
$data['p_socials'] = unserialize(base64_decode($data['p_socials']));
$data['p_socials']['f'] = $data['p_socials'][0];
$data['p_socials']['t'] = $data['p_socials'][1];
//
$data['p_configs'] = unserialize(base64_decode($data['p_configs']));
return $data;
}
a:5:{i:0;s:1:`1`;i:1;s:0:``;i:2;s:0:``;i:3;s:1:`1` ;i:4;s:1:`1`;}
no se si esta bien serializado o estoy comentiendo algun error