amochohan/xerolaravel

Xero PHP API ErrorException in Response.php line 74

Opened this issue · 2 comments

There is a cronjob that is runing Every Monday to import the invoices into xero from our booking system. This Monday it encounter an error.

ErrorException in Response.php line 74:
Undefined index: message
in Response.php line 74
at HandleExceptions->handleError('8', 'Undefined index: message', '\vendor\calcinai\xero-php\src\XeroPHP\Remote\Response.php', '74', array()) in Response.php line 74

I didn't change anything on the script or on the server. It suddenly stopped working. I realised that Xero released 2SA on Xero login. It might affected the API. Can anybody help me out please?

djekl commented

This issue is related to the required package stated here - https://github.com/calcinai/xero-php

I would suggest you put this issue in that repo

djekl commented

This repo is also out of date, as the current version of that package is v1.8.2 not v1.6.x