amochohan / xerolaravel

A Laravel 5 wrapper for Xero's PHP API
46 stars 35 forks source link

Xero PHP API ErrorException in Response.php line 74 #24

Open rainmedia opened 6 years ago

rainmedia commented 6 years ago

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 6 years ago

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 6 years ago

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