CException

CommunityController and its behaviors do not have a method or closure named "getResponse".

/var/www/new_edujump_website/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
+
 /var/www/new_edujump_website/public/protected/controllers/site/CommunityController.php(98): CComponent->__call("getResponse", array())
093         'result' => $result,
094         'resultArr' => $resultArr,
095         'notice_catid' => $notice_catid
096       ));
097     } else {
098       $this->getResponse()->setStatusCode(404);
099       return;
100     }
101   }
102 
103 
#8
+
 /var/www/new_edujump_website/public/protected/components/WebApplicationEndBehavior.php(25): CApplication->run()
20     // Attach the changeModulePaths event handler
21     // and raise it.
22     $this->onModuleCreate = array($this, 'changeModulePaths');
23     $this->onModuleCreate(new CEvent($this->owner));
24 
25     $this->owner->run(); // Run application.
26   }
27 
28   // This event should be raised when CWebApplication
29   // or CWebModule instances are being initialized.
30   public function onModuleCreate($event)
#10
+
 /var/www/new_edujump_website/public/index.php(38): CComponent->__call("runEnd", array("site"))
33 define('PUBLIC_PATH', realpath(BASE_PATH . '/public'));
34 
35 error_reporting(0);
36 
37 require_once($yii);
38 Yii::createWebApplication($config)->runEnd('site');
2024-03-29 11:23:24 Apache/2.4.18 (Ubuntu) Yii Framework/1.1.22