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 /www/htdocs/v037272/mbender/craft/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 /www/htdocs/v037272/mbender/craft/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 /www/htdocs/v037272/mbender/craft/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 /www/htdocs/v037272/mbender/craft/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 /www/htdocs/v037272/mbender/craft/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 /www/htdocs/v037272/mbender/craft/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

/www/htdocs/v037272/mbender/craft/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
+
 /www/htdocs/v037272/mbender/craft/app/etc/web/WebApp.php(675): CApplication->handleError(8192, "Return type of CCache::offsetExists($id) should either be compat...", "/www/htdocs/v037272/mbender/craft/app/framework/caching/CCache.p...", 337)
670         if (version_compare(PHP_VERSION, '7', '>=') && $code === 2 && strpos($message, 'should be compatible with') !== false)
671         {
672             return;
673         }
674 
675         parent::handleError($code, $message, $file, $line);
676     }
677 
678     // Private Methods
679     // =========================================================================
680 
#5
+
 /www/htdocs/v037272/mbender/craft/app/etc/cache/FileCache.php(14): YiiBase::autoload("CFileCache")
09  * @license   http://buildwithcraft.com/license Craft License Agreement
10  * @see       http://buildwithcraft.com
11  * @package   craft.app.etc.cache
12  * @since     1.0
13  */
14 class FileCache extends \CFileCache
15 {
16     // Properties
17     // =========================================================================
18 
19     /**
#7
+
 /www/htdocs/v037272/mbender/craft/app/services/CacheService.php(59): YiiBase::autoload("Craft\FileCache")
54                 break;
55             }
56 
57             case CacheMethod::File:
58             {
59                 $this->_cacheComponent = new FileCache();
60                 $this->_cacheComponent->cachePath = craft()->config->get('cachePath', ConfigFile::FileCache);
61                 $this->_cacheComponent->gCProbability = craft()->config->get('gcProbability', ConfigFile::FileCache);
62                 break;
63             }
64 
2025-06-16 06:58:51 Apache / Craft 2.4.2700

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

Fatal error: During inheritance of ArrayAccess: Uncaught in /www/htdocs/v037272/mbender/craft/app/framework/caching/CCache.php on line 49