Unseralized Function

Hi There,
I’m just learning PHP and I’m getting the following PHP error/warning on my site and I know very little about PHP. And I was wondering what it would take to fix it. Since it is only a warning nothing seems to have broken but I don’t know that it won’t cause problems down the road. Any insight or help with this is greatly appreciated.

08-Nov-2012 13:16:20] PHP Warning: unserialize() [function.unserialize]: Function spl_autoload_call() hasn’t defined the class it was called for

Post the PHP code where the unserialize function is used (as well as the data it is being used for)

It is being used in …
PHP Warning: unserialize() [function.unserialize]: Function spl_autoload_call()Function spl_autoload_call() hasn’t defined the class it was called for in /home/flc/libraries/joomla/cache/controller/callback.php on line 118

Here’s the callback.php code snipet:
if ($data !== false)
{

		$cached = unserialize(trim($data));
		$coptions['mergehead'] = isset($woptions['mergehead']) ? $woptions['mergehead'] : 0;
		$output = ($wrkarounds == false) ? $cached['output'] : JCache::getWorkarounds($cached['output'], $coptions);
		$result = $cached['result'];
		if ($locktest->locked == true)
		{
			$this->cache->unlock($id);
		}

	}
	else
	{

		if (!is_array($args))
		{
			$Args = !empty($args) ? array(&$args) : array();
		}
		else
		{
			$Args = &$args;
		}

		if ($locktest->locked == false)
		{
			$locktest = $this->cache->lock($id);
		}

		if (isset($woptions['modulemode']))
		{
			$document = JFactory::getDocument();
			$coptions['modulemode'] = $woptions['modulemode'];
			$coptions['headerbefore'] = $document->getHeadData();
		}
		else
		{
			$coptions['modulemode'] = 0;
		}
Sponsor our Newsletter | Privacy Policy | Terms of Service