/media/shnoulle/data/webdev/master/vendor/twig/twig/src/Sandbox/SecurityPolicy.php(121)
109 public function checkPropertyAllowed($obj, $property): void 110 { 111 $allowed = false; 112 foreach ($this->allowedProperties as $class => $properties) { 113 if ($obj instanceof $class && \in_array($property, \is_array($properties) ? $properties : [$properties])) { 114 $allowed = true; 115 break; 116 } 117 } 118 119 if (!$allowed) { 120 $class = \get_class($obj); 121 throw new SecurityNotAllowedPropertyError(\sprintf('Calling "%s" property on a "%s" object is not allowed.', $property, $class), $class, $property); 122 } 123 } 124 }
#0 |
+
–
/media/shnoulle/data/webdev/master/vendor/twig/twig/src/Extension/SandboxExtension.php(110): Twig\Sandbox\SecurityPolicy->checkPropertyAllowed() 105 106 public function checkPropertyAllowed($obj, $property, int $lineno = -1, ?Source $source = null): void 107 { 108 if ($this->isSandboxed($source)) { 109 try { 110 $this->policy->checkPropertyAllowed($obj, $property); 111 } catch (SecurityNotAllowedPropertyError $e) { 112 $e->setSourceContext($source); 113 $e->setTemplateLine($lineno); 114 115 throw $e; |
#1 |
+
–
/media/shnoulle/data/webdev/master/vendor/twig/twig/src/Extension/CoreExtension.php(1576): Twig\Extension\SandboxExtension->checkPropertyAllowed() 1571 if (/* Template::METHOD_CALL */ 'method' !== $type) { 1572 $arrayItem = \is_bool($item) || \is_float($item) ? (int) $item : $item; 1573 1574 if ($sandboxed && $object instanceof \ArrayAccess && !\in_array(get_class($object), self::ARRAY_LIKE_CLASSES, true)) { 1575 try { 1576 $env->getExtension(SandboxExtension::class)->checkPropertyAllowed($object, $arrayItem, $lineno, $source); 1577 } catch (SecurityNotAllowedPropertyError $propertyNotAllowedError) { 1578 goto methodCheck; 1579 } 1580 } 1581 |
#2 |
+
–
/media/shnoulle/data/webdev/master/tmp/runtime/twig_cache/aa/aa11a0758884fd6f3c0b22d9314a7caa.php(285): Twig\Extension\CoreExtension::getAttribute() 280 yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "attr", [], "any", false, false, true, 156), "surveylistrowdivbdivulli", [], "any", false, false, true, 156), 156, $this->source); 281 yield "> 282 <a 283 href=\""; 284 // line 158 285 yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $context["oSurvey"], "sSurveyUrl", [], "any", false, false, true, 158), 158, $this->source); 286 yield "\" 287 title=\""; 288 // line 159 289 yield gT("Start survey"); 290 yield "\" |
#3 |
+
–
/media/shnoulle/data/webdev/master/vendor/twig/twig/src/Template.php(430): __TwigTemplate_1f46ea44ded24ae89312651216062761->block_content() 425 } 426 427 $level = ob_get_level(); 428 ob_start(); 429 430 foreach ($template->$block($context, $blocks) as $data) { 431 if (ob_get_length()) { 432 $data = ob_get_clean().$data; 433 ob_start(); 434 } 435 |
#4 |
+
–
/media/shnoulle/data/webdev/master/tmp/runtime/twig_cache/aa/aa11a0758884fd6f3c0b22d9314a7caa.php(144): Twig\Template->yieldBlock() 139 yield " 140 141 "; 142 // line 114 143 yield " "; 144 yield from $this->unwrap()->yieldBlock('content', $context, $blocks); 145 // line 205 146 yield " 147 148 "; 149 // line 208 |
#5 |
+
–
/media/shnoulle/data/webdev/master/vendor/twig/twig/src/Template.php(430): __TwigTemplate_1f46ea44ded24ae89312651216062761->block_body() 425 } 426 427 $level = ob_get_level(); 428 ob_start(); 429 430 foreach ($template->$block($context, $blocks) as $data) { 431 if (ob_get_length()) { 432 $data = ob_get_clean().$data; 433 ob_start(); 434 } 435 |
#6 |
+
–
/media/shnoulle/data/webdev/master/tmp/runtime/twig_cache/aa/aa11a0758884fd6f3c0b22d9314a7caa.php(108): Twig\Template->yieldBlock() 103 // line 105 104 yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "id", [], "any", false, false, true, 105), "dynamicreload", [], "any", false, false, true, 105), 105, $this->source); 105 yield "\"> 106 "; 107 // line 106 108 yield from $this->unwrap()->yieldBlock('body', $context, $blocks); 109 // line 211 110 yield " </div> 111 </article> 112 "; 113 // line 213 |
#7 |
+
–
/media/shnoulle/data/webdev/master/vendor/twig/twig/src/Template.php(360): __TwigTemplate_1f46ea44ded24ae89312651216062761->doDisplay() 355 } 356 357 $level = ob_get_level(); 358 ob_start(); 359 360 foreach ($this->doDisplay($context, $blocks) as $data) { 361 if (ob_get_length()) { 362 $data = ob_get_clean().$data; 363 ob_start(); 364 } 365 |
#8 |
+
–
/media/shnoulle/data/webdev/master/vendor/twig/twig/src/Template.php(335): Twig\Template->yield() 330 } 331 332 public function render(array $context): string 333 { 334 $content = ''; 335 foreach ($this->yield($context) as $data) { 336 $content .= $data; 337 } 338 339 return $content; 340 } |
#9 |
+
–
/media/shnoulle/data/webdev/master/vendor/twig/twig/src/TemplateWrapper.php(38): Twig\Template->render() 33 $this->template = $template; 34 } 35 36 public function render(array $context = []): string 37 { 38 return $this->template->render($context); 39 } 40 41 public function display(array $context = []) 42 { 43 // using func_get_args() allows to not expose the blocks argument |
#10 |
+
–
/media/shnoulle/data/webdev/master/application/core/LSETwigViewRenderer.php(519): Twig\TemplateWrapper->render() 514 list($sString, $aData) = $this->getPluginsData($sString, $aData); 515 } 516 517 // Twig rendering 518 $oTwigTemplate = $twig->createTemplate($sString); 519 $sHtml = $oTwigTemplate->render($aData, false); 520 521 return $sHtml; 522 } 523 524 /** |
#11 |
+
–
/media/shnoulle/data/webdev/master/application/core/LSETwigViewRenderer.php(72): LSETwigViewRenderer->convertTwigToHtml() 67 { 68 $oTemplate = Template::getLastInstance(); 69 $oLayoutTemplate = $this->getTemplateForView($sLayout, $oTemplate); 70 if ($oLayoutTemplate) { 71 $line = file_get_contents($oLayoutTemplate->viewPath . $sLayout); 72 $sHtml = $this->convertTwigToHtml($line, $aData, $oTemplate); 73 $sEmHiddenInputs = LimeExpressionManager::FinishProcessPublicPage(true); 74 if ($sEmHiddenInputs) { 75 $sHtml = str_replace( 76 "<!-- emScriptsAndHiddenInputs -->", 77 "<!-- emScriptsAndHiddenInputs updated -->\n" . |
#12 |
+
–
/media/shnoulle/data/webdev/master/application/controllers/SurveysController.php(63): LSETwigViewRenderer->renderTemplateFromFile() 58 // maintenance mode 59 $sMaintenanceMode = getGlobalSetting('maintenancemode'); 60 if ($sMaintenanceMode == 'hard' || $sMaintenanceMode == 'soft') { 61 Yii::app()->twigRenderer->renderTemplateFromFile("layout_maintenance.twig", array('aSurveyInfo' => $aData), false); 62 } else { 63 Yii::app()->twigRenderer->renderTemplateFromFile("layout_survey_list.twig", array('aSurveyInfo' => $aData), false); 64 } 65 } 66 67 /** 68 * System error : only 404 error are managed here (2016-11-29) |
#13 |
unknown(0): SurveysController->actionPublicList()
|
#14 |
+
–
/media/shnoulle/data/webdev/master/vendor/yiisoft/yii/framework/web/actions/CAction.php(114): ReflectionMethod->invokeArgs() 109 elseif($param->isDefaultValueAvailable()) 110 $ps[]=$param->getDefaultValue(); 111 else 112 return false; 113 } 114 $method->invokeArgs($object,$ps); 115 return true; 116 } 117 } |
#15 |
+
–
/media/shnoulle/data/webdev/master/vendor/yiisoft/yii/framework/web/actions/CInlineAction.php(47): CAction->runWithParamsInternal() 42 { 43 $methodName='action'.$this->getId(); 44 $controller=$this->getController(); 45 $method=new ReflectionMethod($controller, $methodName); 46 if($method->getNumberOfParameters()>0) 47 return $this->runWithParamsInternal($controller, $method, $params); 48 49 $controller->$methodName(); 50 return true; 51 } 52 } |
#16 |
+
–
/media/shnoulle/data/webdev/master/vendor/yiisoft/yii/framework/web/CController.php(308): CInlineAction->runWithParams() 303 { 304 $priorAction=$this->_action; 305 $this->_action=$action; 306 if($this->beforeAction($action)) 307 { 308 if($action->runWithParams($this->getActionParams())===false) 309 $this->invalidActionParams($action); 310 else 311 $this->afterAction($action); 312 } 313 $this->_action=$priorAction; |
#17 |
+
–
/media/shnoulle/data/webdev/master/vendor/yiisoft/yii/framework/web/CController.php(286): CController->runAction() 281 * @see runAction 282 */ 283 public function runActionWithFilters($action,$filters) 284 { 285 if(empty($filters)) 286 $this->runAction($action); 287 else 288 { 289 $priorAction=$this->_action; 290 $this->_action=$action; 291 CFilterChain::create($this,$action,$filters)->run(); |
#18 |
+
–
/media/shnoulle/data/webdev/master/vendor/yiisoft/yii/framework/web/CController.php(265): CController->runActionWithFilters() 260 { 261 if(($parent=$this->getModule())===null) 262 $parent=Yii::app(); 263 if($parent->beforeControllerAction($this,$action)) 264 { 265 $this->runActionWithFilters($action,$this->filters()); 266 $parent->afterControllerAction($this,$action); 267 } 268 } 269 else 270 $this->missingAction($actionID); |
#19 |
+
–
/media/shnoulle/data/webdev/master/vendor/yiisoft/yii/framework/web/CWebApplication.php(282): CController->run() 277 { 278 list($controller,$actionID)=$ca; 279 $oldController=$this->_controller; 280 $this->_controller=$controller; 281 $controller->init(); 282 $controller->run($actionID); 283 $this->_controller=$oldController; 284 } 285 else 286 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 287 array('{route}'=>$route===''?$this->defaultController:$route))); |
#20 |
+
–
/media/shnoulle/data/webdev/master/vendor/yiisoft/yii/framework/web/CWebApplication.php(141): CWebApplication->runController() 136 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 137 $_GET[$name]=$value; 138 } 139 else 140 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 141 $this->runController($route); 142 } 143 144 /** 145 * Registers the core application components. 146 * This method overrides the parent implementation by registering additional core components. |
#21 |
+
–
/media/shnoulle/data/webdev/master/vendor/yiisoft/yii/framework/base/CApplication.php(185): CWebApplication->processRequest() 180 public function run() 181 { 182 if($this->hasEventHandler('onBeginRequest')) 183 $this->onBeginRequest(new CEvent($this)); 184 register_shutdown_function(array($this,'end'),0,false); 185 $this->processRequest(); 186 if($this->hasEventHandler('onEndRequest')) 187 $this->onEndRequest(new CEvent($this)); 188 } 189 190 /** |
#22 |
+
–
/media/shnoulle/data/webdev/master/index.php(161): CApplication->run() 156 require_once APPPATH . 'core/LSYii_Application' . EXT; 157 158 $config = require_once(APPPATH . 'config/internal' . EXT); 159 160 Yii::$enableIncludePath = false; 161 Yii::createApplication('LSYii_Application', $config)->run(); 162 163 /* End of file index.php */ 164 /* Location: ./index.php */ |