View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 13544 | Bug reports | Theme editor | public | 2018-03-27 15:49 | 2018-05-25 11:30 |
| Reporter | DenisChenu | Assigned To | DenisChenu | ||
| Priority | none | Severity | minor | ||
| Status | closed | Resolution | fixed | ||
| Fixed in Version | 3.6.x | ||||
| Summary | 13544: Unable to use flatEllipsizeText function in (some) twig file | ||||
| Description | When try to use flatEllipsizeText function inside a twig file, get a PHP Warning | ||||
| Steps To Reproduce | Create new template , update welcome.twig, replace {{ aSurveyInfo.name }} by {{ flatEllipsizeText(aSurveyInfo.name) }} For example | ||||
| Additional Information |
But this line never happen (for group in aSurveyInfo.aQuestionIndex.indexItems ;) ) File one is with survey.name , file 2 is for https://github.com/LimeSurvey/LimeSurvey/pull/1017/files#diff-b129b6e3232beafcba1ea99f003ae449R28 | ||||
| Tags | No tags attached. | ||||
| Attached Files | PHP warning.html (82,233 bytes)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>PHP warning</title>
<style type="text/css">
/*<![CDATA[*/
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent;margin:0;padding:0;}
body{line-height:1;}
ol,ul{list-style:none;}
blockquote,q{quotes:none;}
blockquote:before,blockquote:after,q:before,q:after{content:none;}
:focus{outline:0;}
ins{text-decoration:none;}
del{text-decoration:line-through;}
table{border-collapse:collapse;border-spacing:0;}
body {
font: normal 9pt "Verdana";
color: #000;
background: #fff;
}
h1 {
font: normal 18pt "Verdana";
color: #f00;
margin-bottom: .5em;
}
h2 {
font: normal 14pt "Verdana";
color: #800000;
margin-bottom: .5em;
}
h3 {
font: bold 11pt "Verdana";
}
pre {
font: normal 11pt Menlo, Consolas, "Lucida Console", Monospace;
}
pre span.error {
display: block;
background: #fce3e3;
}
pre span.ln {
color: #999;
padding-right: 0.5em;
border-right: 1px solid #ccc;
}
pre span.error-ln {
font-weight: bold;
}
.container {
margin: 1em 4em;
}
.version {
color: gray;
font-size: 8pt;
border-top: 1px solid #aaa;
padding-top: 1em;
margin-bottom: 1em;
}
.message {
color: #000;
padding: 1em;
font-size: 11pt;
background: #f3f3f3;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
margin-bottom: 1em;
line-height: 160%;
}
.source {
margin-bottom: 1em;
}
.code pre {
background-color: #ffe;
margin: 0.5em 0;
padding: 0.5em;
line-height: 125%;
border: 1px solid #eee;
}
.source .file {
margin-bottom: 1em;
font-weight: bold;
}
.traces {
margin: 2em 0;
}
.trace {
margin: 0.5em 0;
padding: 0.5em;
}
.trace.app {
border: 1px dashed #c00;
}
.trace .number {
text-align: right;
width: 2em;
padding: 0.5em;
}
.trace .content {
padding: 0.5em;
}
.trace .plus,
.trace .minus {
display:inline;
vertical-align:middle;
text-align:center;
border:1px solid #000;
color:#000;
font-size:10px;
line-height:10px;
margin:0;
padding:0 1px;
width:10px;
height:10px;
}
.trace.collapsed .minus,
.trace.expanded .plus,
.trace.collapsed pre {
display: none;
}
.trace-file {
cursor: pointer;
padding: 0.2em;
}
.trace-file:hover {
background: #f0ffff;
}
/*]]>*/
</style>
</head>
<body>
<div class="container">
<h1>PHP warning</h1>
<p class="message">
call_user_func_array() expects parameter 1 to be a valid callback, class 'viewHelper' not found </p>
<div class="source">
<p class="file">/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/tmp/runtime/twig_cache/44/44067399036a63315fca507b7e706b183f5e6042f82a3a63f62927bef66aa8df.php(114)</p>
<div class="code"><pre><span class="ln">102</span> // line 26
<span class="ln">103</span> echo " <button type=\"submit\" name=\"move\" value=\"";
<span class="ln">104</span> echo $this->env->getExtension('Twig_Extension_Sandbox')->ensureToStringAllowed($this->getAttribute($context["indexQuestion"], "step", array()));
<span class="ln">105</span> echo "\" class=\"list-group-item ";
<span class="ln">106</span> echo $this->env->getExtension('Twig_Extension_Sandbox')->ensureToStringAllowed($this->getAttribute($context["indexQuestion"], "coreClass", array()));
<span class="ln">107</span> echo " ";
<span class="ln">108</span> echo $this->env->getExtension('Twig_Extension_Sandbox')->ensureToStringAllowed((isset($context["templateClass"]) ? $context["templateClass"] : null));
<span class="ln">109</span> echo "\" data-qid=\"";
<span class="ln">110</span> echo $this->env->getExtension('Twig_Extension_Sandbox')->ensureToStringAllowed($this->getAttribute($context["indexQuestion"], "qid", array()));
<span class="ln">111</span> echo "\">
<span class="ln">112</span> ";
<span class="ln">113</span> // line 27
<span class="error"><span class="ln error-ln">114</span> echo $this->env->getExtension('Twig_Extension_Sandbox')->ensureToStringAllowed(call_user_func_array($this->env->getFunction('flatEllipsizeText')->getCallable(), array($this->getAttribute($context["indexQuestion"], "text", array()), true, 30, " &hellip; ", 0.6)));
</span><span class="ln">115</span> echo "
<span class="ln">116</span> </button>
<span class="ln">117</span> ";
<span class="ln">118</span> }
<span class="ln">119</span> $_parent = $context['_parent'];
<span class="ln">120</span> unset($context['_seq'], $context['_iterated'], $context['_key'], $context['indexQuestion'], $context['_parent'], $context['loop']);
<span class="ln">121</span> $context = array_intersect_key($context, $_parent) + $_parent;
<span class="ln">122</span> // line 30
<span class="ln">123</span> echo " </div>
<span class="ln">124</span> ";
<span class="ln">125</span> }
<span class="ln">126</span> $_parent = $context['_parent'];
</pre></div> </div>
<div class="traces">
<h2>Stack Trace</h2>
<table style="width:100%;">
<tbody><tr class="trace app expanded">
<td class="number">
#0 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/tmp/runtime/twig_cache/44/44067399036a63315fca507b7e706b183f5e6042f82a3a63f62927bef66aa8df.php(114):
<strong>call_user_func_array</strong>("viewHelper::flatEllipsizeText", array("What city do you live in?", true, 30, " &hellip; ", ...)) </div>
<div class="code"><pre><span class="ln">109</span> echo "\" data-qid=\"";
<span class="ln">110</span> echo $this->env->getExtension('Twig_Extension_Sandbox')->ensureToStringAllowed($this->getAttribute($context["indexQuestion"], "qid", array()));
<span class="ln">111</span> echo "\">
<span class="ln">112</span> ";
<span class="ln">113</span> // line 27
<span class="error"><span class="ln error-ln">114</span> echo $this->env->getExtension('Twig_Extension_Sandbox')->ensureToStringAllowed(call_user_func_array($this->env->getFunction('flatEllipsizeText')->getCallable(), array($this->getAttribute($context["indexQuestion"], "text", array()), true, 30, " &hellip; ", 0.6)));
</span><span class="ln">115</span> echo "
<span class="ln">116</span> </button>
<span class="ln">117</span> ";
<span class="ln">118</span> }
<span class="ln">119</span> $_parent = $context['_parent'];
</pre></div> </td>
</tr>
<tr class="trace app expanded">
<td class="number">
#1 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/application/third_party/Twig/Template.php(438): <strong>__TwigTemplate_01f908d7a9ce3a81ee7fc151e2a8328cafe09cc6049992679c26cb7ebda051b3</strong>-><strong>doDisplay</strong>(array("oSurvey"
=> Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format"
=> "S", "template" => "vanilla", "language" => "en", ...),
"App" => LSYii_Application, "C" =>
ETwigViewRendererYiiCoreStaticClassesProxy, ...), array()) </div>
<div class="code"><pre><span class="ln">433</span> }
<span class="ln">434</span>
<span class="ln">435</span> protected function displayWithErrorHandling(array $context, array $blocks = array())
<span class="ln">436</span> {
<span class="ln">437</span> try {
<span class="error"><span class="ln error-ln">438</span> $this->doDisplay($context, $blocks);
</span><span class="ln">439</span> } catch (Twig_Error $e) {
<span class="ln">440</span> if (!$e->getSourceContext()) {
<span class="ln">441</span> $e->setSourceContext($this->getSourceContext());
<span class="ln">442</span> }
<span class="ln">443</span>
</pre></div> </td>
</tr>
<tr class="trace app expanded">
<td class="number">
#2 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/application/third_party/Twig/Template.php(406): <strong>Twig_Template</strong>-><strong>displayWithErrorHandling</strong>(array("oSurvey"
=> Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format"
=> "S", "template" => "vanilla", "language" => "en", ...),
"App" => LSYii_Application, "C" =>
ETwigViewRendererYiiCoreStaticClassesProxy, ...), array()) </div>
<div class="code"><pre><span class="ln">401</span> /**
<span class="ln">402</span> * {@inheritdoc}
<span class="ln">403</span> */
<span class="ln">404</span> public function display(array $context, array $blocks = array())
<span class="ln">405</span> {
<span class="error"><span class="ln error-ln">406</span> $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
</span><span class="ln">407</span> }
<span class="ln">408</span>
<span class="ln">409</span> /**
<span class="ln">410</span> * {@inheritdoc}
<span class="ln">411</span> */
</pre></div> </td>
</tr>
<tr class="trace app collapsed">
<td class="number">
#3 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/application/third_party/Twig/Template.php(417): <strong>Twig_Template</strong>-><strong>display</strong>(array("oSurvey"
=> Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format"
=> "S", "template" => "vanilla", "language" => "en", ...),
"App" => LSYii_Application, "C" =>
ETwigViewRendererYiiCoreStaticClassesProxy, ...)) </div>
<div class="code"><pre><span class="ln">412</span> public function render(array $context)
<span class="ln">413</span> {
<span class="ln">414</span> $level = ob_get_level();
<span class="ln">415</span> ob_start();
<span class="ln">416</span> try {
<span class="error"><span class="ln error-ln">417</span> $this->display($context);
</span><span class="ln">418</span> } catch (Exception $e) {
<span class="ln">419</span> while (ob_get_level() > $level) {
<span class="ln">420</span> ob_end_clean();
<span class="ln">421</span> }
<span class="ln">422</span>
</pre></div> </td>
</tr>
<tr class="trace app collapsed">
<td class="number">
#4 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/application/third_party/Twig/Extension/Core.php(1400):
<strong>Twig_Template</strong>-><strong>render</strong>(array("oSurvey"
=> Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format"
=> "S", "template" => "vanilla", "language" => "en", ...),
"App" => LSYii_Application, "C" =>
ETwigViewRendererYiiCoreStaticClassesProxy, ...)) </div>
<div class="code"><pre><span class="ln">1395</span> }
<span class="ln">1396</span> }
<span class="ln">1397</span>
<span class="ln">1398</span> $result = null;
<span class="ln">1399</span> try {
<span class="error"><span class="ln error-ln">1400</span> $result = $env->resolveTemplate($template)->render($variables);
</span><span class="ln">1401</span> } catch (Twig_Error_Loader $e) {
<span class="ln">1402</span> if (!$ignoreMissing) {
<span class="ln">1403</span> if ($isSandboxed && !$alreadySandboxed) {
<span class="ln">1404</span> $sandbox->disableSandbox();
<span class="ln">1405</span> }
</pre></div> </td>
</tr>
<tr class="trace app collapsed">
<td class="number">
#5 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/tmp/runtime/twig_cache/b8/b826fb06c3a23078fc8a8915c4eb553fb335d7b97491b49bf7b3dc0dd4116497.php(61):
<strong>twig_include</strong>(Twig_Environment, array("oSurvey" =>
Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format" =>
"S", "template" => "vanilla", "language" => "en", ...), "App"
=> LSYii_Application, "C" =>
ETwigViewRendererYiiCoreStaticClassesProxy, ...),
"./subviews/navigation/question_index_questions_buttons.twig") </div>
<div class="code"><pre><span class="ln">56</span> ";
<span class="ln">57</span> // line 13
<span class="ln">58</span> if (($this->getAttribute((isset($context["aSurveyInfo"]) ? $context["aSurveyInfo"] : null), "format", array()) == "S")) {
<span class="ln">59</span> // line 14
<span class="ln">60</span> echo " ";
<span class="error"><span class="ln error-ln">61</span> echo $this->env->getExtension('Twig_Extension_Sandbox')->ensureToStringAllowed(twig_include($this->env, $context, "./subviews/navigation/question_index_questions_buttons.twig"));
</span><span class="ln">62</span> echo "
<span class="ln">63</span> ";
<span class="ln">64</span> }
<span class="ln">65</span> // line 16
<span class="ln">66</span> echo "</div>
</pre></div> </td>
</tr>
<tr class="trace app collapsed">
<td class="number">
#6 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/application/third_party/Twig/Template.php(438): <strong>__TwigTemplate_47f828ba3e84604d716001a64935f841a570db6fe4f902e99ba76da461dc9f06</strong>-><strong>doDisplay</strong>(array("oSurvey"
=> Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format"
=> "S", "template" => "vanilla", "language" => "en", ...),
"App" => LSYii_Application, "C" =>
ETwigViewRendererYiiCoreStaticClassesProxy, ...), array()) </div>
<div class="code"><pre><span class="ln">433</span> }
<span class="ln">434</span>
<span class="ln">435</span> protected function displayWithErrorHandling(array $context, array $blocks = array())
<span class="ln">436</span> {
<span class="ln">437</span> try {
<span class="error"><span class="ln error-ln">438</span> $this->doDisplay($context, $blocks);
</span><span class="ln">439</span> } catch (Twig_Error $e) {
<span class="ln">440</span> if (!$e->getSourceContext()) {
<span class="ln">441</span> $e->setSourceContext($this->getSourceContext());
<span class="ln">442</span> }
<span class="ln">443</span>
</pre></div> </td>
</tr>
<tr class="trace app collapsed">
<td class="number">
#7 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/application/third_party/Twig/Template.php(406): <strong>Twig_Template</strong>-><strong>displayWithErrorHandling</strong>(array("oSurvey"
=> Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format"
=> "S", "template" => "vanilla", "language" => "en", ...),
"App" => LSYii_Application, "C" =>
ETwigViewRendererYiiCoreStaticClassesProxy, ...), array()) </div>
<div class="code"><pre><span class="ln">401</span> /**
<span class="ln">402</span> * {@inheritdoc}
<span class="ln">403</span> */
<span class="ln">404</span> public function display(array $context, array $blocks = array())
<span class="ln">405</span> {
<span class="error"><span class="ln error-ln">406</span> $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
</span><span class="ln">407</span> }
<span class="ln">408</span>
<span class="ln">409</span> /**
<span class="ln">410</span> * {@inheritdoc}
<span class="ln">411</span> */
</pre></div> </td>
</tr>
<tr class="trace app collapsed">
<td class="number">
#8 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/application/third_party/Twig/Template.php(417): <strong>Twig_Template</strong>-><strong>display</strong>(array("oSurvey"
=> Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format"
=> "S", "template" => "vanilla", "language" => "en", ...),
"App" => LSYii_Application, "C" =>
ETwigViewRendererYiiCoreStaticClassesProxy, ...)) </div>
<div class="code"><pre><span class="ln">412</span> public function render(array $context)
<span class="ln">413</span> {
<span class="ln">414</span> $level = ob_get_level();
<span class="ln">415</span> ob_start();
<span class="ln">416</span> try {
<span class="error"><span class="ln error-ln">417</span> $this->display($context);
</span><span class="ln">418</span> } catch (Exception $e) {
<span class="ln">419</span> while (ob_get_level() > $level) {
<span class="ln">420</span> ob_end_clean();
<span class="ln">421</span> }
<span class="ln">422</span>
</pre></div> </td>
</tr>
<tr class="trace app collapsed">
<td class="number">
#9 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/application/third_party/Twig/Extension/Core.php(1400):
<strong>Twig_Template</strong>-><strong>render</strong>(array("oSurvey"
=> Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format"
=> "S", "template" => "vanilla", "language" => "en", ...),
"App" => LSYii_Application, "C" =>
ETwigViewRendererYiiCoreStaticClassesProxy, ...)) </div>
<div class="code"><pre><span class="ln">1395</span> }
<span class="ln">1396</span> }
<span class="ln">1397</span>
<span class="ln">1398</span> $result = null;
<span class="ln">1399</span> try {
<span class="error"><span class="ln error-ln">1400</span> $result = $env->resolveTemplate($template)->render($variables);
</span><span class="ln">1401</span> } catch (Twig_Error_Loader $e) {
<span class="ln">1402</span> if (!$ignoreMissing) {
<span class="ln">1403</span> if ($isSandboxed && !$alreadySandboxed) {
<span class="ln">1404</span> $sandbox->disableSandbox();
<span class="ln">1405</span> }
</pre></div> </td>
</tr>
<tr class="trace app collapsed">
<td class="number">
#10 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/tmp/runtime/twig_cache/ca/cadf0e1078456104f7c5421f45997263d49daac98679f167b341424f09e30c97.php(72):
<strong>twig_include</strong>(Twig_Environment, array("oSurvey" =>
Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format" =>
"S", "template" => "vanilla", "language" => "en", ...), "App"
=> LSYii_Application, "C" =>
ETwigViewRendererYiiCoreStaticClassesProxy, ...),
"./subviews/navigation/question_index_buttons.twig") </div>
<div class="code"><pre><span class="ln">67</span> ";
<span class="ln">68</span> // line 17
<span class="ln">69</span> if (($this->getAttribute($this->getAttribute((isset($context["aSurveyInfo"]) ? $context["aSurveyInfo"] : null), "aQuestionIndex", array()), "bShow", array()) == true)) {
<span class="ln">70</span> // line 18
<span class="ln">71</span> echo " ";
<span class="error"><span class="ln error-ln">72</span> echo $this->env->getExtension('Twig_Extension_Sandbox')->ensureToStringAllowed(twig_include($this->env, $context, "./subviews/navigation/question_index_buttons.twig"));
</span><span class="ln">73</span> echo "
<span class="ln">74</span> ";
<span class="ln">75</span> }
<span class="ln">76</span> // line 20
<span class="ln">77</span> echo "</div>
</pre></div> </td>
</tr>
<tr class="trace app collapsed">
<td class="number">
#11 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/application/third_party/Twig/Template.php(438): <strong>__TwigTemplate_192a5cab871e903c1568ab915888dfc69b22e988a4340ac12b7082e8d18de250</strong>-><strong>doDisplay</strong>(array("oSurvey"
=> Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format"
=> "S", "template" => "vanilla", "language" => "en", ...),
"App" => LSYii_Application, "C" =>
ETwigViewRendererYiiCoreStaticClassesProxy, ...), array()) </div>
<div class="code"><pre><span class="ln">433</span> }
<span class="ln">434</span>
<span class="ln">435</span> protected function displayWithErrorHandling(array $context, array $blocks = array())
<span class="ln">436</span> {
<span class="ln">437</span> try {
<span class="error"><span class="ln error-ln">438</span> $this->doDisplay($context, $blocks);
</span><span class="ln">439</span> } catch (Twig_Error $e) {
<span class="ln">440</span> if (!$e->getSourceContext()) {
<span class="ln">441</span> $e->setSourceContext($this->getSourceContext());
<span class="ln">442</span> }
<span class="ln">443</span>
</pre></div> </td>
</tr>
<tr class="trace app collapsed">
<td class="number">
#12 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/application/third_party/Twig/Template.php(406): <strong>Twig_Template</strong>-><strong>displayWithErrorHandling</strong>(array("oSurvey"
=> Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format"
=> "S", "template" => "vanilla", "language" => "en", ...),
"App" => LSYii_Application, "C" =>
ETwigViewRendererYiiCoreStaticClassesProxy, ...), array()) </div>
<div class="code"><pre><span class="ln">401</span> /**
<span class="ln">402</span> * {@inheritdoc}
<span class="ln">403</span> */
<span class="ln">404</span> public function display(array $context, array $blocks = array())
<span class="ln">405</span> {
<span class="error"><span class="ln error-ln">406</span> $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
</span><span class="ln">407</span> }
<span class="ln">408</span>
<span class="ln">409</span> /**
<span class="ln">410</span> * {@inheritdoc}
<span class="ln">411</span> */
</pre></div> </td>
</tr>
<tr class="trace app collapsed">
<td class="number">
#13 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/application/third_party/Twig/Template.php(417): <strong>Twig_Template</strong>-><strong>display</strong>(array("oSurvey"
=> Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format"
=> "S", "template" => "vanilla", "language" => "en", ...),
"App" => LSYii_Application, "C" =>
ETwigViewRendererYiiCoreStaticClassesProxy, ...)) </div>
<div class="code"><pre><span class="ln">412</span> public function render(array $context)
<span class="ln">413</span> {
<span class="ln">414</span> $level = ob_get_level();
<span class="ln">415</span> ob_start();
<span class="ln">416</span> try {
<span class="error"><span class="ln error-ln">417</span> $this->display($context);
</span><span class="ln">418</span> } catch (Exception $e) {
<span class="ln">419</span> while (ob_get_level() > $level) {
<span class="ln">420</span> ob_end_clean();
<span class="ln">421</span> }
<span class="ln">422</span>
</pre></div> </td>
</tr>
<tr class="trace app collapsed">
<td class="number">
#14 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/application/third_party/Twig/Extension/Core.php(1400):
<strong>Twig_Template</strong>-><strong>render</strong>(array("oSurvey"
=> Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format"
=> "S", "template" => "vanilla", "language" => "en", ...),
"App" => LSYii_Application, "C" =>
ETwigViewRendererYiiCoreStaticClassesProxy, ...)) </div>
<div class="code"><pre><span class="ln">1395</span> }
<span class="ln">1396</span> }
<span class="ln">1397</span>
<span class="ln">1398</span> $result = null;
<span class="ln">1399</span> try {
<span class="error"><span class="ln error-ln">1400</span> $result = $env->resolveTemplate($template)->render($variables);
</span><span class="ln">1401</span> } catch (Twig_Error_Loader $e) {
<span class="ln">1402</span> if (!$ignoreMissing) {
<span class="ln">1403</span> if ($isSandboxed && !$alreadySandboxed) {
<span class="ln">1404</span> $sandbox->disableSandbox();
<span class="ln">1405</span> }
</pre></div> </td>
</tr>
<tr class="trace app collapsed">
<td class="number">
#15 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/tmp/runtime/twig_cache/c6/c6c3d756e8b8d3084f644d664b31b532c87fe48e25cccc9647a2ecf12daf37db.php(148):
<strong>twig_include</strong>(Twig_Environment, array("oSurvey" =>
Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format" =>
"S", "template" => "vanilla", "language" => "en", ...), "App"
=> LSYii_Application, "C" =>
ETwigViewRendererYiiCoreStaticClassesProxy, ...),
"./subviews/navigation/navigator_complement.twig") </div>
<div class="code"><pre><span class="ln">143</span> echo " </div>
<span class="ln">144</span> </div>
<span class="ln">145</span> <!-- Extra navigator part -->
<span class="ln">146</span> ";
<span class="ln">147</span> // line 60
<span class="error"><span class="ln error-ln">148</span> echo $this->env->getExtension('Twig_Extension_Sandbox')->ensureToStringAllowed(twig_include($this->env, $context, "./subviews/navigation/navigator_complement.twig"));
</span><span class="ln">149</span> echo "
<span class="ln">150</span> ";
<span class="ln">151</span> }
<span class="ln">152</span>
<span class="ln">153</span> public function getTemplateName()
</pre></div> </td>
</tr>
<tr class="trace app collapsed">
<td class="number">
#16 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/application/third_party/Twig/Template.php(438): <strong>__TwigTemplate_73e699c3931ef3180c2df1905ecfb6978cd819c7fbc43a0eaa467f8e9b57f81a</strong>-><strong>doDisplay</strong>(array("oSurvey"
=> Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format"
=> "S", "template" => "vanilla", "language" => "en", ...),
"App" => LSYii_Application, "C" =>
ETwigViewRendererYiiCoreStaticClassesProxy, ...), array()) </div>
<div class="code"><pre><span class="ln">433</span> }
<span class="ln">434</span>
<span class="ln">435</span> protected function displayWithErrorHandling(array $context, array $blocks = array())
<span class="ln">436</span> {
<span class="ln">437</span> try {
<span class="error"><span class="ln error-ln">438</span> $this->doDisplay($context, $blocks);
</span><span class="ln">439</span> } catch (Twig_Error $e) {
<span class="ln">440</span> if (!$e->getSourceContext()) {
<span class="ln">441</span> $e->setSourceContext($this->getSourceContext());
<span class="ln">442</span> }
<span class="ln">443</span>
</pre></div> </td>
</tr>
<tr class="trace app collapsed">
<td class="number">
#17 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/application/third_party/Twig/Template.php(406): <strong>Twig_Template</strong>-><strong>displayWithErrorHandling</strong>(array("oSurvey"
=> Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format"
=> "S", "template" => "vanilla", "language" => "en", ...),
"App" => LSYii_Application, "C" =>
ETwigViewRendererYiiCoreStaticClassesProxy, ...), array()) </div>
<div class="code"><pre><span class="ln">401</span> /**
<span class="ln">402</span> * {@inheritdoc}
<span class="ln">403</span> */
<span class="ln">404</span> public function display(array $context, array $blocks = array())
<span class="ln">405</span> {
<span class="error"><span class="ln error-ln">406</span> $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
</span><span class="ln">407</span> }
<span class="ln">408</span>
<span class="ln">409</span> /**
<span class="ln">410</span> * {@inheritdoc}
<span class="ln">411</span> */
</pre></div> </td>
</tr>
<tr class="trace app collapsed">
<td class="number">
#18 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/application/third_party/Twig/Template.php(417): <strong>Twig_Template</strong>-><strong>display</strong>(array("oSurvey"
=> Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format"
=> "S", "template" => "vanilla", "language" => "en", ...),
"App" => LSYii_Application, "C" =>
ETwigViewRendererYiiCoreStaticClassesProxy, ...)) </div>
<div class="code"><pre><span class="ln">412</span> public function render(array $context)
<span class="ln">413</span> {
<span class="ln">414</span> $level = ob_get_level();
<span class="ln">415</span> ob_start();
<span class="ln">416</span> try {
<span class="error"><span class="ln error-ln">417</span> $this->display($context);
</span><span class="ln">418</span> } catch (Exception $e) {
<span class="ln">419</span> while (ob_get_level() > $level) {
<span class="ln">420</span> ob_end_clean();
<span class="ln">421</span> }
<span class="ln">422</span>
</pre></div> </td>
</tr>
<tr class="trace app collapsed">
<td class="number">
#19 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/application/third_party/Twig/Extension/Core.php(1400):
<strong>Twig_Template</strong>-><strong>render</strong>(array("oSurvey"
=> Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format"
=> "S", "template" => "vanilla", "language" => "en", ...),
"App" => LSYii_Application, "C" =>
ETwigViewRendererYiiCoreStaticClassesProxy, ...)) </div>
<div class="code"><pre><span class="ln">1395</span> }
<span class="ln">1396</span> }
<span class="ln">1397</span>
<span class="ln">1398</span> $result = null;
<span class="ln">1399</span> try {
<span class="error"><span class="ln error-ln">1400</span> $result = $env->resolveTemplate($template)->render($variables);
</span><span class="ln">1401</span> } catch (Twig_Error_Loader $e) {
<span class="ln">1402</span> if (!$ignoreMissing) {
<span class="ln">1403</span> if ($isSandboxed && !$alreadySandboxed) {
<span class="ln">1404</span> $sandbox->disableSandbox();
<span class="ln">1405</span> }
</pre></div> </td>
</tr>
<tr class="trace app collapsed">
<td class="number">
#20 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/tmp/runtime/twig_cache/07/0755a0f68043e5a0c918de40ee6f7b145a0f7178bd36058854b4f5b42b3bde60.php(108):
<strong>twig_include</strong>(Twig_Environment, array("oSurvey" =>
Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format" =>
"S", "template" => "vanilla", "language" => "en", ...), "App"
=> LSYii_Application, "C" =>
ETwigViewRendererYiiCoreStaticClassesProxy, ...),
"./subviews/navigation/navigator.twig") </div>
<div class="code"><pre><span class="ln">103</span> // line 47
<span class="ln">104</span> echo " ";
<span class="ln">105</span> if ($this->getAttribute($this->getAttribute((isset($context["aSurveyInfo"]) ? $context["aSurveyInfo"] : null), "aNavigator", array()), "show", array())) {
<span class="ln">106</span> // line 48
<span class="ln">107</span> echo " ";
<span class="error"><span class="ln error-ln">108</span> echo $this->env->getExtension('Twig_Extension_Sandbox')->ensureToStringAllowed(twig_include($this->env, $context, "./subviews/navigation/navigator.twig"));
</span><span class="ln">109</span> echo "
<span class="ln">110</span> ";
<span class="ln">111</span> }
<span class="ln">112</span> // line 50
<span class="ln">113</span> echo "
</pre></div> </td>
</tr>
<tr class="trace app collapsed">
<td class="number">
#21 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/application/third_party/Twig/Template.php(438): <strong>__TwigTemplate_601fa1ba71e0b38169c2a52ff7f517e0c8f4ab3de4b5c4073153fb235c35000f</strong>-><strong>doDisplay</strong>(array("oSurvey"
=> Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format"
=> "S", "template" => "vanilla", "language" => "en", ...),
"App" => LSYii_Application, "C" =>
ETwigViewRendererYiiCoreStaticClassesProxy, ...), array()) </div>
<div class="code"><pre><span class="ln">433</span> }
<span class="ln">434</span>
<span class="ln">435</span> protected function displayWithErrorHandling(array $context, array $blocks = array())
<span class="ln">436</span> {
<span class="ln">437</span> try {
<span class="error"><span class="ln error-ln">438</span> $this->doDisplay($context, $blocks);
</span><span class="ln">439</span> } catch (Twig_Error $e) {
<span class="ln">440</span> if (!$e->getSourceContext()) {
<span class="ln">441</span> $e->setSourceContext($this->getSourceContext());
<span class="ln">442</span> }
<span class="ln">443</span>
</pre></div> </td>
</tr>
<tr class="trace app collapsed">
<td class="number">
#22 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/application/third_party/Twig/Template.php(406): <strong>Twig_Template</strong>-><strong>displayWithErrorHandling</strong>(array("oSurvey"
=> Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format"
=> "S", "template" => "vanilla", "language" => "en", ...),
"App" => LSYii_Application, "C" =>
ETwigViewRendererYiiCoreStaticClassesProxy, ...), array()) </div>
<div class="code"><pre><span class="ln">401</span> /**
<span class="ln">402</span> * {@inheritdoc}
<span class="ln">403</span> */
<span class="ln">404</span> public function display(array $context, array $blocks = array())
<span class="ln">405</span> {
<span class="error"><span class="ln error-ln">406</span> $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
</span><span class="ln">407</span> }
<span class="ln">408</span>
<span class="ln">409</span> /**
<span class="ln">410</span> * {@inheritdoc}
<span class="ln">411</span> */
</pre></div> </td>
</tr>
<tr class="trace app collapsed">
<td class="number">
#23 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/application/third_party/Twig/Template.php(417): <strong>Twig_Template</strong>-><strong>display</strong>(array("oSurvey"
=> Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format"
=> "S", "template" => "vanilla", "language" => "en", ...),
"App" => LSYii_Application, "C" =>
ETwigViewRendererYiiCoreStaticClassesProxy, ...)) </div>
<div class="code"><pre><span class="ln">412</span> public function render(array $context)
<span class="ln">413</span> {
<span class="ln">414</span> $level = ob_get_level();
<span class="ln">415</span> ob_start();
<span class="ln">416</span> try {
<span class="error"><span class="ln error-ln">417</span> $this->display($context);
</span><span class="ln">418</span> } catch (Exception $e) {
<span class="ln">419</span> while (ob_get_level() > $level) {
<span class="ln">420</span> ob_end_clean();
<span class="ln">421</span> }
<span class="ln">422</span>
</pre></div> </td>
</tr>
<tr class="trace app collapsed">
<td class="number">
#24 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/application/third_party/Twig/Extension/Core.php(1400):
<strong>Twig_Template</strong>-><strong>render</strong>(array("oSurvey"
=> Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format"
=> "S", "template" => "vanilla", "language" => "en", ...),
"App" => LSYii_Application, "C" =>
ETwigViewRendererYiiCoreStaticClassesProxy, ...)) </div>
<div class="code"><pre><span class="ln">1395</span> }
<span class="ln">1396</span> }
<span class="ln">1397</span>
<span class="ln">1398</span> $result = null;
<span class="ln">1399</span> try {
<span class="error"><span class="ln error-ln">1400</span> $result = $env->resolveTemplate($template)->render($variables);
</span><span class="ln">1401</span> } catch (Twig_Error_Loader $e) {
<span class="ln">1402</span> if (!$ignoreMissing) {
<span class="ln">1403</span> if ($isSandboxed && !$alreadySandboxed) {
<span class="ln">1404</span> $sandbox->disableSandbox();
<span class="ln">1405</span> }
</pre></div> </td>
</tr>
<tr class="trace app collapsed">
<td class="number">
#25 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/tmp/runtime/twig_cache/88/88ae69236caea7cfa149e38e6626f2abb11002a9061a7215689a4a784cc2db34.php(76):
<strong>twig_include</strong>(Twig_Environment, array("oSurvey" =>
Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format" =>
"S", "template" => "vanilla", "language" => "en", ...), "App"
=> LSYii_Application, "C" =>
ETwigViewRendererYiiCoreStaticClassesProxy, ...),
"./subviews/content/main.twig") </div>
<div class="code"><pre><span class="ln">71</span> // line 27
<span class="ln">72</span> echo " ";
<span class="ln">73</span> if (((isset($context["include_content"]) ? $context["include_content"] : null) != "./subviews/content/")) {
<span class="ln">74</span> // line 28
<span class="ln">75</span> echo " ";
<span class="error"><span class="ln error-ln">76</span> echo $this->env->getExtension('Twig_Extension_Sandbox')->ensureToStringAllowed(twig_include($this->env, $context, (isset($context["include_content"]) ? $context["include_content"] : null)));
</span><span class="ln">77</span> echo "
<span class="ln">78</span> ";
<span class="ln">79</span> }
<span class="ln">80</span> // line 30
<span class="ln">81</span> echo "
</pre></div> </td>
</tr>
<tr class="trace app collapsed">
<td class="number">
#26 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/application/third_party/Twig/Template.php(438): <strong>__TwigTemplate_93724132c3b124b3171a0c9068ccf73551f162b5b6a86d88afa55c7ca28154dc</strong>-><strong>doDisplay</strong>(array("oSurvey"
=> Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format"
=> "S", "template" => "vanilla", "language" => "en", ...),
"App" => LSYii_Application, "C" =>
ETwigViewRendererYiiCoreStaticClassesProxy, ...), array()) </div>
<div class="code"><pre><span class="ln">433</span> }
<span class="ln">434</span>
<span class="ln">435</span> protected function displayWithErrorHandling(array $context, array $blocks = array())
<span class="ln">436</span> {
<span class="ln">437</span> try {
<span class="error"><span class="ln error-ln">438</span> $this->doDisplay($context, $blocks);
</span><span class="ln">439</span> } catch (Twig_Error $e) {
<span class="ln">440</span> if (!$e->getSourceContext()) {
<span class="ln">441</span> $e->setSourceContext($this->getSourceContext());
<span class="ln">442</span> }
<span class="ln">443</span>
</pre></div> </td>
</tr>
<tr class="trace app collapsed">
<td class="number">
#27 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/application/third_party/Twig/Template.php(406): <strong>Twig_Template</strong>-><strong>displayWithErrorHandling</strong>(array("oSurvey"
=> Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format"
=> "S", "template" => "vanilla", "language" => "en", ...),
"App" => LSYii_Application, "C" =>
ETwigViewRendererYiiCoreStaticClassesProxy, ...), array()) </div>
<div class="code"><pre><span class="ln">401</span> /**
<span class="ln">402</span> * {@inheritdoc}
<span class="ln">403</span> */
<span class="ln">404</span> public function display(array $context, array $blocks = array())
<span class="ln">405</span> {
<span class="error"><span class="ln error-ln">406</span> $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
</span><span class="ln">407</span> }
<span class="ln">408</span>
<span class="ln">409</span> /**
<span class="ln">410</span> * {@inheritdoc}
<span class="ln">411</span> */
</pre></div> </td>
</tr>
<tr class="trace app collapsed">
<td class="number">
#28 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/tmp/runtime/twig_cache/2e/2ec0bf20075771426a577c9d9b4b28f730559ddaac538f72152ffed04166a608.php(61):
<strong>Twig_Template</strong>-><strong>display</strong>(array("oSurvey"
=> Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format"
=> "S", "template" => "vanilla", "language" => "en", ...),
"App" => LSYii_Application, "C" =>
ETwigViewRendererYiiCoreStaticClassesProxy, ...)) </div>
<div class="code"><pre><span class="ln">56</span> echo $this->env->getExtension('Twig_Extension_Sandbox')->ensureToStringAllowed($this->getAttribute($this->getAttribute((isset($context["aSurveyInfo"]) ? $context["aSurveyInfo"] : null), "attr", array()), "outerframe", array()));
<span class="ln">57</span> echo " >
<span class="ln">58</span> ";
<span class="ln">59</span> // line 23
<span class="ln">60</span> echo " ";
<span class="error"><span class="ln error-ln">61</span> $this->loadTemplate("./subviews/content/mainrow.twig", "./subviews/content/outerframe.twig", 23)->display(array_merge($context, array("include_content" => (isset($context["include_content"]) ? $context["include_content"] : null))));
</span><span class="ln">62</span> // line 24
<span class="ln">63</span> echo "</div>
<span class="ln">64</span> ";
<span class="ln">65</span> }
<span class="ln">66</span>
</pre></div> </td>
</tr>
<tr class="trace app collapsed">
<td class="number">
#29 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/application/third_party/Twig/Template.php(438): <strong>__TwigTemplate_ec9a881a209e67c53f4be825efd29e1776ab73066ddbc3be42ea844f37442094</strong>-><strong>doDisplay</strong>(array("oSurvey"
=> Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format"
=> "S", "template" => "vanilla", "language" => "en", ...),
"App" => LSYii_Application, "C" =>
ETwigViewRendererYiiCoreStaticClassesProxy, ...), array()) </div>
<div class="code"><pre><span class="ln">433</span> }
<span class="ln">434</span>
<span class="ln">435</span> protected function displayWithErrorHandling(array $context, array $blocks = array())
<span class="ln">436</span> {
<span class="ln">437</span> try {
<span class="error"><span class="ln error-ln">438</span> $this->doDisplay($context, $blocks);
</span><span class="ln">439</span> } catch (Twig_Error $e) {
<span class="ln">440</span> if (!$e->getSourceContext()) {
<span class="ln">441</span> $e->setSourceContext($this->getSourceContext());
<span class="ln">442</span> }
<span class="ln">443</span>
</pre></div> </td>
</tr>
<tr class="trace app collapsed">
<td class="number">
#30 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/application/third_party/Twig/Template.php(406): <strong>Twig_Template</strong>-><strong>displayWithErrorHandling</strong>(array("oSurvey"
=> Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format"
=> "S", "template" => "vanilla", "language" => "en", ...),
"App" => LSYii_Application, "C" =>
ETwigViewRendererYiiCoreStaticClassesProxy, ...), array()) </div>
<div class="code"><pre><span class="ln">401</span> /**
<span class="ln">402</span> * {@inheritdoc}
<span class="ln">403</span> */
<span class="ln">404</span> public function display(array $context, array $blocks = array())
<span class="ln">405</span> {
<span class="error"><span class="ln error-ln">406</span> $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
</span><span class="ln">407</span> }
<span class="ln">408</span>
<span class="ln">409</span> /**
<span class="ln">410</span> * {@inheritdoc}
<span class="ln">411</span> */
</pre></div> </td>
</tr>
<tr class="trace app collapsed">
<td class="number">
#31 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/tmp/runtime/twig_cache/1e/1e364b00235392bd01c1773535864e2947074f7b743c41f4f295b1957ec59fa2.php(246):
<strong>Twig_Template</strong>-><strong>display</strong>(array("oSurvey"
=> Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format"
=> "S", "template" => "vanilla", "language" => "en", ...),
"App" => LSYii_Application, "C" =>
ETwigViewRendererYiiCoreStaticClassesProxy, ...)) </div>
<div class="code"><pre><span class="ln">241</span> // line 114
<span class="ln">242</span> echo " ";
<span class="ln">243</span> $context["sViewContent"] = (("./subviews/content/" . $this->getAttribute((isset($context["aSurveyInfo"]) ? $context["aSurveyInfo"] : null), "include_content", array())) . ".twig");
<span class="ln">244</span> // line 115
<span class="ln">245</span> echo " ";
<span class="error"><span class="ln error-ln">246</span> $this->loadTemplate("./subviews/content/outerframe.twig", "__string_template__8ada62236427ac7b294df5f2ec981fd08cfd4781b50a0038a135bcd3dde85061", 115)->display(array_merge($context, array("include_content" => (isset($context["sViewContent"]) ? $context["sViewContent"] : null))));
</span><span class="ln">247</span> // line 116
<span class="ln">248</span> echo " ";
<span class="ln">249</span> }
<span class="ln">250</span>
<span class="ln">251</span> // line 134
</pre></div> </td>
</tr>
<tr class="trace app collapsed">
<td class="number">
#32 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/application/third_party/Twig/Template.php(215): <strong>__TwigTemplate_d2c9a4d1d58e81c8f9bdb571e1a3b1968ba756679182562f16a869b34245707a</strong>-><strong>block_content</strong>(array("oSurvey"
=> Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format"
=> "S", "template" => "vanilla", "language" => "en", ...),
"App" => LSYii_Application, "C" =>
ETwigViewRendererYiiCoreStaticClassesProxy, ...), array("head" =>
array(__TwigTemplate_d2c9a4d1d58e81c8f9bdb571e1a3b1968ba756679182562f16a869b34245707a,
"block_head"), "ajaxindicator" =>
array(__TwigTemplate_d2c9a4d1d58e81c8f9bdb571e1a3b1968ba756679182562f16a869b34245707a,
"block_ajaxindicator"), "pjaxbegin" =>
array(__TwigTemplate_d2c9a4d1d58e81c8f9bdb571e1a3b1968ba756679182562f16a869b34245707a,
"block_pjaxbegin"), "body" =>
array(__TwigTemplate_d2c9a4d1d58e81c8f9bdb571e1a3b1968ba756679182562f16a869b34245707a,
"block_body"), ...)) </div>
<div class="code"><pre><span class="ln">210</span> throw new LogicException('A block must be a method on a Twig_Template instance.');
<span class="ln">211</span> }
<span class="ln">212</span>
<span class="ln">213</span> if (null !== $template) {
<span class="ln">214</span> try {
<span class="error"><span class="ln error-ln">215</span> $template->$block($context, $blocks);
</span><span class="ln">216</span> } catch (Twig_Error $e) {
<span class="ln">217</span> if (!$e->getSourceContext()) {
<span class="ln">218</span> $e->setSourceContext($template->getSourceContext());
<span class="ln">219</span> }
<span class="ln">220</span>
</pre></div> </td>
</tr>
<tr class="trace app collapsed">
<td class="number">
#33 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/tmp/runtime/twig_cache/1e/1e364b00235392bd01c1773535864e2947074f7b743c41f4f295b1957ec59fa2.php(192):
<strong>Twig_Template</strong>-><strong>displayBlock</strong>("content",
array("oSurvey" => Survey, "aSurveyInfo" => array("htmlemail"
=> "Y", "format" => "S", "template" => "vanilla", "language"
=> "en", ...), "App" => LSYii_Application, "C" =>
ETwigViewRendererYiiCoreStaticClassesProxy, ...), array("head" =>
array(__TwigTemplate_d2c9a4d1d58e81c8f9bdb571e1a3b1968ba756679182562f16a869b34245707a,
"block_head"), "ajaxindicator" =>
array(__TwigTemplate_d2c9a4d1d58e81c8f9bdb571e1a3b1968ba756679182562f16a869b34245707a,
"block_ajaxindicator"), "pjaxbegin" =>
array(__TwigTemplate_d2c9a4d1d58e81c8f9bdb571e1a3b1968ba756679182562f16a869b34245707a,
"block_pjaxbegin"), "body" =>
array(__TwigTemplate_d2c9a4d1d58e81c8f9bdb571e1a3b1968ba756679182562f16a869b34245707a,
"block_body"), ...)) </div>
<div class="code"><pre><span class="ln">187</span> // line 107
<span class="ln">188</span> echo "
<span class="ln">189</span> <!-- Outer Frame Container -->
<span class="ln">190</span> ";
<span class="ln">191</span> // line 109
<span class="error"><span class="ln error-ln">192</span> $this->displayBlock('content', $context, $blocks);
</span><span class="ln">193</span> // line 117
<span class="ln">194</span> echo "
<span class="ln">195</span> ";
<span class="ln">196</span> // line 119
<span class="ln">197</span> echo " ";
</pre></div> </td>
</tr>
<tr class="trace app collapsed">
<td class="number">
#34 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/application/third_party/Twig/Template.php(215): <strong>__TwigTemplate_d2c9a4d1d58e81c8f9bdb571e1a3b1968ba756679182562f16a869b34245707a</strong>-><strong>block_body</strong>(array("oSurvey"
=> Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format"
=> "S", "template" => "vanilla", "language" => "en", ...),
"App" => LSYii_Application, "C" =>
ETwigViewRendererYiiCoreStaticClassesProxy, ...), array("head" =>
array(__TwigTemplate_d2c9a4d1d58e81c8f9bdb571e1a3b1968ba756679182562f16a869b34245707a,
"block_head"), "ajaxindicator" =>
array(__TwigTemplate_d2c9a4d1d58e81c8f9bdb571e1a3b1968ba756679182562f16a869b34245707a,
"block_ajaxindicator"), "pjaxbegin" =>
array(__TwigTemplate_d2c9a4d1d58e81c8f9bdb571e1a3b1968ba756679182562f16a869b34245707a,
"block_pjaxbegin"), "body" =>
array(__TwigTemplate_d2c9a4d1d58e81c8f9bdb571e1a3b1968ba756679182562f16a869b34245707a,
"block_body"), ...)) </div>
<div class="code"><pre><span class="ln">210</span> throw new LogicException('A block must be a method on a Twig_Template instance.');
<span class="ln">211</span> }
<span class="ln">212</span>
<span class="ln">213</span> if (null !== $template) {
<span class="ln">214</span> try {
<span class="error"><span class="ln error-ln">215</span> $template->$block($context, $blocks);
</span><span class="ln">216</span> } catch (Twig_Error $e) {
<span class="ln">217</span> if (!$e->getSourceContext()) {
<span class="ln">218</span> $e->setSourceContext($template->getSourceContext());
<span class="ln">219</span> }
<span class="ln">220</span>
</pre></div> </td>
</tr>
<tr class="trace app collapsed">
<td class="number">
#35 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/tmp/runtime/twig_cache/1e/1e364b00235392bd01c1773535864e2947074f7b743c41f4f295b1957ec59fa2.php(116):
<strong>Twig_Template</strong>-><strong>displayBlock</strong>("body",
array("oSurvey" => Survey, "aSurveyInfo" => array("htmlemail"
=> "Y", "format" => "S", "template" => "vanilla", "language"
=> "en", ...), "App" => LSYii_Application, "C" =>
ETwigViewRendererYiiCoreStaticClassesProxy, ...), array("head" =>
array(__TwigTemplate_d2c9a4d1d58e81c8f9bdb571e1a3b1968ba756679182562f16a869b34245707a,
"block_head"), "ajaxindicator" =>
array(__TwigTemplate_d2c9a4d1d58e81c8f9bdb571e1a3b1968ba756679182562f16a869b34245707a,
"block_ajaxindicator"), "pjaxbegin" =>
array(__TwigTemplate_d2c9a4d1d58e81c8f9bdb571e1a3b1968ba756679182562f16a869b34245707a,
"block_pjaxbegin"), "body" =>
array(__TwigTemplate_d2c9a4d1d58e81c8f9bdb571e1a3b1968ba756679182562f16a869b34245707a,
"block_body"), ...)) </div>
<div class="code"><pre><span class="ln">111</span> // line 95
<span class="ln">112</span> echo $this->env->getExtension('Twig_Extension_Sandbox')->ensureToStringAllowed($this->getAttribute($this->getAttribute((isset($context["aSurveyInfo"]) ? $context["aSurveyInfo"] : null), "id", array()), "dynamicreload", array()));
<span class="ln">113</span> echo "\">
<span class="ln">114</span> ";
<span class="ln">115</span> // line 96
<span class="error"><span class="ln error-ln">116</span> $this->displayBlock('body', $context, $blocks);
</span><span class="ln">117</span> // line 130
<span class="ln">118</span> echo " </div>
<span class="ln">119</span>
<span class="ln">120</span> </article>
<span class="ln">121</span>
</pre></div> </td>
</tr>
<tr class="trace app collapsed">
<td class="number">
#36 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/application/third_party/Twig/Template.php(438): <strong>__TwigTemplate_d2c9a4d1d58e81c8f9bdb571e1a3b1968ba756679182562f16a869b34245707a</strong>-><strong>doDisplay</strong>(array("oSurvey"
=> Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format"
=> "S", "template" => "vanilla", "language" => "en", ...),
"App" => LSYii_Application, "C" =>
ETwigViewRendererYiiCoreStaticClassesProxy, ...), array("head" =>
array(__TwigTemplate_d2c9a4d1d58e81c8f9bdb571e1a3b1968ba756679182562f16a869b34245707a,
"block_head"), "ajaxindicator" =>
array(__TwigTemplate_d2c9a4d1d58e81c8f9bdb571e1a3b1968ba756679182562f16a869b34245707a,
"block_ajaxindicator"), "pjaxbegin" =>
array(__TwigTemplate_d2c9a4d1d58e81c8f9bdb571e1a3b1968ba756679182562f16a869b34245707a,
"block_pjaxbegin"), "body" =>
array(__TwigTemplate_d2c9a4d1d58e81c8f9bdb571e1a3b1968ba756679182562f16a869b34245707a,
"block_body"), ...)) </div>
<div class="code"><pre><span class="ln">433</span> }
<span class="ln">434</span>
<span class="ln">435</span> protected function displayWithErrorHandling(array $context, array $blocks = array())
<span class="ln">436</span> {
<span class="ln">437</span> try {
<span class="error"><span class="ln error-ln">438</span> $this->doDisplay($context, $blocks);
</span><span class="ln">439</span> } catch (Twig_Error $e) {
<span class="ln">440</span> if (!$e->getSourceContext()) {
<span class="ln">441</span> $e->setSourceContext($this->getSourceContext());
<span class="ln">442</span> }
<span class="ln">443</span>
</pre></div> </td>
</tr>
<tr class="trace app collapsed">
<td class="number">
#37 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/application/third_party/Twig/Template.php(406): <strong>Twig_Template</strong>-><strong>displayWithErrorHandling</strong>(array("oSurvey"
=> Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format"
=> "S", "template" => "vanilla", "language" => "en", ...),
"App" => LSYii_Application, "C" =>
ETwigViewRendererYiiCoreStaticClassesProxy, ...), array("head" =>
array(__TwigTemplate_d2c9a4d1d58e81c8f9bdb571e1a3b1968ba756679182562f16a869b34245707a,
"block_head"), "ajaxindicator" =>
array(__TwigTemplate_d2c9a4d1d58e81c8f9bdb571e1a3b1968ba756679182562f16a869b34245707a,
"block_ajaxindicator"), "pjaxbegin" =>
array(__TwigTemplate_d2c9a4d1d58e81c8f9bdb571e1a3b1968ba756679182562f16a869b34245707a,
"block_pjaxbegin"), "body" =>
array(__TwigTemplate_d2c9a4d1d58e81c8f9bdb571e1a3b1968ba756679182562f16a869b34245707a,
"block_body"), ...)) </div>
<div class="code"><pre><span class="ln">401</span> /**
<span class="ln">402</span> * {@inheritdoc}
<span class="ln">403</span> */
<span class="ln">404</span> public function display(array $context, array $blocks = array())
<span class="ln">405</span> {
<span class="error"><span class="ln error-ln">406</span> $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
</span><span class="ln">407</span> }
<span class="ln">408</span>
<span class="ln">409</span> /**
<span class="ln">410</span> * {@inheritdoc}
<span class="ln">411</span> */
</pre></div> </td>
</tr>
<tr class="trace app collapsed">
<td class="number">
#38 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/application/third_party/Twig/Template.php(417): <strong>Twig_Template</strong>-><strong>display</strong>(array("oSurvey"
=> Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format"
=> "S", "template" => "vanilla", "language" => "en", ...)))
</div>
<div class="code"><pre><span class="ln">412</span> public function render(array $context)
<span class="ln">413</span> {
<span class="ln">414</span> $level = ob_get_level();
<span class="ln">415</span> ob_start();
<span class="ln">416</span> try {
<span class="error"><span class="ln error-ln">417</span> $this->display($context);
</span><span class="ln">418</span> } catch (Exception $e) {
<span class="ln">419</span> while (ob_get_level() > $level) {
<span class="ln">420</span> ob_end_clean();
<span class="ln">421</span> }
<span class="ln">422</span>
</pre></div> </td>
</tr>
<tr class="trace app collapsed">
<td class="number">
#39 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/application/core/LSETwigViewRenderer.php(232): <strong>Twig_Template</strong>-><strong>render</strong>(array("oSurvey"
=> Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format"
=> "S", "template" => "vanilla", "language" => "en", ...)),
false) </div>
<div class="code"><pre><span class="ln">227</span> // Plugin for blocks replacement
<span class="ln">228</span> list($sString, $aDatas) = $this->getPluginsData($sString, $aDatas);
<span class="ln">229</span>
<span class="ln">230</span> // Twig rendering
<span class="ln">231</span> $oTwigTemplate = $twig->createTemplate($sString);
<span class="error"><span class="ln error-ln">232</span> $sHtml = $oTwigTemplate->render($aDatas, false);
</span><span class="ln">233</span>
<span class="ln">234</span> return $sHtml;
<span class="ln">235</span> }
<span class="ln">236</span>
<span class="ln">237</span> /**
</pre></div> </td>
</tr>
<tr class="trace app collapsed">
<td class="number">
#40 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/application/core/LSETwigViewRenderer.php(42): <strong>LSETwigViewRenderer</strong>-><strong>convertTwigToHtml</strong>("{#
LimeSurvey
Copyright (C) 2007-2017 The LimeSurvey Pro...", array("oSurvey"
=> Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format"
=> "S", "template" => "vanilla", "language" => "en", ...)),
TemplateConfiguration) </div>
<div class="code"><pre><span class="ln">37</span> {
<span class="ln">38</span> $oTemplate = Template::model()->getInstance();
<span class="ln">39</span> $oLayoutTemplate = $this->getTemplateForView($sLayout, $oTemplate);
<span class="ln">40</span> if ($oLayoutTemplate) {
<span class="ln">41</span> $line = file_get_contents($oLayoutTemplate->viewPath.$sLayout);
<span class="error"><span class="ln error-ln">42</span> $sHtml = $this->convertTwigToHtml($line, $aDatas, $oTemplate);
</span><span class="ln">43</span>
<span class="ln">44</span> if ($bReturn) {
<span class="ln">45</span> return $sHtml;
<span class="ln">46</span> } else {
<span class="ln">47</span> $this->renderHtmlPage($sHtml, $oTemplate);
</pre></div> </td>
</tr>
<tr class="trace app collapsed">
<td class="number">
#41 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/application/helpers/SurveyRuntimeHelper.php(474): <strong>LSETwigViewRenderer</strong>-><strong>renderTemplateFromFile</strong>("layout_global.twig",
array("oSurvey" => Survey, "aSurveyInfo" => array("htmlemail"
=> "Y", "format" => "S", "template" => "vanilla", "language"
=> "en", ...)), false) </div>
<div class="code"><pre><span class="ln">469</span> $this->aSurveyInfo['aLEM']['debugvalidation']['show'] = true;
<span class="ln">470</span> $this->aSurveyInfo['aLEM']['debugvalidation']['message'] = $this->aMoveResult['message'];
<span class="ln">471</span> }
<span class="ln">472</span>
<span class="ln">473</span> $this->aSurveyInfo['include_content'] = 'main';
<span class="error"><span class="ln error-ln">474</span> Yii::app()->twigRenderer->renderTemplateFromFile("layout_global.twig", array('oSurvey'=> Survey::model()->findByPk($this->iSurveyid), 'aSurveyInfo'=>$this->aSurveyInfo), false);
</span><span class="ln">475</span> }
<span class="ln">476</span>
<span class="ln">477</span> public function getShowNumAndCode()
<span class="ln">478</span> {
<span class="ln">479</span>
</pre></div> </td>
</tr>
<tr class="trace app collapsed">
<td class="number">
#42 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/application/controllers/survey/index.php(600): <strong>SurveyRuntimeHelper</strong>-><strong>run</strong>("82556",
array("surveyid" => "82556", "thissurvey" => array("htmlemail"
=> "Y", "format" => "S", "template" => "vanilla", "language"
=> "en", ...), "thisstep" => "0", "tokensexist" => 0, ...)) </div>
<div class="code"><pre><span class="ln">595</span> unset($redata);
<span class="ln">596</span> $redata = compact(array_keys(get_defined_vars()));
<span class="ln">597</span> Yii::import('application.helpers.SurveyRuntimeHelper');
<span class="ln">598</span> $tmp = new SurveyRuntimeHelper();
<span class="ln">599</span> // try {
<span class="error"><span class="ln error-ln">600</span> $tmp->run($surveyid, $redata);
</span><span class="ln">601</span> // } catch (WrongTemplateVersionException $ex) {
<span class="ln">602</span> // echo $ex->getMessage();
<span class="ln">603</span> // }
<span class="ln">604</span>
<span class="ln">605</span> if (App()->request->getPost('saveall')) {
</pre></div> </td>
</tr>
<tr class="trace app collapsed">
<td class="number">
#43 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/application/controllers/survey/index.php(24): <strong>index</strong>-><strong>action</strong>() </div>
<div class="code"><pre><span class="ln">19</span> public $oTemplate;
<span class="ln">20</span>
<span class="ln">21</span> public function run()
<span class="ln">22</span> {
<span class="ln">23</span> useFirebug();
<span class="error"><span class="ln error-ln">24</span> $this->action();
</span><span class="ln">25</span> }
<span class="ln">26</span>
<span class="ln">27</span> public function action()
<span class="ln">28</span> {
<span class="ln">29</span> global $surveyid;
</pre></div> </td>
</tr>
<tr class="trace core collapsed">
<td class="number">
#44 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/framework/web/actions/CAction.php(76): <strong>index</strong>-><strong>run</strong>() </div>
<div class="code"><pre><span class="ln">71</span> {
<span class="ln">72</span> $method=new ReflectionMethod($this, 'run');
<span class="ln">73</span> if($method->getNumberOfParameters()>0)
<span class="ln">74</span> return $this->runWithParamsInternal($this, $method, $params);
<span class="ln">75</span>
<span class="error"><span class="ln error-ln">76</span> $this->run();
</span><span class="ln">77</span> return true;
<span class="ln">78</span> }
<span class="ln">79</span>
<span class="ln">80</span> /**
<span class="ln">81</span> * Executes a method of an object with the supplied named parameters.
</pre></div> </td>
</tr>
<tr class="trace core collapsed">
<td class="number">
#45 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/framework/web/CController.php(308): <strong>CAction</strong>-><strong>runWithParams</strong>(array("sid" => "82556")) </div>
<div class="code"><pre><span class="ln">303</span> {
<span class="ln">304</span> $priorAction=$this->_action;
<span class="ln">305</span> $this->_action=$action;
<span class="ln">306</span> if($this->beforeAction($action))
<span class="ln">307</span> {
<span class="error"><span class="ln error-ln">308</span> if($action->runWithParams($this->getActionParams())===false)
</span><span class="ln">309</span> $this->invalidActionParams($action);
<span class="ln">310</span> else
<span class="ln">311</span> $this->afterAction($action);
<span class="ln">312</span> }
<span class="ln">313</span> $this->_action=$priorAction;
</pre></div> </td>
</tr>
<tr class="trace core collapsed">
<td class="number">
#46 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/framework/web/CController.php(286): <strong>CController</strong>-><strong>runAction</strong>(index) </div>
<div class="code"><pre><span class="ln">281</span> * @see runAction
<span class="ln">282</span> */
<span class="ln">283</span> public function runActionWithFilters($action,$filters)
<span class="ln">284</span> {
<span class="ln">285</span> if(empty($filters))
<span class="error"><span class="ln error-ln">286</span> $this->runAction($action);
</span><span class="ln">287</span> else
<span class="ln">288</span> {
<span class="ln">289</span> $priorAction=$this->_action;
<span class="ln">290</span> $this->_action=$action;
<span class="ln">291</span> CFilterChain::create($this,$action,$filters)->run();
</pre></div> </td>
</tr>
<tr class="trace core collapsed">
<td class="number">
#47 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/framework/web/CController.php(265): <strong>CController</strong>-><strong>runActionWithFilters</strong>(index, array()) </div>
<div class="code"><pre><span class="ln">260</span> {
<span class="ln">261</span> if(($parent=$this->getModule())===null)
<span class="ln">262</span> $parent=Yii::app();
<span class="ln">263</span> if($parent->beforeControllerAction($this,$action))
<span class="ln">264</span> {
<span class="error"><span class="ln error-ln">265</span> $this->runActionWithFilters($action,$this->filters());
</span><span class="ln">266</span> $parent->afterControllerAction($this,$action);
<span class="ln">267</span> }
<span class="ln">268</span> }
<span class="ln">269</span> else
<span class="ln">270</span> $this->missingAction($actionID);
</pre></div> </td>
</tr>
<tr class="trace core collapsed">
<td class="number">
#48 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/framework/web/CWebApplication.php(282): <strong>CController</strong>-><strong>run</strong>("index") </div>
<div class="code"><pre><span class="ln">277</span> {
<span class="ln">278</span> list($controller,$actionID)=$ca;
<span class="ln">279</span> $oldController=$this->_controller;
<span class="ln">280</span> $this->_controller=$controller;
<span class="ln">281</span> $controller->init();
<span class="error"><span class="ln error-ln">282</span> $controller->run($actionID);
</span><span class="ln">283</span> $this->_controller=$oldController;
<span class="ln">284</span> }
<span class="ln">285</span> else
<span class="ln">286</span> throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".',
<span class="ln">287</span> array('{route}'=>$route===''?$this->defaultController:$route)));
</pre></div> </td>
</tr>
<tr class="trace core collapsed">
<td class="number">
#49 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/framework/web/CWebApplication.php(141): <strong>CWebApplication</strong>-><strong>runController</strong>("survey/index/sid/82556") </div>
<div class="code"><pre><span class="ln">136</span> foreach(array_splice($this->catchAllRequest,1) as $name=>$value)
<span class="ln">137</span> $_GET[$name]=$value;
<span class="ln">138</span> }
<span class="ln">139</span> else
<span class="ln">140</span> $route=$this->getUrlManager()->parseUrl($this->getRequest());
<span class="error"><span class="ln error-ln">141</span> $this->runController($route);
</span><span class="ln">142</span> }
<span class="ln">143</span>
<span class="ln">144</span> /**
<span class="ln">145</span> * Registers the core application components.
<span class="ln">146</span> * This method overrides the parent implementation by registering additional core components.
</pre></div> </td>
</tr>
<tr class="trace core collapsed">
<td class="number">
#50 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/framework/base/CApplication.php(185): <strong>CWebApplication</strong>-><strong>processRequest</strong>() </div>
<div class="code"><pre><span class="ln">180</span> public function run()
<span class="ln">181</span> {
<span class="ln">182</span> if($this->hasEventHandler('onBeginRequest'))
<span class="ln">183</span> $this->onBeginRequest(new CEvent($this));
<span class="ln">184</span> register_shutdown_function(array($this,'end'),0,false);
<span class="error"><span class="ln error-ln">185</span> $this->processRequest();
</span><span class="ln">186</span> if($this->hasEventHandler('onEndRequest'))
<span class="ln">187</span> $this->onEndRequest(new CEvent($this));
<span class="ln">188</span> }
<span class="ln">189</span>
<span class="ln">190</span> /**
</pre></div> </td>
</tr>
<tr class="trace app collapsed">
<td class="number">
#51 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/index.php(194): <strong>CApplication</strong>-><strong>run</strong>() </div>
<div class="code"><pre><span class="ln">189</span> require_once APPPATH . 'core/LSYii_Application' . EXT;
<span class="ln">190</span>
<span class="ln">191</span> $config = require_once(APPPATH . 'config/internal' . EXT);
<span class="ln">192</span>
<span class="ln">193</span> Yii::$enableIncludePath = false;
<span class="error"><span class="ln error-ln">194</span> Yii::createApplication('LSYii_Application', $config)->run();
</span><span class="ln">195</span>
<span class="ln">196</span> /* End of file index.php */
<span class="ln">197</span> /* Location: ./index.php */
</pre></div> </td>
</tr>
</tbody></table>
</div>
<div class="version">
2018-03-27 15:39:31 Apache/2.2.22 (Debian) <a href="http://www.yiiframework.com/">Yii Framework</a>/1.1.18 </div>
</div>
<script type="text/javascript">
/*<![CDATA[*/
var traceReg = new RegExp("(^|\\s)trace-file(\\s|$)");
var collapsedReg = new RegExp("(^|\\s)collapsed(\\s|$)");
var e = document.getElementsByTagName("div");
for(var j=0,len=e.length;j<len;j++){
if(traceReg.test(e[j].className)){
e[j].onclick = function(){
var trace = this.parentNode.parentNode;
if(collapsedReg.test(trace.className))
trace.className = trace.className.replace("collapsed", "expanded");
else
trace.className = trace.className.replace("expanded", "collapsed");
}
}
}
/*]]>*/
</script>
</body></html> Test other shown.html (7,162 bytes)
<!DOCTYPE html>
<html dir="ltr" class="en dir-ltr no-js " lang="en"><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="LimeSurvey http://www.limesurvey.org">
<title>
Test other shown
</title>
<link rel="shortcut icon" href="https://master.sondages.pro/upload/themes/survey/flatEllipsizeText_vanilla/files/favicon.ico">
<script type="text/javascript">
if(window.basicThemeScripts === undefined){
window.basicThemeScripts = new ThemeScripts();
}
</script>
<script type="text/javascript">
var ajaxHandler = new AjaxSubmitObject();
$(document).on('ready pjax:scriptcomplete', function () {
ajaxHandler.bindActions();
});
</script>
<style>
body .top-container {
margin-top: 70px;
}
</style>
</head>
<body style="padding-top: 90px;" class=" flatEllipsizeText_vanilla vanilla font-noto lang-en brand-logo">
<script>
$.ajaxSetup({
beforeSend:function(){
// show gif here, eg:
$("#ajax-loading").show();
},
complete:function(){
// hide gif here, eg:
$("#ajax-loading").hide();
}
});
</script>
<div id="ajax-loading" hidden=""></div>
<div id="beginScripts" class="script-container">
<###begin###>
</div>
<article>
<div id="dynamicReloadContainer">
<!-- Bootstrap Navigation Bar -->
<div class=" navbar navbar-default navbar-fixed-top">
<div class=" navbar-header ">
<button type="button" class=" navbar-toggle collapsed " data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<div class=" navbar-brand logo-container hidden-xs">
<img class="logo img-responsive" src="Test%20other%20shown_fichiers/logo.png" alt="Test other shown">
</div>
</div>
<div id="navbar" class=" collapse navbar-collapse ">
<ul class=" nav navbar-nav navbar-action-link navbar-right">
<!-- Load unfinished survey button -->
<li class=" ls-no-js-hidden ">
<a href="#" data-limesurvey-submit="{ "loadall":"loadall" }" class=" ls-link-action ls-link-loadall animate">
Load unfinished survey
</a>
</li>
<!-- Exit and clear survey -->
<li class=" ls-no-js-hidden ">
<a href="#" data-limesurvey-submit="{ "clearall":"clearall" }" data-confirmedby="{ "confirm-clearall":"confirm" }" data-confirmlabel="Please confirm you want to clear your response?" class=" ls-link-action ls-link-clearall animate">
Exit and clear survey
</a>
</li>
</ul>
</div>
</div>
<!-- Top container -->
<div class=" top-container space-col">
<div class=" container-fluid">
<div class=" progress ">
<div class=" progress-bar " role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="min-width: 2em; width: 0%;">
0%
</div>
</div>
</div> <!-- must hide it without javascript -->
</div>
<!-- Outer Frame Container -->
<!-- outer frame container -->
<div class=" outerframe container " id="outerframeContainer">
<!-- Main Row -->
<div id="main-row">
<!-- Main Col -->
<div class=" col-centered space-col" id="main-col">
<!-- Preview mode warning -->
<div class=" alert alert-warning alert-dismissible fade in alert-dismissible" role="alert">
<button type="button" data-dismiss="alert" aria-label="Close" class=" close"><span aria-hidden="true">×</span></button>
This survey is currently not active. You will not be able to save your responses.
</div>
<!-- Start of the main Form-->
<form id="limesurvey" name="limesurvey" autocomplete="off" class="survey-form-container form" action="/943197" method="post">
<input value="VFp5Q1ZRfmYxaUU5SkFXSDB6TVp-a0VDSkR-UGxLcnhf4BqV7towYKCjM_nz_mdHPWkaAuQcEr1GZJxXfnwIiQ==" name="YII_CSRF_TOKEN" type="hidden">
<!-- Ajax value -->
<input name="ajax" value="on" id="ajax" type="hidden">
<!-- Field Names -->
<input name="fieldnames" value="" id="fieldnames" type="hidden">
<!-- Submit button -->
<button type="submit" id="defaultbtn" value="default" name="move" class="submit hidden" style="display:none">default</button>
<!-- main form -->
<input name="sid" value="943197" id="sid" type="hidden">
<input name="lastgroupname" value="_WELCOME_SCREEN_" id="lastgroupname" type="hidden">
<input name="LEMpostKey" value="1004971023" id="LEMpostKey" type="hidden">
<input name="thisstep" id="thisstep" value="0" type="hidden">
<script type="text/javascript">
<!--
var LEMmode='question';
window.ExprMgr_process_relevance_and_tailoring = function(evt_type,sgqa,type){
if (typeof LEM_initialized == 'undefined') {
LEM_initialized=true;
LEMsetTabIndexes();
}
if (evt_type == 'onchange' && (typeof last_sgqa !== 'undefined' && sgqa==last_sgqa) && (typeof last_evt_type !== 'undefined' && last_evt_type == 'TAB' && type != 'checkbox')) {
last_evt_type='onchange';
last_sgqa=sgqa;
return;
}
last_evt_type = evt_type;
last_sgqa=sgqa;
}
//-->
</script>
<input id="aQuestionsWithDependencies" data-qids="[]" type="hidden">
<!-- No JavaScript alert -->
<div class=" ls-js-hidden warningjs alert alert-danger " data-type="checkjavascript">
Caution: JavaScript execution is disabled in your browser or for
this website. You may not be able to answer all questions in this
survey. Please, verify your browser parameters.
</div>
<!-- Welcome Message -->
<div id="welcome-container " class="">
<!-- Survey Name -->
<h1 class=" survey-name text-center">
<br>
<b>Fatal error</b>: Class 'viewHelper' not found in <b>/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/tmp/runtime/twig_cache/08/08a8c55ee716fe85c159851baa3ad104bb9a9009560efe0fb7aaad6ad171f77f.php</b> on line <b>63</b><br>
</h1></div></form></div></div></div></div></article></body></html> | ||||
| Bug heat | 4 | ||||
| Complete LimeSurvey version number (& build) | 3.5.4 github | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | not relevant | ||||
| Database type & version | not relevant | ||||
| Server OS (if known) | not relevant | ||||
| Webserver software & version (if known) | not relevant | ||||
| PHP Version | not relevant | ||||
| related to | 13542 | closed | DenisChenu | Question index (head) show diable even if work |
|
Without using old flattenText If : OK ; assign it to me. |
|
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=26981 |
|
|
Version 3.8.1+180524 released |
|
|
LimeSurvey: master 092ea046 2018-04-11 19:37 Details Diff |
Fixed issue 13544: Unable to use flatEllipsizeText function in (some) twig file Dev: Add 2 function : flatString and ellipsizeString Dev: move flatEllipsizeText to LS_Twig_Extension Dev: set it at deprecated (4.0) |
Affected Issues 13544 |
|
| mod - application/config/internal.php | Diff File | ||
| mod - application/core/LS_Twig_Extension.php | Diff File | ||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2018-03-27 15:49 | DenisChenu | New Issue | |
| 2018-03-27 15:49 | DenisChenu | Status | new => assigned |
| 2018-03-27 15:49 | DenisChenu | Assigned To | => LouisGac |
| 2018-03-27 15:49 | DenisChenu | File Added: PHP warning.html | |
| 2018-03-27 15:49 | DenisChenu | File Added: Test other shown.html | |
| 2018-03-30 14:28 | DenisChenu | Note Added: 47298 | |
| 2018-03-30 14:53 | DenisChenu | Relationship added | related to 13542 |
| 2018-03-30 14:53 | DenisChenu | Assigned To | LouisGac => DenisChenu |
| 2018-03-30 15:41 | DenisChenu | Assigned To | DenisChenu => LouisGac |
| 2018-03-30 15:41 | DenisChenu | Status | assigned => feedback |
| 2018-03-30 15:41 | DenisChenu | Note Added: 47299 | |
| 2018-04-10 18:38 | DenisChenu | Assigned To | LouisGac => DenisChenu |
| 2018-04-10 18:39 | DenisChenu | Status | feedback => assigned |
| 2018-04-11 17:41 | DenisChenu | Changeset attached | => LimeSurvey master 092ea046 |
| 2018-04-11 17:41 | DenisChenu | Note Added: 47405 | |
| 2018-04-11 17:41 | DenisChenu | Resolution | open => fixed |
| 2018-04-11 18:39 | DenisChenu | Status | assigned => resolved |
| 2018-04-11 18:39 | DenisChenu | Fixed in Version | => 3.6.x |
| 2018-05-25 11:30 | c_schmitz | Note Added: 47844 | |
| 2018-05-25 11:30 | c_schmitz | Status | resolved => closed |