CException

В классе ScheduleAction и его поведениях не найден метод или замыкание с именем "modal".

/home/c/cf38009/new.worldclass.kg/framework/base/CComponent.php(266)

254     public function __call($name,$parameters)
255     {
256         if($this->_m!==null)
257         {
258             foreach($this->_m as $object)
259             {
260                 if($object->getEnabled() && method_exists($object,$name))
261                     return call_user_func_array(array($object,$name),$parameters);
262             }
263         }
264         if(class_exists('Closure', false) && ($this->canGetProperty($name) || property_exists($this, $name)) && $this->$name instanceof Closure)
265             return call_user_func_array($this->$name, $parameters);
266         throw new CException(Yii::t('yii','{class} and its behaviors do not have a method or closure named "{name}".',
267             array('{class}'=>get_class($this), '{name}'=>$name)));
268     }
269 
270     /**
271      * Returns the named behavior object.
272      * The name 'asa' stands for 'as a'.
273      * @param string $behavior the behavior name
274      * @return IBehavior the behavior object, or null if the behavior does not exist
275      */
276     public function asa($behavior)
277     {
278         return isset($this->_m[$behavior]) ? $this->_m[$behavior] : null;

Stack Trace

#0
+
 /home/c/cf38009/new.worldclass.kg/protected/controllers/site/ScheduleAction.php(14): CComponent->__call("modal", array())
09         switch ($this->mode) {
10             case 'page':
11                 $this->page();
12                 break;
13             case 'modal':
14                 $this->modal();
15                 break;
16             case 'filter':
17                 $this->filter();
18                 break;
19             case 'table':
#1
+
 /home/c/cf38009/new.worldclass.kg/protected/controllers/site/ScheduleAction.php(14): ScheduleAction->modal()
09         switch ($this->mode) {
10             case 'page':
11                 $this->page();
12                 break;
13             case 'modal':
14                 $this->modal();
15                 break;
16             case 'filter':
17                 $this->filter();
18                 break;
19             case 'table':
#5
+
 /home/c/cf38009/new.worldclass.kg/protected/controllers/SiteController.php(204): CFilterChain->run()
199             array('Межрегиональный гостевой визит', array('site/guestVisit')),
200             array('Партнеры и привилегии для членов клуба', array('site/partners')),
201         ), 'socials' => true);
202 
203 
204         $filterChain->run();
205     }
206 
207     protected function beforeAction($action)
208     {
209         $this->profileEnabled = SiteVar::v("siteProfileEnabled");
2024-03-28 15:38:45 Apache/2.4.29 Yii Framework/1.1.17