ReflectionException

Method saved::index() does not exist

/mnt/data/shnoulle/nginx/www/mastervanilla/application/core/Survey_Common_Action.php(78)

66         }
67         // Check if the method is public and of the action class, not its parents
68         // ReflectionClass gets us the methods of the class and parent class
69         // If the above method existence check passed, it might not be neceessary that it is of the action class
70         $oMethod  = new ReflectionMethod($this, $sSubAction);
71 
72         // Get the action classes from the admin controller as the urls necessarily do not equal the class names. Eg. survey -> surveyaction
73         $aActions = Yii::app()->getController()->getActionClasses();
74 
75         if (empty($aActions[$this->getId()]) || strtolower($oMethod->getDeclaringClass()->name) != strtolower($aActions[$this->getId()]) || !$oMethod->isPublic()) {
76             // Either action doesn't exist in our whitelist, or the method class doesn't equal the action class or the method isn't public
77             // So let us get the last possible default method, ie. index
78             $oMethod = new ReflectionMethod($this, $sDefault);
79         }
80 
81         // We're all good to go, let's execute it
82         // runWithParamsInternal would automatically get the parameters of the method and populate them as required with the params
83         return parent::runWithParamsInternal($this, $oMethod, $params);
84     }
85 
86     /**
87      * Some functions have different parameters, which are just an alias of the
88      * usual parameters we're getting in the url. This function just populates
89      * those variables so that we don't end up in an error.
90      *

Stack Trace

#0
+
 /mnt/data/shnoulle/nginx/www/mastervanilla/application/core/Survey_Common_Action.php(78): ReflectionMethod->__construct(saved, "index")
73         $aActions = Yii::app()->getController()->getActionClasses();
74 
75         if (empty($aActions[$this->getId()]) || strtolower($oMethod->getDeclaringClass()->name) != strtolower($aActions[$this->getId()]) || !$oMethod->isPublic()) {
76             // Either action doesn't exist in our whitelist, or the method class doesn't equal the action class or the method isn't public
77             // So let us get the last possible default method, ie. index
78             $oMethod = new ReflectionMethod($this, $sDefault);
79         }
80 
81         // We're all good to go, let's execute it
82         // runWithParamsInternal would automatically get the parameters of the method and populate them as required with the params
83         return parent::runWithParamsInternal($this, $oMethod, $params);
#4
+
 /mnt/data/shnoulle/nginx/www/mastervanilla/application/controllers/AdminController.php(158): CController->run("saved")
153                     $this->redirect(array('/admin/authentication/sa/login'));
154                 }
155             }
156         }
157 
158         return parent::run($action);
159     }
160 
161     /**
162      * Routes all the actions to their respective places
163      *
#8
+
 /mnt/data/shnoulle/nginx/www/mastervanilla/index.php(194): CApplication->run()
189 require_once APPPATH . 'core/LSYii_Application' . EXT;
190 
191 $config = require_once(APPPATH . 'config/internal' . EXT);
192 
193 Yii::$enableIncludePath = false;
194 Yii::createApplication('LSYii_Application', $config)->run();
195 
196 /* End of file index.php */
197 /* Location: ./index.php */
2019-10-01 16:59:58 nginx/1.16.1 Yii Framework/1.1.21