You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Notice: Undefined offset: 0 in /var/www/.miio-v4/libs/vendor/itrack/anaf/src/Client.php on line 75
Fatal error: Uncaught TypeError: Argument 1 passed to Itrack\Anaf\Parser::__construct() must be of the type array, null given, called in.../itrack/anaf/src/Client.php on line 75 and defined in .../itrack/anaf/src/Parser.php on line 13
TypeError: Argument 1 passed to Itrack\Anaf\Parser::__construct() must be of the type array, null given, called in .../itrack/anaf/src/Client.php on line 75 in .../itrack/anaf/src/Parser.php on line 13
The text was updated successfully, but these errors were encountered:
Am testat 213 sau 1243 si am primit eroarea de mai sus.. apoi am primit status 302 si mai tarziu 500.
Am incercat sa pun un array gol in cazul in care $results[0] este NULL, dar apareau erori in alta parte... /itrack/anaf/src/Client.php on line 75 // return new Company(new Parser($results[0] ?? []));
Se pare ca serverele anaf functioneaza, acum.
Edit:
Eroarea apare daca nu gaseste (sau nu exista) CIF-ul.
PHP 7.3.33
API ANAF V8
itrack/anaf: 3.0.6
Notice: Undefined offset: 0 in /var/www/.miio-v4/libs/vendor/itrack/anaf/src/Client.php on line 75
Fatal error: Uncaught TypeError: Argument 1 passed to Itrack\Anaf\Parser::__construct() must be of the type array, null given, called in.../itrack/anaf/src/Client.php on line 75 and defined in .../itrack/anaf/src/Parser.php on line 13
TypeError: Argument 1 passed to Itrack\Anaf\Parser::__construct() must be of the type array, null given, called in .../itrack/anaf/src/Client.php on line 75 in .../itrack/anaf/src/Parser.php on line 13
The text was updated successfully, but these errors were encountered: