Notice: Undefined index: id in /var/www/vhosts/afer.pro/httpdocs/bookings.boatcharters.io/models/_indexModel.php on line 71

Fatal error: Uncaught Exception: Error en la funciĆ³n 'seleccionar_todos_db' -> Consulta SQL: SELECT * FROM facturacion_articulos_adjuntos WHERE tipo = "img" and categoria = "producto" and articulo_fk = ORDER BY orden ASC, id ASC in /var/www/vhosts/afer.pro/httpdocs/prosuite.aferapp.com/production/app/Libraries/Dbi.php:99 Stack trace: #0 /var/www/vhosts/afer.pro/httpdocs/prosuite.aferapp.com/production/lib/fn/fn_dbi.php(219): App\Dbi->seleccionar_todos_db() #1 /var/www/vhosts/afer.pro/httpdocs/bookings.boatcharters.io/models/_indexModel.php(71): seleccionar_todos_db() #2 /var/www/vhosts/afer.pro/httpdocs/bookings.boatcharters.io/controllers/pages/boatsController.php(42): dame_barco() #3 /var/www/vhosts/afer.pro/httpdocs/bookings.boatcharters.io/controllers/_indexController.php(198): include_once('/var/www/vhosts...') #4 /var/www/vhosts/afer.pro/httpdocs/bookings.boatcharters.io/index.php(44): require_once('/var/www/vhosts...') #5 /var/www/vhosts/afer.pro/httpdocs/clientes.boatcharters.io/nautiluxe/index.php(12): i in /var/www/vhosts/afer.pro/httpdocs/prosuite.aferapp.com/production/app/Libraries/Dbi.php on line 99