Fatal error: Uncaught mysqli_sql_exception: Unknown column 'categoria_id' in 'WHERE' in /home/webmagnetix/public_html/control-gastos/app/core/Database.php:56
Stack trace:
#0 /home/webmagnetix/public_html/control-gastos/app/core/Database.php(56): mysqli_query(Object(mysqli), 'SELECT COUNT(*)...')
#1 /home/webmagnetix/public_html/control-gastos/app/models/CategoriaAcceso.php(91): Database->query('SELECT COUNT(*)...')
#2 /home/webmagnetix/public_html/control-gastos/app/controllers/CategoriasAccesosController.php(112): CategoriaAcceso->tieneAccesos(11)
#3 /home/webmagnetix/public_html/control-gastos/app/core/Router.php(76): CategoriasAccesosController->eliminar('11')
#4 /home/webmagnetix/public_html/control-gastos/public/index.php(85): Router->dispatch()
#5 {main}
thrown in /home/webmagnetix/public_html/control-gastos/app/core/Database.php on line 56