Notice!
ErrorException [ Notice ]: Trying to get property of non-object
APPPATH/classes/controller/productos.php @ line 163:
162: ->related('subcategory')
163: ->where('subcategory.category_id', $category->id)
164: ->where('id', '!=', 415)
Notice!
ErrorException [ Notice ]: Trying to get property of non-object
APPPATH/classes/controller/productos.php @ line 227:
226: $subcategories = Model_Subcategory::query()
227: ->where('category_id', $category->id)
228: ->order_by('name', 'asc')
Notice!
ErrorException [ Notice ]: Trying to get property of non-object
APPPATH/classes/controller/productos.php @ line 248:
247: $data['subcategories'] = $subcategories_info;
248: $data['category_name'] = $category->name;
249: $data['pagination'] = $pagination->render();