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/seosmoco/public_html/dsqrealestate/apps/common/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 /home/seosmoco/public_html/dsqrealestate/apps/common/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 /home/seosmoco/public_html/dsqrealestate/apps/common/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 /home/seosmoco/public_html/dsqrealestate/apps/common/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 /home/seosmoco/public_html/dsqrealestate/apps/common/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 /home/seosmoco/public_html/dsqrealestate/apps/common/framework/collections/CMap.php on line 91
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/seosmoco/public_html/dsqrealestate/apps/common/framework/collections/CList.php(88)

076      * @param boolean $value whether this list is read-only or not
077      */
078     protected function setReadOnly($value)
079     {
080         $this->_r=$value;
081     }
082 
083     /**
084      * Returns an iterator for traversing the items in the list.
085      * This method is required by the interface IteratorAggregate.
086      * @return Iterator an iterator for traversing the items in the list.
087      */
088     public function getIterator()
089     {
090         return new CListIterator($this->_d);
091     }
092 
093     /**
094      * Returns the number of items in the list.
095      * This method is required by Countable interface.
096      * @return integer number of items in the list.
097      */
098     public function count()
099     {
100         return $this->getCount();

Stack Trace

#9
+
 /home/seosmoco/public_html/dsqrealestate/apps/init.php(151): YiiBase::createWebApplication(array("basePath" => "/home/seosmoco/public_html/dsqrealestate/apps/api", "runtimePath" => "/home/seosmoco/public_html/dsqrealestate/apps/common/runtime", "name" => "Classifieds", "id" => "Classifieds", ...))
146 
147 // create the application instance.
148 if (!MW_IS_CLI) {
149 
150     //    echo Yii::getPathOfAlias(MW_APP_NAME . '.config.main');exit;
151     $app = Yii::createWebApplication($appConfig);
152 } else {
153     $webSpecific = array('defaultController', 'modules', 'controllerNamespace');
154     foreach ($webSpecific as $prop) {
155         if (isset($appConfig[$prop])) {
156             unset($appConfig[$prop]);
#10
+
 /home/seosmoco/public_html/dsqrealestate/api/index.php(18): require_once("/home/seosmoco/public_html/dsqrealestate/apps/init.php")
13  
14 // define the type of application we are creating.
15 define('MW_APP_NAME', 'api');
16 
17 // and start an instance of it.
18 require_once(dirname(__FILE__) . '/../apps/init.php');
2025-11-18 21:32:47 Apache Yii Framework/1.1.14

Warning: Uncaught Error: Object of class UnwindExit could not be converted to string in /home/seosmoco/public_html/dsqrealestate/apps/common/framework/collections/CList.php:38 Stack trace: #0 /home/seosmoco/public_html/dsqrealestate/apps/common/framework/YiiBase.php(403): include() #1 /home/seosmoco/public_html/dsqrealestate/apps/common/framework/base/CComponent.php(474): YiiBase::autoload('CList') #2 /home/seosmoco/public_html/dsqrealestate/apps/common/framework/base/CComponent.php(516): CComponent->getEventHandlers('onflush') #3 /home/seosmoco/public_html/dsqrealestate/apps/common/framework/logging/CLogRouter.php(69): CComponent->attachEventHandler('onFlush', Array) #4 /home/seosmoco/public_html/dsqrealestate/apps/common/framework/base/CModule.php(387): CLogRouter->init() #5 /home/seosmoco/public_html/dsqrealestate/apps/common/framework/base/CModule.php(523): CModule->getComponent('log') #6 /home/seosmoco/public_html/dsqrealestate/apps/common/framework/base/CApplication.php(163): CModule->preloadComponents() #7 /home/seosmoco/public_html/dsqrealestate/apps/common/framework/YiiBase.php(125): CApplication->__construct(Array) #8 /home/seosmoco/public_html/dsqrealestate/apps/common/framework/YiiBase.php(98): YiiBase::createApplication('CWebApplication', Array) #9 /home/seosmoco/public_html/dsqrealestate/apps/init.php(151): YiiBase::createWebApplication(Array) #10 /home/seosmoco/public_html/dsqrealestate/api/index.php(18): require_once('/home/seosmoco/...') #11 {main} thrown in /home/seosmoco/public_html/dsqrealestate/apps/common/framework/collections/CList.php on line 38

Fatal error: During inheritance of IteratorAggregate: Uncaught in /home/seosmoco/public_html/dsqrealestate/apps/common/framework/collections/CList.php on line 38