digikaale.ir.avisapp.dev Open in urlscan Pro
87.236.211.101  Public Scan

URL: https://digikaale.ir.avisapp.dev/
Submission: On August 21 via api from US — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

yii\base\ErrorException: Creating default object from empty value in
/home/avisapp/front.avisapp.dev/frontend/config/main.php:105 Stack trace: #0
/home/avisapp/front.avisapp.dev/frontend/config/main.php(105):
yii\base\ErrorHandler->handleError(2, 'Creating defaul...',
'/home/avisapp/f...', 105, Array) #1 [internal function]:
{closure}(Object(yii\base\ActionEvent)) #2
/home/avisapp/front.avisapp.dev/vendor/yiisoft/yii2/base/Component.php(557):
call_user_func(Object(Closure), Object(yii\base\ActionEvent)) #3
/home/avisapp/front.avisapp.dev/vendor/yiisoft/yii2/base/Module.php(682):
yii\base\Component->trigger('beforeAction', Object(yii\base\ActionEvent)) #4
/home/avisapp/front.avisapp.dev/vendor/yiisoft/yii2/base/Controller.php(145):
yii\base\Module->beforeAction(Object(yii\base\InlineAction)) #5
/home/avisapp/front.avisapp.dev/vendor/yiisoft/yii2/base/Module.php(528):
yii\base\Controller->runAction('', Array) #6
/home/avisapp/front.avisapp.dev/vendor/yiisoft/yii2/web/Application.php(103):
yii\base\Module->runAction('', Array) #7
/home/avisapp/front.avisapp.dev/vendor/yiisoft/yii2/base/Application.php(386):
yii\web\Application->handleRequest(Object(yii\web\Request)) #8
/home/avisapp/front.avisapp.dev/frontend/web/index.php(41):
yii\base\Application->run() #9 {main} Copied!


PHP WARNING – YII\BASE\ERROREXCEPTION


CREATING DEFAULT OBJECT FROM EMPTY VALUE

 * 1. in /home/avisapp/front.avisapp.dev/frontend/config/main.php at line 105
   96979899100101102103104105106107108109110111112113114
   
    
    
           \Yii::$app->params['is_home'] = (\Yii::$app->params['path'] === 'site/index') ? true : false;
    
           // \Yii::$app->params['current_theme'] = (common\models\Util::request('https://lab1.avisapp.dev/index/template_items?template_id=' . \Yii::$app->params['site_setting']->current_template_id));
           \Yii::$app->params['current_theme'] = \Yii::$app->cache->getOrSet('template_items' . $_SERVER['SERVER_NAME'], function () {
               return common\models\Util::request('https://lab1.avisapp.dev/index/template_items?template_id=' . \Yii::$app->params['site_setting']->current_template_id);
           }, 86400, new \yii\caching\TagDependency(['tags' => $_SERVER['SERVER_NAME']]));
           \Yii::$app->params['url'] = 'https://lab1.avisapp.dev/index/get_site_setting?domain_name=' . $_SERVER['SERVER_NAME'];
           \Yii::$app->params['site_setting']->lang2 = \Yii::$app->params['site_setting']->lang;
           if ($_COOKIE['lang']) {
               \Yii::$app->params['site_setting']->lang = $_COOKIE['lang'];
           }
           $lang_path = __DIR__ . '/../../frontend/views/theme' . \Yii::$app->params['current_theme']->path . '/i18n/' . \Yii::$app->params['site_setting']->lang . '.php';
           $lang_path2 = __DIR__ . '/../../frontend/web/i18n/' . \Yii::$app->params['site_setting']->lang . '.php';
    
           if (file_exists($lang_path2))
               \Yii::$app->params['langx'] = require($lang_path2);
           if (file_exists($lang_path)) {
   

 * 2. in /home/avisapp/front.avisapp.dev/frontend/config/main.php at line 105 –
   yii\base\ErrorHandler::handleError(2, 'Creating default object from emp...',
   '/home/avisapp/front.avisapp.dev/...', 105, ...)
   99100101102103104105106107108109110111
   
    
           // \Yii::$app->params['current_theme'] = (common\models\Util::request('https://lab1.avisapp.dev/index/template_items?template_id=' . \Yii::$app->params['site_setting']->current_template_id));
           \Yii::$app->params['current_theme'] = \Yii::$app->cache->getOrSet('template_items' . $_SERVER['SERVER_NAME'], function () {
               return common\models\Util::request('https://lab1.avisapp.dev/index/template_items?template_id=' . \Yii::$app->params['site_setting']->current_template_id);
           }, 86400, new \yii\caching\TagDependency(['tags' => $_SERVER['SERVER_NAME']]));
           \Yii::$app->params['url'] = 'https://lab1.avisapp.dev/index/get_site_setting?domain_name=' . $_SERVER['SERVER_NAME'];
           \Yii::$app->params['site_setting']->lang2 = \Yii::$app->params['site_setting']->lang;
           if ($_COOKIE['lang']) {
               \Yii::$app->params['site_setting']->lang = $_COOKIE['lang'];
           }
           $lang_path = __DIR__ . '/../../frontend/views/theme' . \Yii::$app->params['current_theme']->path . '/i18n/' . \Yii::$app->params['site_setting']->lang . '.php';
           $lang_path2 = __DIR__ . '/../../frontend/web/i18n/' . \Yii::$app->params['site_setting']->lang . '.php';
    
   

 * 3. {closure}(yii\base\ActionEvent)
 * 4. in /home/avisapp/front.avisapp.dev/vendor/yiisoft/yii2/base/Component.php
   at line 557 – call_user_func(Closure, yii\base\ActionEvent)
   551552553554555556557558559560561562563
   
                   $event->sender = $this;
               }
               $event->handled = false;
               $event->name = $name;
               foreach ($this->_events[$name] as $handler) {
                   $event->data = $handler[1];
                   call_user_func($handler[0], $event);
                   // stop further handling if the event is handled
                   if ($event->handled) {
                       return;
                   }
               }
           }
   

 * 5. in /home/avisapp/front.avisapp.dev/vendor/yiisoft/yii2/base/Module.php at
   line 682 – yii\base\Component::trigger('beforeAction', yii\base\ActionEvent)
   676677678679680681682683684685686687688
   
        * @param Action $action the action to be executed.
        * @return bool whether the action should continue to be executed.
        */
       public function beforeAction($action)
       {
           $event = new ActionEvent($action);
           $this->trigger(self::EVENT_BEFORE_ACTION, $event);
           return $event->isValid;
       }
    
       /**
        * This method is invoked right after an action within this module is executed.
        *
   

 * 6. in /home/avisapp/front.avisapp.dev/vendor/yiisoft/yii2/base/Controller.php
   at line 145 – yii\base\Module::beforeAction(yii\base\InlineAction)
   139140141142143144145146147148149150151
   
    
           $modules = [];
           $runAction = true;
    
           // call beforeAction on modules
           foreach ($this->getModules() as $module) {
               if ($module->beforeAction($action)) {
                   array_unshift($modules, $module);
               } else {
                   $runAction = false;
                   break;
               }
           }
   

 * 7. in /home/avisapp/front.avisapp.dev/vendor/yiisoft/yii2/base/Module.php at
   line 528 – yii\base\Controller::runAction('', [])
   522523524525526527528529530531532533534
   
           $parts = $this->createController($route);
           if (is_array($parts)) {
               /* @var $controller Controller */
               list($controller, $actionID) = $parts;
               $oldController = Yii::$app->controller;
               Yii::$app->controller = $controller;
               $result = $controller->runAction($actionID, $params);
               if ($oldController !== null) {
                   Yii::$app->controller = $oldController;
               }
    
               return $result;
           }
   

 * 8. in /home/avisapp/front.avisapp.dev/vendor/yiisoft/yii2/web/Application.php
   at line 103 – yii\base\Module::runAction('', [])
   979899100101102103104105106107108109
   
               $params = $this->catchAll;
               unset($params[0]);
           }
           try {
               Yii::trace("Route requested: '$route'", __METHOD__);
               $this->requestedRoute = $route;
               $result = $this->runAction($route, $params);
               if ($result instanceof Response) {
                   return $result;
               }
    
               $response = $this->getResponse();
               if ($result !== null) {
   

 * 9. in
   /home/avisapp/front.avisapp.dev/vendor/yiisoft/yii2/base/Application.php at
   line 386 – yii\web\Application::handleRequest(yii\web\Request)
   380381382383384385386387388389390391392
   
       {
           try {
               $this->state = self::STATE_BEFORE_REQUEST;
               $this->trigger(self::EVENT_BEFORE_REQUEST);
    
               $this->state = self::STATE_HANDLING_REQUEST;
               $response = $this->handleRequest($this->getRequest());
    
               $this->state = self::STATE_AFTER_REQUEST;
               $this->trigger(self::EVENT_AFTER_REQUEST);
    
               $this->state = self::STATE_SENDING_RESPONSE;
               $response->send();
   

 * 10. in /home/avisapp/front.avisapp.dev/frontend/web/index.php at line 41 –
   yii\base\Application::run()
   35363738394041
   
       require(__DIR__ . '/../../common/config/main.php'),
       require(__DIR__ . '/../../common/config/main-local.php'),
       require(__DIR__ . '/../config/main.php'),
       require(__DIR__ . '/../config/main-local.php')
   );
    
   (new yii\web\Application($config))->run();
   



2024-08-21, 21:10:41



Yii Framework/2.0.13.1