Twig_Error_Runtime

An exception has been thrown during the rendering of a template ("[curl] 6: Could not resolve host: query.yahooapis.com [url] http://query.yahooapis.com/v1/public/yql?q=SELECT%20%2A%20FROM%20geo.placefinder%20WHERE%20text%3D%2250.443513052458000%2C30.498046875000000%22%20AND%20gflags%3D%22R%22&format=json") in "forum/country/_layout.twig" at line 58.

/var/www/u1302250/data/home/wb/waysbook/server/vendor/twig/twig/lib/Twig/Template.php(148)

136             $block = $this->blocks[$name][1];
137         } else {
138             $template = null;
139             $block = null;
140         }
141 
142         if (null !== $template) {
143             try {
144                 $template->$block($context, $blocks);
145             } catch (Twig_Error $e) {
146                 throw $e;
147             } catch (Exception $e) {
148                 throw new Twig_Error_Runtime(sprintf('An exception has been thrown during the rendering of a template ("%s").', $e->getMessage()), -1, $template->getTemplateName(), $e);
149             }
150         } elseif (false !== $parent = $this->getParent($context)) {
151             $parent->displayBlock($name, $context, array_merge($this->blocks, $blocks));
152         }
153     }
154 
155     /**
156      * Renders a parent block.
157      *
158      * This method is for internal use only and should never be called
159      * directly.
160      *

Stack Trace

#0
+
 /var/www/u1302250/data/home/wb/waysbook/server/protected/runtime/twigCache/e5/09/214370e9699ca5415b303b0ed59472f1550d9a5fa4b886fdaef521b234ba.php(83): Twig_Template->displayBlock("bodyContent", array("country" => Country, "forum_id" => "1", "this" => EncyclopediaController, "app" => Application, ...), array("forumContent" => array(__TwigTemplate_b5af929caede51524e9638347ea71983f98ce602b294d55adf81848366074860, "block_forumContent")))
78         echo "</head>
79 
80 <body>
81 ";
82         // line 36
83         $this->displayBlock('bodyContent', $context, $blocks);
84         // line 37
85         echo "<script>
86     window.params = {
87         userFollowUrl: '";
88         // line 39
#1
+
 /var/www/u1302250/data/home/wb/waysbook/server/vendor/twig/twig/lib/Twig/Template.php(278): __TwigTemplate_e509214370e9699ca5415b303b0ed59472f1550d9a5fa4b886fdaef521b234ba->doDisplay(array("country" => Country, "forum_id" => "1", "this" => EncyclopediaController, "app" => Application, ...), array("bodyContent" => array(__TwigTemplate_88f6c2199a7e509f91f412c27bd7647ac2b16987d2e12cc8a8555166918a81b5, "block_bodyContent"), "forumContent" => array(__TwigTemplate_b5af929caede51524e9638347ea71983f98ce602b294d55adf81848366074860, "block_forumContent")))
273     }
274 
275     protected function displayWithErrorHandling(array $context, array $blocks = array())
276     {
277         try {
278             $this->doDisplay($context, $blocks);
279         } catch (Twig_Error $e) {
280             if (!$e->getTemplateFile()) {
281                 $e->setTemplateFile($this->getTemplateName());
282             }
283 
#2
+
 /var/www/u1302250/data/home/wb/waysbook/server/vendor/twig/twig/lib/Twig/Template.php(252): Twig_Template->displayWithErrorHandling(array("country" => Country, "forum_id" => "1", "this" => EncyclopediaController, "app" => Application, ...), array("bodyContent" => array(__TwigTemplate_88f6c2199a7e509f91f412c27bd7647ac2b16987d2e12cc8a8555166918a81b5, "block_bodyContent"), "forumContent" => array(__TwigTemplate_b5af929caede51524e9638347ea71983f98ce602b294d55adf81848366074860, "block_forumContent")))
247     /**
248      * {@inheritdoc}
249      */
250     public function display(array $context, array $blocks = array())
251     {
252         $this->displayWithErrorHandling($this->env->mergeGlobals($context), $blocks);
253     }
254 
255     /**
256      * {@inheritdoc}
257      */
2024-03-29 09:24:29 Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips mod_fcgid/2.3.9 Phusion_Passenger/5.3.7 Yii Framework/1.1.14