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 /home/driverig/yii/framework/collections/CMap.php on line 77

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 /home/driverig/yii/framework/collections/CMap.php on line 295

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 /home/driverig/yii/framework/collections/CMap.php on line 306

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 /home/driverig/yii/framework/collections/CMap.php on line 317

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 /home/driverig/yii/framework/collections/CMap.php on line 327

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 /home/driverig/yii/framework/collections/CMap.php on line 87
PHP Error

PHP Error

Return type of CList::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

/home/driverig/yii/framework/collections/CList.php(85)

73      * @param boolean $value whether this list is read-only or not
74      */
75     protected function setReadOnly($value)
76     {
77         $this->_r=$value;
78     }
79 
80     /**
81      * Returns an iterator for traversing the items in the list.
82      * This method is required by the interface IteratorAggregate.
83      * @return Iterator an iterator for traversing the items in the list.
84      */
85     public function getIterator()
86     {
87         return new CListIterator($this->_d);
88     }
89 
90     /**
91      * Returns the number of items in the list.
92      * This method is required by Countable interface.
93      * @return integer number of items in the list.
94      */
95     public function count()
96     {
97         return $this->getCount();

Stack Trace

#9
+
–
 /home/driverig/public_html/index.php(18): YiiBase::createWebApplication("/home/driverig/public_html/protected/config/main.php")
13 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',100);
14 
15 date_default_timezone_set("Asia/Jerusalem");
16 
17 require_once($yii);
18 Yii::createWebApplication($config)->run();
2026-11-13 01:47:54 Apache Yii Framework/1.1.8

Warning: Uncaught Error: Object of class UnwindExit could not be converted to string in /home/driverig/yii/framework/collections/CList.php:35 Stack trace: #0 /home/driverig/yii/framework/YiiBase.php(400): include() #1 /home/driverig/yii/framework/base/CComponent.php(484): YiiBase::autoload('CList') #2 /home/driverig/yii/framework/base/CComponent.php(526): CComponent->getEventHandlers('onflush') #3 /home/driverig/yii/framework/logging/CLogRouter.php(68): CComponent->attachEventHandler('onFlush', Array) #4 /home/driverig/yii/framework/base/CModule.php(372): CLogRouter->init() #5 /home/driverig/yii/framework/base/CModule.php(477): CModule->getComponent('log') #6 /home/driverig/yii/framework/base/CApplication.php(142): CModule->preloadComponents() #7 /home/driverig/yii/framework/YiiBase.php(128): CApplication->__construct(Array) #8 /home/driverig/yii/framework/YiiBase.php(100): YiiBase::createApplication('CWebApplication', '/home/driverig/...') #9 /home/driverig/public_html/index.php(18): YiiBase::createWebApplication('/home/driverig/...') #10 {main} thrown in /home/driverig/yii/framework/collections/CList.php on line 35

Fatal error: During inheritance of IteratorAggregate: Uncaught in /home/driverig/yii/framework/collections/CList.php on line 35