PHP notice

unserialize(): Error at offset 98306 of 98304 bytes

/mnt/HC_Volume_23321257/focusextranet/public_html/framework/caching/CCache.php(84)

72         return md5($this->keyPrefix.$key);
73     }
74 
75     /**
76      * Retrieves a value from cache with a specified key.
77      * @param string $id a key identifying the cached value
78      * @return mixed the value stored in cache, false if the value is not in the cache, expired or the dependency has changed.
79      */
80     public function get($id)
81     {
82         if(($value=$this->getValue($this->generateUniqueKey($id)))!==false)
83         {
84             $data=unserialize($value);
85             if(!is_array($data))
86                 return false;
87             if(!($data[1] instanceof ICacheDependency) || !$data[1]->getHasChanged())
88             {
89                 Yii::trace('Serving "'.$id.'" from cache','system.caching.'.get_class($this));
90                 return $data[0];
91             }
92         }
93         return false;
94     }
95 
96     /**

Stack Trace

#1
+
 /mnt/HC_Volume_23321257/focusextranet/public_html/protected/components/Functions.php(1599): CCache->get("cityList")
1594 
1595 if( ! function_exists( "getCityDetails" ) )
1596 {
1597     function getCityDetails( $cityId )
1598     {
1599         $cityList = Yii::app()->cache->get( "cityList" );
1600 
1601         if( ! empty( $cityList ) && array_key_exists( $cityId, $cityList ) )
1602         {
1603             $city = $cityList[$cityId];
1604         }
#2
+
 /mnt/HC_Volume_23321257/focusextranet/public_html/protected/controllers/Front_ListController.php(1108): getCityDetails("7198")
1103             ->join( "counties co", "co.id = bs.countyId" )
1104             ->where( "bs.businessId = ".$business->id )
1105             ->queryAll();
1106 
1107         $county         = getCountyDetails( $business->countyId );
1108         $city           = getCityDetails( $business->cityId );
1109 
1110         if(!empty($business->lat) && ! empty($business->long)) {
1111             $markerList [0]= floatval($business->lat).", ".floatval($business->long);
1112         }
1113         else {
#3
+
 /mnt/HC_Volume_23321257/focusextranet/public_html/protected/controllers/Front_ListController.php(196): Front_ListController->loadMarkersForMap(BusinessModel)
191         {
192             $this->data["hideTopMap"] = TRUE;
193         }
194 
195         if (DOMAIN_ID == 3) {
196             $this->loadMarkersForMap( $business );
197         }
198         else {
199             $this->loadSubsidiariesOnMap( $business );
200         }
201 
2024-03-19 04:33:42 Apache Yii Framework/1.1.10