Twig_Error_Runtime [ 0 ]: An exception has been thrown during the rendering of a template ("Unable to call the method "image_uri" on the class News_model") in "news\/view.html" at line 12.

/srv/www/site/application/libraries/Twig/Template.php [ 182 ]

177         try {
178             $this->doDisplay($context, $blocks);
179         } catch (Twig_Error $e) {
180             throw $e;
181         } catch (Exception $e) {
182             throw new Twig_Error_Runtime(sprintf('An exception has been thrown during the rendering of a template ("%s").', $e->getMessage()), -1, null, $e);
183         }
184     }
185 
186     /**
187      * Renders the template with the given context and returns it as string.
  1. /srv/www/site/application/cache/twig/14/74/628f11584c5037d1e9f8244d637e.php [ 32 ] » Twig_Template->display(arguments)

  2. /srv/www/site/application/libraries/Twig/Template.php [ 178 ] » __TwigTemplate_1474628f11584c5037d1e9f8244d637e->doDisplay(arguments)

  3. /srv/www/site/application/libraries/Twig.php [ 56 ] » Twig_Template->display(arguments)

  4. /srv/www/site/application/modules/news/controllers/news.php [ 166 ] » Twig->display(arguments)

  5. /srv/www/site/system/core/CodeIgniter.php [ 359 ] » News->view(arguments)

  6. FCPATH/index.php [ 218 ] » require_once(arguments)

Environment