PHP warning

call_user_func_array() expects parameter 1 to be a valid callback, class 'viewHelper' not found

/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/tmp/runtime/twig_cache/44/44067399036a63315fca507b7e706b183f5e6042f82a3a63f62927bef66aa8df.php(114)

102                 // line 26
103                 echo "            <button type=\"submit\" name=\"move\" value=\"";
104                 echo $this->env->getExtension('Twig_Extension_Sandbox')->ensureToStringAllowed($this->getAttribute($context["indexQuestion"], "step", array()));
105                 echo "\" class=\"list-group-item ";
106                 echo $this->env->getExtension('Twig_Extension_Sandbox')->ensureToStringAllowed($this->getAttribute($context["indexQuestion"], "coreClass", array()));
107                 echo " ";
108                 echo $this->env->getExtension('Twig_Extension_Sandbox')->ensureToStringAllowed((isset($context["templateClass"]) ? $context["templateClass"] : null));
109                 echo "\" data-qid=\"";
110                 echo $this->env->getExtension('Twig_Extension_Sandbox')->ensureToStringAllowed($this->getAttribute($context["indexQuestion"], "qid", array()));
111                 echo "\">
112                 ";
113                 // line 27
114                 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)));
115                 echo "
116             </button>
117         ";
118             }
119             $_parent = $context['_parent'];
120             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['indexQuestion'], $context['_parent'], $context['loop']);
121             $context = array_intersect_key($context, $_parent) + $_parent;
122             // line 30
123             echo "    </div>
124     ";
125         }
126         $_parent = $context['_parent'];

Stack Trace

#0
+
 /home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/tmp/runtime/twig_cache/44/44067399036a63315fca507b7e706b183f5e6042f82a3a63f62927bef66aa8df.php(114): call_user_func_array("viewHelper::flatEllipsizeText", array("What city do you live in?", true, 30, " &hellip; ", ...))
109                 echo "\" data-qid=\"";
110                 echo $this->env->getExtension('Twig_Extension_Sandbox')->ensureToStringAllowed($this->getAttribute($context["indexQuestion"], "qid", array()));
111                 echo "\">
112                 ";
113                 // line 27
114                 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)));
115                 echo "
116             </button>
117         ";
118             }
119             $_parent = $context['_parent'];
#1
+
 /home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/application/third_party/Twig/Template.php(438): __TwigTemplate_01f908d7a9ce3a81ee7fc151e2a8328cafe09cc6049992679c26cb7ebda051b3->doDisplay(array("oSurvey" => Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format" => "S", "template" => "vanilla", "language" => "en", ...), "App" => LSYii_Application, "C" => ETwigViewRendererYiiCoreStaticClassesProxy, ...), array())
433     }
434 
435     protected function displayWithErrorHandling(array $context, array $blocks = array())
436     {
437         try {
438             $this->doDisplay($context, $blocks);
439         } catch (Twig_Error $e) {
440             if (!$e->getSourceContext()) {
441                 $e->setSourceContext($this->getSourceContext());
442             }
443 
#2
+
 /home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/application/third_party/Twig/Template.php(406): Twig_Template->displayWithErrorHandling(array("oSurvey" => Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format" => "S", "template" => "vanilla", "language" => "en", ...), "App" => LSYii_Application, "C" => ETwigViewRendererYiiCoreStaticClassesProxy, ...), array())
401     /**
402      * {@inheritdoc}
403      */
404     public function display(array $context, array $blocks = array())
405     {
406         $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
407     }
408 
409     /**
410      * {@inheritdoc}
411      */
2018-03-27 15:39:31 Apache/2.2.22 (Debian) Yii Framework/1.1.18