Exception

This method is deprecated. Please use the new question editor.

/mnt/data/shnoulle/nginx/www/develop/application/controllers/admin/questions.php(989)

0977      * Load edit/new question screen depending on $action.
0978      *
0979      * @access public
0980      * @param string $sa subaction
0981      * @param int $surveyid
0982      * @param int $gid
0983      * @param int $qid
0984      * @return void
0985      * @deprecated
0986      */
0987     public function index($sa, $surveyid, $gid, $qid = null)
0988     {
0989         throw new \Exception('This method is deprecated. Please use the new question editor.');
0990     }
0991 
0992     /**
0993      * Delete multiple questions.
0994      * Called by ajax from question list.
0995      * Permission check is done by questions::delete()
0996      * @return string HTML
0997      */
0998     public function deleteMultiple()
0999     {
1000         $aQidsAndLang = json_decode(Yii::app()->request->getPost('sItems'));
1001         $aResults     = array();

Stack Trace

#2
+
 /mnt/data/shnoulle/nginx/www/develop/application/core/Survey_Common_Action.php(86): CAction->runWithParamsInternal(questions, ReflectionMethod, array("r" => "admin/questions/sa/copyquestion", "surveyid" => "218495", "gid" => "129", "qid" => "2700", ...))
81             $oMethod = new ReflectionMethod($this, $sDefault);
82         }
83 
84         // We're all good to go, let's execute it
85         // runWithParamsInternal would automatically get the parameters of the method and populate them as required with the params
86         return parent::runWithParamsInternal($this, $oMethod, $params);
87     }
88 
89     /**
90      * Some functions have different parameters, which are just an alias of the
91      * usual parameters we're getting in the url. This function just populates
#6
+
 /mnt/data/shnoulle/nginx/www/develop/application/controllers/AdminController.php(163): CController->run("questions")
158         }
159 
160         $this->runModuleController($action);
161 
162 
163         return parent::run($action);
164     }
165 
166     /**
167      * Starting with LS4, 3rd party developper can extends any of the LimeSurve controllers.
168      */
#10
+
 /mnt/data/shnoulle/nginx/www/develop/index.php(195): CApplication->run()
190 require_once APPPATH . 'core/LSYii_Application' . EXT;
191 
192 $config = require_once(APPPATH . 'config/internal' . EXT);
193 
194 Yii::$enableIncludePath = false;
195 Yii::createApplication('LSYii_Application', $config)->run();
196 
197 /* End of file index.php */
198 /* Location: ./index.php */
2019-11-05 10:23:41 nginx/1.16.1 Yii Framework/1.1.21