Fatal error: Uncaught exception 'Exception' with message 'SQL ERROR:
SELECT
fpdt_id,
fpdt_idfamilia
FROM
familia_producto
WHERE
fpdt_idproducto = 6862
ORDER BY
fpdt_id ASC
' in /var/www/vhosts/gesio/www/php_lib/productos/Producto.class.php:3466
Stack trace:
#0 /var/www/vhosts/gesio/www/php_lib/productos/Producto.class.php(3425): Producto->cargarFamilias(true)
#1 /var/www/vhosts/gesio/www/php_lib/productos/Producto.class.php(406): Producto->cargarCamposGenericos(Array, true)
#2 /var/www/vhosts/gesio/www/php_lib/productos/Producto.class.php(305): Producto::construirProductoMacrotipo('6862', NULL, true, false)
#3 /var/www/vhosts/gesio/www/php_lib/productos/Producto.class.php(12207): Producto::getById('6862')
#4 /var/www/vhosts/gesio/www/PlantillasSites/Plantilla5/funciones_publica_productos.php(4789): Producto::getIVAProductoById('6862', NULL, 'PRT', -1)
#5 /var/www/vhosts/gesio/www/PlantillasSites/Plantilla5/productos_detalle.php(265): datos_precio(Array)
#6 {main}
thrown in /var/www/vhosts/gesio/www/php_lib/productos/Producto.class.php on line 3466