Warning: pg_exec(): Query failed: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request. in
/var/www/vhosts/gesio/www/php_lib/funcionesBD.class.php on line
305
Fatal error: Uncaught exception 'Exception' with message 'SQL ERROR:
SELECT
*
FROM
producto pdt
LEFT JOIN unidad_medida umed ON pdt.pdt_idumedida = umed.umed_id
LEFT JOIN iva iva ON pdt.pdt_idiva = iva.iva_id
WHERE
pdt.pdt_id = 7713
' in /var/www/vhosts/gesio/www/php_lib/productos/Producto.class.php:375
Stack trace:
#0 /var/www/vhosts/gesio/www/php_lib/productos/Producto.class.php(305): Producto::construirProductoMacrotipo('7713', NULL, true, false)
#1 /var/www/vhosts/gesio/www/php_lib/productos/Producto.class.php(12207): Producto::getById('7713')
#2 /var/www/vhosts/gesio/www/PlantillasSites/Plantilla5/funciones_publica_productos.php(4789): Producto::getIVAProductoById('7713', NULL, 'PRT', -1)
#3 /var/www/vhosts/gesio/www/PlantillasSites/Plantilla5/funciones_publica_productos_visual.php(365): datos_precio(Array)
#4 /var/www/vhosts/gesio/www/PlantillasSites/Plantilla5/productos_listado.php(1173): listado_productos(Array, 'mini', 'marca', '14')
#5 {main}
thrown in
/var/www/vhosts/gesio/www/php_lib/productos/Producto.class.php on line
375