Deprecated: 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 in /home/old/web/titsads.loveitgroup.com.ua/public_html/framework/collections/CList.php on line 88

Deprecated: Return type of CList::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/old/web/titsads.loveitgroup.com.ua/public_html/framework/collections/CList.php on line 301

Deprecated: Return type of CList::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/old/web/titsads.loveitgroup.com.ua/public_html/framework/collections/CList.php on line 313

Deprecated: Return type of CList::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/old/web/titsads.loveitgroup.com.ua/public_html/framework/collections/CList.php on line 324

Deprecated: Return type of CList::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/old/web/titsads.loveitgroup.com.ua/public_html/framework/collections/CList.php on line 340

Deprecated: Return type of CList::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/old/web/titsads.loveitgroup.com.ua/public_html/framework/collections/CList.php on line 98

Deprecated: Return type of CDummyCache::offsetExists($id) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/old/web/titsads.loveitgroup.com.ua/public_html/framework/caching/CDummyCache.php on line 126

Deprecated: Return type of CDummyCache::offsetGet($id) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/old/web/titsads.loveitgroup.com.ua/public_html/framework/caching/CDummyCache.php on line 137

Deprecated: Return type of CDummyCache::offsetSet($id, $value) 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/old/web/titsads.loveitgroup.com.ua/public_html/framework/caching/CDummyCache.php on line 150

Deprecated: Return type of CDummyCache::offsetUnset($id) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/old/web/titsads.loveitgroup.com.ua/public_html/framework/caching/CDummyCache.php on line 160
PHP error

PHP error

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

/home/old/web/titsads.loveitgroup.com.ua/public_html/framework/base/CModel.php(571)

559         }
560 
561         foreach($unsafe as $name)
562             unset($attributes[$name]);
563         return array_keys($attributes);
564     }
565 
566     /**
567      * Returns an iterator for traversing the attributes in the model.
568      * This method is required by the interface IteratorAggregate.
569      * @return CMapIterator an iterator for traversing the items in the list.
570      */
571     public function getIterator()
572     {
573         $attributes=$this->getAttributes();
574         return new CMapIterator($attributes);
575     }
576 
577     /**
578      * Returns whether there is an element at the specified offset.
579      * This method is required by the interface ArrayAccess.
580      * @param mixed $offset the offset to check on
581      * @return boolean
582      */
583     public function offsetExists($offset)

Stack Trace

#3
+
 /home/old/web/titsads.loveitgroup.com.ua/public_html/protected/components/PortalEngine/PEModel.php(9): YiiBase::autoload("CActiveRecord")
04  *
05  * @author Rakovich Vladimir <rak.kture@gmail.com>
06  * @package application.components.PortalEngine
07  * @version  0.1
08  */
09 class PEModel extends CActiveRecord
10 {
11 
12     const STATUS_ADDED = 1;
13     const STATUS_PUBLISHED = 2;
14     const STATUS_HIDDEN = 3;
#5
+
 /home/old/web/titsads.loveitgroup.com.ua/public_html/protected/modules/core/models/ModuleList.php(22): YiiBase::autoload("PEModel")
17  * @property string $module_version_installed
18  * @property integer $module_installed
19  * @property string $module_config
20  * @property string $update_datetime
21  */
22 class ModuleList extends PEModel
23 {
24 
25     const INSTALLED_TRUE = 1;
26     const INSTALLED_FALSE = 0;
27 
#7
+
 /home/old/web/titsads.loveitgroup.com.ua/public_html/protected/components/PortalEngine/PECore.php(47): YiiBase::autoload("ModuleList")
42      */
43     protected function loadModules()
44     {
45         $coreModules = array();
46         $installedModules = array();
47         $modulesFromDb = ModuleList::model()->findAll();
48         foreach ($modulesFromDb as $module) {
49             if ($module->module_installed == 1) {
50                 $installedModules[] = $module->module_id;
51             }
52         }
2024-03-28 22:24:36 Apache/2.4.58 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/3.0.2 Yii Framework/1.1.14

Warning: Uncaught Error: Object of class UnwindExit could not be converted to string in /home/old/web/titsads.loveitgroup.com.ua/public_html/framework/base/CModel.php:29 Stack trace: #0 /home/old/web/titsads.loveitgroup.com.ua/public_html/framework/YiiBase.php(403): include() #1 /home/old/web/titsads.loveitgroup.com.ua/public_html/framework/db/ar/CActiveRecord.php(40): YiiBase::autoload('CModel') #2 /home/old/web/titsads.loveitgroup.com.ua/public_html/framework/YiiBase.php(403): include('/home/old/web/t...') #3 /home/old/web/titsads.loveitgroup.com.ua/public_html/protected/components/PortalEngine/PEModel.php(9): YiiBase::autoload('CActiveRecord') #4 /home/old/web/titsads.loveitgroup.com.ua/public_html/framework/YiiBase.php(427): include('/home/old/web/t...') #5 /home/old/web/titsads.loveitgroup.com.ua/public_html/protected/modules/core/models/ModuleList.php(22): YiiBase::autoload('PEModel') #6 /home/old/web/titsads.loveitgroup.com.ua/public_html/framework/YiiBase.php(427): include('/home/old/web/t...') #7 /home/old/web/titsads.loveitgroup.com.ua/public_html/protected/components/PortalEngine/PECore.php(47): YiiBase::autoload('ModuleList') #8 /home/old/web/titsads.loveitgroup.com.ua/public_html/protected/components/PortalEngine/PECore.php(25): PECore->loadModules() #9 /home/old/web/titsads.loveitgroup.com.ua/public_html/protected/components/PortalEngine/PEWebCore.php(22): PECore->init() #10 /home/old/web/titsads.loveitgroup.com.ua/public_html/framework/base/CModule.php(387): PEWebCore->init() #11 /home/old/web/titsads.loveitgroup.com.ua/public_html/framework/base/CModule.php(523): CModule->getComponent('PortalEngineCor...') #12 /home/old/web/titsads.loveitgroup.com.ua/public_html/framework/base/CApplication.php(163): CModule->preloadComponents() #13 /home/old/web/titsads.loveitgroup.com.ua/public_html/framework/YiiBase.php(125): CApplication->__construct(Array) #14 /home/old/web/titsads.loveitgroup.com.ua/public_html/framework/YiiBase.php(98): YiiBase::createApplication('CWebApplication', '/home/old/web/t...') #15 /home/old/web/titsads.loveitgroup.com.ua/public_html/index.php(17): YiiBase::createWebApplication('/home/old/web/t...') #16 {main} thrown in /home/old/web/titsads.loveitgroup.com.ua/public_html/framework/base/CModel.php on line 29

Fatal error: During inheritance of IteratorAggregate: Uncaught in /home/old/web/titsads.loveitgroup.com.ua/public_html/framework/base/CModel.php on line 29