Twig_Error_Loader

Unable to find template "/survey/questions/question_help/asterisk" (looked into: /mnt/data/shnoulle/nginx/www/develop/themes/survey/vanilla/views, /mnt/data/shnoulle/nginx/www/develop/application/views).

/mnt/data/shnoulle/nginx/www/develop/application/third_party/Twig/Loader/Filesystem.php(247)

235                 }
236 
237                 return $this->cache[$name] = $path.'/'.$shortname;
238             }
239         }
240 
241         $this->errorCache[$name] = sprintf('Unable to find template "%s" (looked into: %s).', $name, implode(', ', $this->paths[$namespace]));
242 
243         if (!$throw) {
244             return false;
245         }
246 
247         throw new Twig_Error_Loader($this->errorCache[$name]);
248     }
249 
250     protected function parseName($name, $default = self::MAIN_NAMESPACE)
251     {
252         if (isset($name[0]) && '@' == $name[0]) {
253             if (false === $pos = strpos($name, '/')) {
254                 throw new Twig_Error_Loader(sprintf('Malformed namespaced template name "%s" (expecting "@namespace/template_name").', $name));
255             }
256 
257             $namespace = substr($name, 1, $pos - 1);
258             $shortname = substr($name, $pos + 1);
259 

Stack Trace

#0
+
 /mnt/data/shnoulle/nginx/www/develop/application/third_party/Twig/Loader/Filesystem.php(159): Twig_Loader_Filesystem->findTemplate("/survey/questions/question_help/asterisk")
154     /**
155      * {@inheritdoc}
156      */
157     public function getCacheKey($name)
158     {
159         $path = $this->findTemplate($name);
160         $len = strlen($this->rootPath);
161         if (0 === strncmp($this->rootPath, $path, $len)) {
162             return substr($path, $len);
163         }
164 
#1
+
 /mnt/data/shnoulle/nginx/www/develop/application/third_party/Twig/Environment.php(329): Twig_Loader_Filesystem->getCacheKey("/survey/questions/question_help/asterisk")
324      *
325      * @return string The template class name
326      */
327     public function getTemplateClass($name, $index = null)
328     {
329         $key = $this->getLoader()->getCacheKey($name).$this->optionsHash;
330 
331         return $this->templateClassPrefix.hash('sha256', $key).(null === $index ? '' : '_'.$index);
332     }
333 
334     /**
#2
+
 /mnt/data/shnoulle/nginx/www/develop/application/third_party/Twig/Environment.php(418): Twig_Environment->getTemplateClass("/survey/questions/question_help/asterisk", null)
413      *
414      * @internal
415      */
416     public function loadTemplate($name, $index = null)
417     {
418         $cls = $this->getTemplateClass($name, $index);
419 
420         if (isset($this->loadedTemplates[$cls])) {
421             return $this->loadedTemplates[$cls];
422         }
423 
2019-10-17 06:28:27 nginx/1.16.1 Yii Framework/1.1.21