PHP notice

unserialize(): Unexpected end of serialized data

/var/www/expressestateagency.co.uk/exprestimate-v3/yii/framework/caching/CCache.php(108)

096 
097     /**
098      * Retrieves a value from cache with a specified key.
099      * @param string $id a key identifying the cached value
100      * @return mixed the value stored in cache, false if the value is not in the cache, expired or the dependency has changed.
101      */
102     public function get($id)
103     {
104         $value = $this->getValue($this->generateUniqueKey($id));
105         if($value===false || $this->serializer===false)
106             return $value;
107         if($this->serializer===null)
108             $value=unserialize($value);
109         else
110             $value=call_user_func($this->serializer[1], $value);
111         if(is_array($value) && (!$value[1] instanceof ICacheDependency || !$value[1]->getHasChanged()))
112         {
113             Yii::trace('Serving "'.$id.'" from cache','system.caching.'.get_class($this));
114             return $value[0];
115         }
116         else
117             return false;
118     }
119 
120     /**

Stack Trace

#7
+
 /var/www/expressestateagency.co.uk/exprestimate-v3/index.php(18): CApplication->run()
13 defined('YII_DEBUG') or define('YII_DEBUG', true);
14 // specify how many levels of call stack should be shown in each log message
15 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL', 3);
16 header("Access-Control-Allow-Origin: *"); // by Naveed to allow cross domain ajax requests
17 require_once($yii);
18 Yii::createWebApplication($config)->run();
19 
2024-03-28 23:56:08 Apache/2.4.52 (Ubuntu) Yii Framework/1.1.14