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

FCPATH/modules/product/models/product_model.php [ 152 ]

147         $this->db->where('status', 1);
148         $this->db->where('id', $category_id);
149         $this->db->order_by('sort_order', 'desc');
150         $query = $this->db->get('product_category');
151         $result = $query->row();
152         $res = $result->subject;
153         return $res;
154     }
155 
156     public function get_list_product_gallery($product_id = 0)
157     {
  1. FCPATH/modules/product/models/product_model.php [ 152 ] » MY_Exceptions::error_handler(arguments)

  2. FCPATH/modules/product/controllers/product.php [ 60 ] » product_model->get_category_name(arguments)

  3. {PHP internal call} » product->product_list(arguments)

  4. FCPATH/system/core/CodeIgniter.php [ 359 ] » call_user_func_array(arguments)

  5. FCPATH/index.php [ 217 ] » require_once(arguments)

Environment

ASIAJUMBO INDUSTRIES CO., LTD.

Products :