PHP notice

Undefined index: LEMsid

/home/sondages.pro/htdocs/limesurvey_GIT/testing/masterall/application/helpers/expressions/em_manager_helper.php(4849)

4837             }
4838             //        $LEM->runtimeTimings[] = array(__METHOD__,(microtime(true) - $now));
4839 
4840             $LEM->initialized=true;
4841 
4842             if ($initializeVars)
4843             {
4844                 $LEM->em->StartProcessingGroup(
4845                     isset($_SESSION['LEMsid']) ? $_SESSION['LEMsid'] : NULL,
4846                     '',
4847                     true
4848                 );
4849                 $LEM->setVariableAndTokenMappingsForExpressionManager($_SESSION['LEMsid']);
4850             }
4851 
4852         }
4853 
4854         /**
4855         * Initialize a survey so can use EM to manage navigation
4856         * @param int $surveyid
4857         * @param string $surveyMode
4858         * @param array $aSurveyOptions
4859         * @param bool $forceRefresh
4860         * @param int $debugLevel
4861         */

Stack Trace

#0
+
 /home/sondages.pro/htdocs/limesurvey_GIT/testing/masterall/application/core/Survey_Common_Action.php(261): LimeExpressionManager::StartProcessingPage(false, true)
256         {
257             $aData['oSurvey'] = Survey::model()->findByPk($aData['surveyid']);
258 
259             // Needed to evaluate EM expressions in question summary
260             // See bug #11845
261             LimeExpressionManager::StartProcessingPage(false,true);
262 
263             $this->_titlebar($aData);
264 
265             //// Each view will call the correct bar as a subview.
266             $this->_surveybar($aData);
#1
+
 /home/sondages.pro/htdocs/limesurvey_GIT/testing/masterall/application/controllers/admin/PluginHelper.php(40): Survey_Common_Action->_renderWrappedTemplate(null, array("super/sidebody"), array("surveyid" => "234152", "surveybar" => array("buttons" => array("view" => true)), "title_bar" => array("title" => "Test pivot table (ID:234152)"), "sidemenu" => array("state" => false), ...))
35         $aData['sidemenu']['state'] = false;
36         $aData['sideMenuBehaviour'] = getGlobalSetting('sideMenuBehaviour');
37         $aData['content'] = $content;
38         $aData['activated'] = $surveyinfo['active'];
39         $aData['sideMenuOpen'] = false;  // TODO: Assume this for all plugins?
40         $this->_renderWrappedTemplate(null, array('super/sidebody'), $aData);
41 
42     }
43 
44     /**
45      * Helper function to let a plugin put content
#4
+
 /home/sondages.pro/htdocs/limesurvey_GIT/testing/masterall/application/core/Survey_Common_Action.php(101): CAction->runWithParamsInternal(PluginHelper, ReflectionMethod, array("sa" => "sidebody", "plugin" => "MassAction", "method" => "actionIndex", "surveyId" => "234152"))
096             $oMethod = new ReflectionMethod($this, $sDefault);
097         }
098 
099         // We're all good to go, let's execute it
100         // runWithParamsInternal would automatically get the parameters of the method and populate them as required with the params
101         return parent::runWithParamsInternal($this, $oMethod, $params);
102     }
103 
104     /**
105     * Some functions have different parameters, which are just an alias of the
106     * usual parameters we're getting in the url. This function just populates
2017-03-07 13:43:45 Apache/2.2.22 (Debian) Yii Framework/1.1.17
Application Log
Timestamp Level Category Message
13:43:45.077281 error php
Undefined index: LEMsid
(/home/sondages.pro/htdocs/limesurvey_GIT/testing/masterall/application/helpers/expressions/em_manager_helper.php:4849)
Stack trace:
#0 unknown(0): PluginHelper->sidebody()
#1
/home/sondages.pro/htdocs/limesurvey_GIT/testing/masterall/framework/web/actions/CAction.php(109):
ReflectionMethod->invokeArgs()
#2
/home/sondages.pro/htdocs/limesurvey_GIT/testing/masterall/application/core/Survey_Common_Action.php(101):
PluginHelper->runWithParamsInternal()
#3
/home/sondages.pro/htdocs/limesurvey_GIT/testing/masterall/framework/web/CController.php(308):
PluginHelper->runWithParams()
#4
/home/sondages.pro/htdocs/limesurvey_GIT/testing/masterall/framework/web/CController.php(286):
AdminController->runAction()
#5
/home/sondages.pro/htdocs/limesurvey_GIT/testing/masterall/framework/web/CController.php(265):
AdminController->runActionWithFilters()
#6
/home/sondages.pro/htdocs/limesurvey_GIT/testing/masterall/application/controllers/AdminController.php(177):
AdminController->run()
#7
/home/sondages.pro/htdocs/limesurvey_GIT/testing/masterall/framework/web/CWebApplication.php(282):
AdminController->run()
#8
/home/sondages.pro/htdocs/limesurvey_GIT/testing/masterall/framework/web/CWebApplication.php(141):
LSYii_Application->runController()
#9
/home/sondages.pro/htdocs/limesurvey_GIT/testing/masterall/framework/base/CApplication.php(185):
LSYii_Application->processRequest()
#10
/home/sondages.pro/htdocs/limesurvey_GIT/testing/masterall/index.php(214):
LSYii_Application->run()
REQUEST_URI=/masterall/admin/pluginhelper?sa=sidebody&plugin=MassAction&method=actionIndex&surveyId=234152