nemiah / phpFinTS

PHP library to communicate with FinTS/HBCI servers
MIT License
131 stars 40 forks source link

Undefined offset: 922 in /vendor/nemiah/php-fints/lib/Fhp/FinTs.php on line 466 #352

Closed bavarialogy closed 3 years ago

bavarialogy commented 3 years ago

I'm using a project which itself uses the phpFinTS library. I'm getting the following message:

Notice: Undefined offset: 922 in /vendor/nemiah/php-fints/lib/Fhp/FinTs.php on line 466

The data that I'm using is as follows: "bank_code": "71152570", "bank_url": "https://banking-by2.s-fints-pt-by.de/fints30", "bank_2fa": "921",

I've already opened an issue with the project I'm originally using (https://github.com/bnw/firefly-iii-fints-importer/) but I suspect that this might be caused by phpFinTS. Can you point me into a direction where the error could be?

Philipp91 commented 3 years ago

Make sure you're using the latest version, this error seems to come from an ancient library version.

bavarialogy commented 3 years ago

That helped, thanks alot! I'll document the solution in the other issue (https://github.com/bnw/firefly-iii-fints-importer/issues/47) because it's originally caused by them not using the most recent library version.