Warning: pg_execute(): 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 805
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 = 2437
' 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('2437', NULL, true, false)
#1 /var/www/vhosts/gesio/www/php_lib/productos/Producto.class.php(12207): Producto::getById('2437')
#2 /var/www/vhosts/gesio/www/PlantillasSites/Plantilla5/funciones_publica_productos.php(4789): Producto::getIVAProductoById('2437', NULL, 'PRT', -1)
#3 /var/www/vhosts/gesio/www/PlantillasSites/Plantilla5/productos_detalle.php(265): datos_precio(Array)
#4 {main}
thrown in /var/www/vhosts/gesio/www/php_lib/productos/Producto.class.php on line 375