Friday 23 July 2010 3:45:19 am
I am getting the following warning message in the debug: unserialize() [<a href='function.unserialize'>function.unserialize</a>]: Error at offset 241 of 730 bytes in /var/www/XXXXX/XXXX/XXX/XXXX/kernel/classes/datatypes/ezimage/ezimagealiashandler.php on line 1035 The code I checked is:
else if ( $childName == 'serialized' )
{
$name = $child->getAttribute( 'name' );
$data = $child->getAttribute( 'data' );
$imageInformation[$name] = unserialize( $data );
} After I changed the code to the following it disappeared......
else if ( $childName == 'serialized' )
{
$name = $child->getAttribute( 'name' );
$data = $child->getAttribute( 'data' );
$imageInformation[$name] = @unserialize( $data );
} Have anybody else noticed the same????
|