Closed thefantas closed 5 years ago
Hola @thefantas , debio ser un problema temporal.
Así, ahora este error debería de manejarse en el sistema? tal vez con un try catch?
[Tue May 28 13:09:53.338319 2019] [:error] [pid 19431:tid 140340195485440] PHP Warning: DOMXPath::query(): Undefined namespace prefix in /home/vendor/greenter/ws/src/Ws/Reader/DomCdrReader.php on line 66, referer: https://index.php
[Tue May 28 13:09:53.338531 2019] [:error] [pid 19431:tid 140340195485440] PHP Warning: DOMXPath::query(): Invalid expression in /home/vendor/greenter/ws/src/Ws/Reader/DomCdrReader.php on line 66, referer: https://index.php
[Tue May 28 13:09:53.338675 2019] [:error] [pid 19431:tid 140340195485440] PHP Notice: Trying to get property 'length' of non-object in /home/vendor/greenter/ws/src/Ws/Reader/DomCdrReader.php on line 68, referer: https://index.php
[Tue May 28 13:09:53.354784 2019] [:error] [pid 19431:tid 140340195485440] PHP Fatal error: Uncaught Exception: Not found cdr response in xml in /home/vendor/greenter/ws/src/Ws/Reader/DomCdrReader.php:34, referer: https://index.php
[Tue May 28 13:09:53.354814 2019] [:error] [pid 19431:tid 140340195485440] Stack trace:, referer: https://index.php
[Tue May 28 13:09:53.354935 2019] [:error] [pid 19431:tid 140340195485440] #0 /home/vendor/greenter/ws/src/Ws/Services/BaseSunat.php(190): Greenter\\Ws\\Reader\\DomCdrReader->getCdrResponse('<?xml version="...'), referer: https://index.php
[Tue May 28 13:09:53.355070 2019] [:error] [pid 19431:tid 140340195485440] #1 /home/vendor/greenter/ws/src/Ws/Services/ConsultCdrService.php(76): Greenter\\Ws\\Services\\BaseSunat->extractResponse('PK\\x03\\x04\\x14\\x00\\x08\\x08\\x08\\x00Kc\\xBBN\\x00...'), referer: https://index.php
[Tue May 28 13:09:53.355221 2019] [:error] [pid 19431:tid 140340195485440] #2 /home/vendor/greenter/ws/src/Ws/Services/ConsultCdrService.php(46): Greenter\\Ws\\Services\\ConsultCdrService->getStatusResult('getStatusCdr', 'statusCdr', '20202020202', '01', 'F001', 9031), referer: https://index.php
[Tue May 28 13:09:53.355327 2019] [:error] [pid 19431:tid 140340195485440] #3 /home/src/Util.php(75): Greenter\\Ws\\Services\\ConsultCdrService->getStatusCdr('20202020202', '01', 'F001', 9031), referer: https://index.php
[Tue May 28 13:09:53.355474 2019] [:error] [pid 19431:tid 140340195485440] #4 /home/generador/factura.php(316): Util->getCdrStatu in /home/vendor/greenter/ws/src/Ws/Reader/DomCdrReader.php on line 34, referer: https://index.php
Hola, al hacer una consulta en ConsultCdrService->getStatusCdr('20000000001', '01', 'F001', 111) La sunat me devuelve este error, a alguien le ha sucedido?