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

MODPATH/frontend/classes/Frontend.php [ 260 ]

255 
256 	public static function academic_elite_status($user_id = FALSE)	{
257 		$order = ORM::factory('Order')
258 		->where('status', '=', 11)
259 		->join('order_details')->on('order_details.order_id', '=', 'order.id')
260 		->where('order_details.owner_id', '=', ($user_id) ? $user_id : User::get_user()->id)
261 		->where('order_details.product_id', 'IN', array(6))->order_by('id', 'desc')->find();
262 
263 		return $order->loaded();
264 	}
265 
  1. MODPATH/frontend/classes/Frontend.php [ 260 ] » Kohana_Core::error_handler(arguments)

  2. MODPATH/frontend/classes/Model/Frontend/Page.php [ 740 ] » Frontend::academic_elite_status()

  3. MODPATH/frontend/views/frontend/academic/kepzes.php [ 3 ] » Model_Frontend_Page->academy_access()

  4. SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)

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

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

  7. MODPATH/frontend/views/frontend/page.php [ 10 ] » Kohana_View->__toString()

  8. SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)

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

  10. MODPATH/frontend/classes/Controller/Frontend/Index.php [ 101 ] » Kohana_View->render()

  11. SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Frontend_Index->action_index()

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

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

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

  15. SYSPATH/classes/Kohana/Request.php [ 997 ] » Kohana_Request_Client->execute(arguments)

  16. DOCROOT/index.php [ 117 ] » Kohana_Request->execute()

Environment

Iratkozz fel a hírlevelünkre

... Megosztás