ErrorException [ Notice ]: Trying to get property of non-object

APPPATH/views/products/v_one_product.php [ 19 ]

14 				echo "<img src='/media/upload/".$image->source."' >";
15 			}
16 		?>
17 	</div>
18 		<div id="product_right_site">
19 			<h1><?= $one_product[0]->name; ?></h1>
20 			<p><?= $one_product[0]->description; ?></p>
21 			<?php 
22 				if (!empty($one_product[0]->delivery))
23 				{
24 /*v delivery*/					?>
  1. APPPATH/views/products/v_one_product.php [ 19 ] » Kohana_Core::error_handler()

  2. SYSPATH/classes/kohana/view.php [ 61 ] » include(arguments)

  3. SYSPATH/classes/kohana/view.php [ 343 ] » Kohana_View::capture(arguments)

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

  5. APPPATH/views/front/permanent.php [ 58 ] » Kohana_View->__toString()

  6. SYSPATH/classes/kohana/view.php [ 61 ] » include(arguments)

  7. SYSPATH/classes/kohana/view.php [ 343 ] » Kohana_View::capture(arguments)

  8. SYSPATH/classes/kohana/controller/template.php [ 44 ] » Kohana_View->render()

  9. {PHP internal call} » Kohana_Controller_Template->after()

  10. SYSPATH/classes/kohana/request/client/internal.php [ 135 ] » ReflectionMethod->invoke(arguments)

  11. SYSPATH/classes/kohana/request.php [ 1138 ] » Kohana_Request_Client_Internal->execute(arguments)

  12. DOCROOT/index.php [ 109 ] » Kohana_Request->execute()

Environment