Notice: Trying to get property 'id' of non-object in C:\xampp\htdocs\tienda\core\modules\index\view\productos\widget-default.php on line 4
Fatal error: Uncaught Error: Call to a member function fetch_array() on bool in C:\xampp\htdocs\tienda\core\controller\Model.php:27
Stack trace:
#0 C:\xampp\htdocs\tienda\admin\core\modules\index\model\ProductData.php(61): Model::many(false, Object(ProductData))
#1 C:\xampp\htdocs\tienda\core\modules\index\view\productos\widget-default.php(4): ProductData::getPublicsByCategoryId(NULL)
#2 C:\xampp\htdocs\tienda\core\controller\View.php(21): include('C:\\xampp\\htdocs...')
#3 C:\xampp\htdocs\tienda\core\modules\index\view\layout.php(122): View::load('index')
#4 C:\xampp\htdocs\tienda\core\controller\Module.php(18): include('C:\\xampp\\htdocs...')
#5 C:\xampp\htdocs\tienda\core\modules\index\init.php(11): Module::loadLayout()
#6 C:\xampp\htdocs\tienda\core\controller\Lb.php(23): include('C:\\xampp\\htdocs...')
#7 C:\xampp\htdocs\tienda\index.php(8): Lb->loadModule('index')
#8 {main}
thrown in C:\xampp\htdocs\tienda\core\controller\Model.php on line 27