CException

EventsController and its behaviors do not have a method or closure named "getDirectoryLink".

/home/httpd/vhosts/egypt-business.com/20231113-164526/yii-1.1.28.23448d/framework/yiilite.php(738)

726     public function __call($name,$parameters)
727     {
728         if($this->_m!==null)
729         {
730             foreach($this->_m as $object)
731             {
732                 if($object->getEnabled() && method_exists($object,$name))
733                     return call_user_func_array(array($object,$name),$parameters);
734             }
735         }
736         if(class_exists('Closure', false) && ($this->canGetProperty($name) || property_exists($this, $name)) && $this->$name instanceof Closure)
737             return call_user_func_array($this->$name, $parameters);
738         throw new CException(Yii::t('yii','{class} and its behaviors do not have a method or closure named "{name}".',
739             array('{class}'=>get_class($this), '{name}'=>$name)));
740     }
741     public function asa($behavior)
742     {
743         return isset($this->_m[$behavior]) ? $this->_m[$behavior] : null;
744     }
745     public function attachBehaviors($behaviors)
746     {
747         foreach($behaviors as $name=>$behavior)
748             $this->attachBehavior($name,$behavior);
749     }
750     public function detachBehaviors()

Stack Trace

#0
+
 /home/httpd/vhosts/egypt-business.com/20231113-164526/protected/modules/event/controllers/ContentController.php(460): CComponent->__call()
455 
456         if ($model->cDeleted == 1) {
457             $redirectUrl = $this->getDirectoryLink(
458                 $model->firstCategory->CatID1->c1Name,
459                 $model->firstCategory->CatID2->c2Name,
460                 null
461                 );
462             // exit($redirectUrl);
463             $this->redirect($redirectUrl);
464         }
465 
#15
+
 /home/httpd/vhosts/egypt-business.com/20231113-164526/maboyii/index.php(96): CApplication->run()
091 defined('YII_DEBUG') or define('YII_DEBUG',true);
092 // specify how many levels of call stack should be shown in each log message
093 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
094 
095 require_once($yii);
096 Yii::createWebApplication($config)->run();
097 
098 //*
099   if ((!empty(Yii::app()->params['matomo']['id']))&&($_SERVER['REQUEST_URI'] != '/statistics/increment')) {
100     set_include_path(get_include_path() . PATH_SEPARATOR . '../protected/vendors/matomo-php-client/');
101     require_once('../protected/vendors/matomo-php-client/MatomoTracker.php');
2024-03-19 05:11:36 nginx/1.18.0 Yii Framework/1.1.28