<br />
<b>Notice</b>:  Trying to get property 'compra' of non-object in <b>/home/hostuper/mallascar.hostuperu.com/apimallascar_asdas/com_compras/registrar.php</b> on line <b>9</b><br />
<br />
<b>Notice</b>:  Trying to get property 'detalles' of non-object in <b>/home/hostuper/mallascar.hostuperu.com/apimallascar_asdas/com_compras/registrar.php</b> on line <b>10</b><br />
<br />
<b>Notice</b>:  Trying to get property 'bitacora' of non-object in <b>/home/hostuper/mallascar.hostuperu.com/apimallascar_asdas/com_compras/registrar.php</b> on line <b>11</b><br />
<br />
<b>Notice</b>:  Trying to get property 'tipo_doc' of non-object in <b>/home/hostuper/mallascar.hostuperu.com/apimallascar_asdas/com_compras/registrar.php</b> on line <b>17</b><br />
<br />
<b>Notice</b>:  Trying to get property 'tipo_doc' of non-object in <b>/home/hostuper/mallascar.hostuperu.com/apimallascar_asdas/com_compras/registrar.php</b> on line <b>18</b><br />
Error al retornarSQLConn (SELECT validar_numero(MAX(nro_doc)) + 1 nromax FROM com_compras WHERE tipo_doc =  AND vigencia = 1):You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND vigencia = 1' at line 1