Warning: count(): Parameter must be an array or an object that implements Countable in /home/ec2-user/codigoapp/restointegrada/libs/UBL21/controllers/apisunat_2_1.php on line 831
Warning: DOMDocument::save(../archivos_xml_sunat/cpe_xml/beta//---.XML): failed to open stream: Permission denied in /home/ec2-user/codigoapp/restointegrada/libs/UBL21/controllers/apisunat_2_1.php on line 892
Warning: DOMDocument::load(): I/O warning : failed to load external entity "/home/ec2-user/codigoapp/restointegrada/libs/UBL21/archivos_xml_sunat/cpe_xml/beta/---.XML" in /home/ec2-user/codigoapp/restointegrada/libs/UBL21/controllers/signature.php on line 18
Warning: file_get_contents(../archivos_xml_sunat/certificados/beta//.pfx): failed to open stream: No such file or directory in /home/ec2-user/codigoapp/restointegrada/libs/UBL21/controllers/signature.php on line 29
Fatal error: Uncaught Error: Call to a member function getElementsByTagName() on null in /home/ec2-user/codigoapp/restointegrada/libs/UBL21/controllers/signature.php:35
Stack trace:
#0 /home/ec2-user/codigoapp/restointegrada/libs/UBL21/controllers/procesarcomprobante.php(97): Signature->signature_xml('0', '../archivos_xml...', '../archivos_xml...', NULL)
#1 /home/ec2-user/codigoapp/restointegrada/libs/UBL21/ws/notadebito.php(54): Procesarcomprobante->procesar_nota_de_debito(Array, NULL, Array)
#2 {main}
thrown in /home/ec2-user/codigoapp/restointegrada/libs/UBL21/controllers/signature.php on line 35