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 /usr/www/users/demsaxrpyf/php/frameworks/yii/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 /usr/www/users/demsaxrpyf/php/frameworks/yii/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 /usr/www/users/demsaxrpyf/php/frameworks/yii/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 /usr/www/users/demsaxrpyf/php/frameworks/yii/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 /usr/www/users/demsaxrpyf/php/frameworks/yii/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 /usr/www/users/demsaxrpyf/php/frameworks/yii/collections/CMap.php on line 91
/usr/www/users/demsaxrpyf/php/frameworks/yii/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();
| #0 |
+
–
/usr/www/users/demsaxrpyf/php/frameworks/yii/YiiBase.php(397): include("/usr/www/users/demsaxrpyf/php/frameworks/yii/collections/CList.p...") 392 { 393 // use include so that the error PHP file may appear 394 if(isset(self::$classMap[$className])) 395 include(self::$classMap[$className]); 396 elseif(isset(self::$_coreClasses[$className])) 397 include(YII_PATH.self::$_coreClasses[$className]); 398 else 399 { 400 // include class file relying on include_path 401 if(strpos($className,'\\')===false) // class without namespace 402 { |
| #1 |
+
–
/usr/www/users/demsaxrpyf/php/frameworks/yii/base/CComponent.php(471): YiiBase::autoload("CList") 466 { 467 if($this->hasEvent($name)) 468 { 469 $name=strtolower($name); 470 if(!isset($this->_e[$name])) 471 $this->_e[$name]=new CList; 472 return $this->_e[$name]; 473 } 474 else 475 throw new CException(Yii::t('yii','Event "{class}.{event}" is not defined.', 476 array('{class}'=>get_class($this), '{event}'=>$name))); |
| #2 |
+
–
/usr/www/users/demsaxrpyf/php/frameworks/yii/base/CComponent.php(513): CComponent->getEventHandlers("onflush") 508 * @throws CException if the event is not defined 509 * @see detachEventHandler 510 */ 511 public function attachEventHandler($name,$handler) 512 { 513 $this->getEventHandlers($name)->add($handler); 514 } 515 516 /** 517 * Detaches an existing event handler. 518 * This method is the opposite of {@link attachEventHandler}. |
| #3 |
+
–
/usr/www/users/demsaxrpyf/php/frameworks/yii/logging/CLogRouter.php(69): CComponent->attachEventHandler("onFlush", array(CLogRouter, "collectLogs")) 64 { 65 $route=Yii::createComponent($route); 66 $route->init(); 67 $this->_routes[$name]=$route; 68 } 69 Yii::getLogger()->attachEventHandler('onFlush',array($this,'collectLogs')); 70 Yii::app()->attachEventHandler('onEndRequest',array($this,'processLogs')); 71 } 72 73 /** 74 * @return array the currently initialized routes |
| #4 |
+
–
/usr/www/users/demsaxrpyf/php/frameworks/yii/base/CModule.php(387): CLogRouter->init() 382 if(!isset($config['enabled']) || $config['enabled']) 383 { 384 Yii::trace("Loading \"$id\" application component",'system.CModule'); 385 unset($config['enabled']); 386 $component=Yii::createComponent($config); 387 $component->init(); 388 return $this->_components[$id]=$component; 389 } 390 } 391 } 392 |
| #5 |
+
–
/usr/www/users/demsaxrpyf/php/frameworks/yii/base/CModule.php(523): CModule->getComponent("log") 518 * Loads static application components. 519 */ 520 protected function preloadComponents() 521 { 522 foreach($this->preload as $id) 523 $this->getComponent($id); 524 } 525 526 /** 527 * Preinitializes the module. 528 * This method is called at the beginning of the module constructor. |
| #6 |
+
–
/usr/www/users/demsaxrpyf/php/frameworks/yii/base/CApplication.php(152): CModule->preloadComponents() 147 $this->initSystemHandlers(); 148 $this->registerCoreComponents(); 149 150 $this->configure($config); 151 $this->attachBehaviors($this->behaviors); 152 $this->preloadComponents(); 153 154 $this->init(); 155 } 156 157 |
| #7 |
+
–
/usr/www/users/demsaxrpyf/php/frameworks/yii/YiiBase.php(125): CApplication->__construct(array("components" => array("db" => array("connectionString" => "mysql:host=dedi140.cpt2.host-h.net;dbname=demsaxrpyf_dem", "emulatePrepare" => true, "username" => "demsaxrpyf_3", "password" => "H5HmE5e8gG8", ...), "errorHandler" => array("errorAction" => "/mainsite/page/error/"), "log" => array("class" => "CLogRouter", "routes" => array(array("class" => "CFileLogRoute", "levels" => "info, error, warning"))), "shortcode" => array("class" => "application.extensions.yii-shortcode.ShortCode"), ...), "name" => "DemSays", "preload" => array("log"), "import" => array("application.models.*", "application.components.*", "application.components.helpers.*", "application.models.system_setting.*", ...), ...)) 120 * to the constructor of the application class. 121 * @return mixed the application instance 122 */ 123 public static function createApplication($class,$config=null) 124 { 125 return new $class($config); 126 } 127 128 /** 129 * Returns the application singleton or null if the singleton has not been created yet. 130 * @return CApplication the application singleton, null if the singleton has not been created yet. |
| #8 |
+
–
/usr/www/users/demsaxrpyf/php/frameworks/yii/YiiBase.php(98): YiiBase::createApplication("CWebApplication", "/usr/www/users/demsaxrpyf/protected/config/mainsite.php") 093 * If not, the directory will be defaulted to 'protected'. 094 * @return CWebApplication 095 */ 096 public static function createWebApplication($config=null) 097 { 098 return self::createApplication('CWebApplication',$config); 099 } 100 101 /** 102 * Creates a console application instance. 103 * @param mixed $config application configuration. |
| #9 |
+
–
/usr/www/users/demsaxrpyf/index.php(17): YiiBase::createWebApplication("/usr/www/users/demsaxrpyf/protected/config/mainsite.php") 12 defined('YII_DEBUG') or define('YII_DEBUG',true); 13 // specify how many levels of call stack should be shown in each log message 14 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3); 15 16 require_once($yii); 17 Yii::createWebApplication($config)->run('mainsite'); |