Deprecated: urlencode(): Passing null to parameter #1 ($string) of type string is deprecated in /home/almajaliss/public_html/index.php on line 51

Deprecated: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/almajaliss/public_html/index.php on line 57
PHP error

PHP error

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

/home/almajaliss/public_html/protected/vendor/yii24/framework/collections/CMap.php(81)

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

Stack Trace

#8
+
 /home/almajaliss/public_html/index.php(293): YiiBase::createWebApplication("/home/almajaliss/public_html/protected/config/main.php")
288 defined('YII_DEBUG') or define('YII_DEBUG', true);
289 // specify how many levels of call stack should be shown in each log message
290 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL', 3);
291 
292 require_once($yii);
293 Yii::createWebApplication($config)->run();
294 //echo '<pre dir="ltr">', var_dump(microtime(true) - $start), '</pre>';
2024-12-22 12:51:50 Apache Yii Framework/1.1.24

Warning: Uncaught Error: Object of class UnwindExit could not be converted to string in /home/almajaliss/public_html/protected/vendor/yii24/framework/collections/CMap.php:35 Stack trace: #0 /home/almajaliss/public_html/protected/vendor/yii24/framework/YiiBase.php(437): include() #1 /home/almajaliss/public_html/protected/vendor/yii24/framework/base/CModule.php(453): YiiBase::autoload('CMap') #2 /home/almajaliss/public_html/protected/vendor/yii24/framework/base/CModule.php(508): CModule->setComponent('assetManager', Array, true) #3 /home/almajaliss/public_html/protected/vendor/yii24/framework/base/CComponent.php(152): CModule->setComponents(Array) #4 /home/almajaliss/public_html/protected/vendor/yii24/framework/base/CModule.php(520): CComponent->__set('components', Array) #5 /home/almajaliss/public_html/protected/vendor/yii24/framework/base/CApplication.php(166): CModule->configure(Array) #6 /home/almajaliss/public_html/protected/vendor/yii24/framework/YiiBase.php(132): CApplication->__construct(Array) #7 /home/almajaliss/public_html/protected/vendor/yii24/framework/YiiBase.php(105): YiiBase::createApplication('CWebApplication', '/home/almajalis...') #8 /home/almajaliss/public_html/index.php(293): YiiBase::createWebApplication('/home/almajalis...') #9 {main} thrown in /home/almajaliss/public_html/protected/vendor/yii24/framework/collections/CMap.php on line 35

Fatal error: During inheritance of IteratorAggregate: Uncaught in /home/almajaliss/public_html/protected/vendor/yii24/framework/collections/CMap.php on line 35