ErrorException [ Notice ]: Undefined variable: image

APPPATH/views/Nieuws/View.php [ 7 ]

 2 	$imageFile = $story->filename;
 3 	if ( file_exists(MEDIAPATH."/uploads/news/".$imageFile) ):
 4 		$image = $imageFile;
 5 		$src   = '/media/uploads/news/'.$imageFile;
 6 	else:
 7 		$src = '/media/uploads/news/'.$image;
 8 		$image = false;
 9 	endif;
10 	
11 ?>
12 <div class="row" itemscope itemtype="http://schema.org/NewsArticle">
  1. APPPATH/views/Nieuws/View.php [ 7 ] » Kohana_Core::error_handler(arguments)

  2. SYSPATH/classes/Kohana/View.php [ 61 ] » include(arguments)

  3. SYSPATH/classes/Kohana/View.php [ 348 ] » Kohana_View::capture(arguments)

  4. SYSPATH/classes/Kohana/View.php [ 228 ] » Kohana_View->render()

  5. APPPATH/cache/mustache/__Mustache_874cb6183fedb2a3d9796e37a03c697e.php [ 372 ] » Kohana_View->__toString()

  6. MODPATH/kostache/vendor/mustache/src/Mustache/Template.php [ 67 ] » __Mustache_874cb6183fedb2a3d9796e37a03c697e->renderInternal(arguments)

  7. MODPATH/kostache/classes/Kohana/Kostache/Layout.php [ 43 ] » Mustache_Template->render(arguments)

  8. MODPATH/cms/classes/FWM/Controller/Kostache.php [ 68 ] » Kohana_Kostache_Layout->render(arguments)

  9. APPPATH/classes/Controller/Template/Site.php [ 207 ] » FWM_Controller_Kostache->after()

  10. SYSPATH/classes/Kohana/Controller.php [ 87 ] » Controller_Template_Site->after()

  11. {PHP internal call} » Kohana_Controller->execute()

  12. SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)

  13. SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request(arguments)

  14. APPPATH/classes/Request.php [ 67 ] » Kohana_Request_Client->execute(arguments)

  15. DOCROOT/index.php [ 60 ] » Request->execute()

Environment