Deprecated: Return type of CMap::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home2/consorv6/craft-stage/app/framework/collections/CMap.php on line 81

Deprecated: Return type of CMap::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home2/consorv6/craft-stage/app/framework/collections/CMap.php on line 306

Deprecated: Return type of CMap::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home2/consorv6/craft-stage/app/framework/collections/CMap.php on line 317

Deprecated: Return type of CMap::offsetSet($offset, $item) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home2/consorv6/craft-stage/app/framework/collections/CMap.php on line 328

Deprecated: Return type of CMap::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home2/consorv6/craft-stage/app/framework/collections/CMap.php on line 338

Deprecated: Return type of CMap::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home2/consorv6/craft-stage/app/framework/collections/CMap.php on line 91
PHP error

PHP error

Return type of CCache::offsetExists($id) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

/home2/consorv6/craft-stage/app/framework/caching/CCache.php(337)

325     protected function flushValues()
326     {
327         throw new CException(Yii::t('yii','{className} does not support flushValues() functionality.',
328             array('{className}'=>get_class($this))));
329     }
330 
331     /**
332      * Returns whether there is a cache entry with a specified key.
333      * This method is required by the interface ArrayAccess.
334      * @param string $id a key identifying the cached value
335      * @return boolean
336      */
337     public function offsetExists($id)
338     {
339         return $this->get($id)!==false;
340     }
341 
342     /**
343      * Retrieves the value from cache with a specified key.
344      * This method is required by the interface ArrayAccess.
345      * @param string $id a key identifying the cached value
346      * @return mixed the value stored in cache, false if the value is not in the cache or expired.
347      */
348     public function offsetGet($id)
349     {

Stack Trace

#0
+
 /home2/consorv6/craft-stage/app/etc/web/WebApp.php(688): CApplication->handleError(8192, "Return type of CCache::offsetExists($id) should either be compat...", "/home2/consorv6/craft-stage/app/framework/caching/CCache.php", 337)
683         if (version_compare(PHP_VERSION, '7', '>=') && $code === 2 && strpos($message, 'should be compatible with') !== false)
684         {
685             return;
686         }
687 
688         parent::handleError($code, $message, $file, $line);
689     }
690 
691     // Private Methods
692     // =========================================================================
693 
#5
+
 /home2/consorv6/craft-stage/app/etc/cache/FileCache.php(14): YiiBase::autoload("CFileCache")
09  * @license   http://craftcms.com/license Craft License Agreement
10  * @see       http://craftcms.com
11  * @package   craft.app.etc.cache
12  * @since     1.0
13  */
14 class FileCache extends \CFileCache
15 {
16     // Properties
17     // =========================================================================
18 
19     /**
#7
+
 /home2/consorv6/craft-stage/app/services/CacheService.php(64): YiiBase::autoload("Craft\FileCache")
59             }
60 
61             case CacheMethod::File:
62             {
63                 /** @var _cacheComponent FileCache */
64                 $this->_cacheComponent = new FileCache();
65                 $this->_cacheComponent->cachePath = craft()->config->get('cachePath', ConfigFile::FileCache);
66                 $this->_cacheComponent->gCProbability = craft()->config->get('gcProbability', ConfigFile::FileCache);
67                 break;
68             }
69 
2026-07-27 08:25:14 Apache / Craft 2.6.2949

Warning: Uncaught Error: Object of class UnwindExit could not be converted to string in /home2/consorv6/craft-stage/app/framework/caching/CCache.php:49 Stack trace: #0 /home2/consorv6/craft-stage/app/framework/YiiBase.php(407): include() #1 /home2/consorv6/craft-stage/app/framework/caching/CFileCache.php(26): YiiBase::autoload('CCache') #2 /home2/consorv6/craft-stage/app/framework/YiiBase.php(407): include('/home2/consorv6...') #3 /home2/consorv6/craft-stage/app/etc/cache/FileCache.php(14): YiiBase::autoload('CFileCache') #4 /home2/consorv6/craft-stage/app/framework/YiiBase.php(405): include('/home2/consorv6...') #5 /home2/consorv6/craft-stage/app/services/CacheService.php(64): YiiBase::autoload('Craft\\FileCache') #6 /home2/consorv6/craft-stage/app/framework/base/CModule.php(394): Craft\CacheService->init() #7 /home2/consorv6/craft-stage/app/etc/web/WebApp.php(596): CModule->getComponent('cache', true) #8 /home2/consorv6/craft-stage/app/etc/web/WebApp.php(137): Craft\WebApp->getComponent('cache') #9 /home2/consorv6/craft-stage/app/framework/base/CApplication.php(170): Craft\WebApp->init() #10 /home2/consorv6/craft-stage/app/bootstrap.php(189): CApplication->__construct(Array) #11 /home2/consorv6/craft-stage/app/index.php(61): require('/home2/consorv6...') #12 /home2/consorv6/public_html/stage/index.php(19): require_once('/home2/consorv6...') #13 {main} thrown in /home2/consorv6/craft-stage/app/framework/caching/CCache.php on line 49

Fatal error: During inheritance of ArrayAccess: Uncaught in /home2/consorv6/craft-stage/app/framework/caching/CCache.php on line 49