/home/desid573/public_html/angel/payment/xero
NameSizeModeActions
docs/-0755rm
lib/-0755rm
test/-0755rm
vendor/-0755rm
__MACOSX/-0755rm
authorisation.php19060644editdlrm
authorizedResource.php17420644editdlrm
callback.php22630644editdlrm
CODE_OF_CONDUCT.md33440644editdlrm
composer.json9840644editdlrm
CONTRIBUTING.md54530644editdlrm
error_log434770644editdlrm
getInvoice.php45570644editdlrm
git_push.sh16610644editdlrm
phpunit.xml.dist6880644editdlrm
README.md109520644editdlrm
storage.php15570644editdlrm
vendor.zip8862410644editdlrm
Edit: /home/desid573/public_html/angel/payment/xero/error_log (43477B)
[05-Dec-2019 02:23:49 UTC] PHP Warning: require(/home/desid573/public_html/angel/payment/xero/vendor/autoload.php): failed to open stream: No such file or directory in /home/desid573/public_html/angel/payment/xero/authorisation.php on line 3 [05-Dec-2019 02:23:49 UTC] PHP Warning: require(/home/desid573/public_html/angel/payment/xero/vendor/autoload.php): failed to open stream: No such file or directory in /home/desid573/public_html/angel/payment/xero/authorisation.php on line 3 [05-Dec-2019 02:23:49 UTC] PHP Fatal error: require(): Failed opening required '/home/desid573/public_html/angel/payment/xero/vendor/autoload.php' (include_path='.:/opt/alt/php72/usr/share/pear') in /home/desid573/public_html/angel/payment/xero/authorisation.php on line 3 [05-Dec-2019 02:43:42 UTC] PHP Warning: require(/home/desid573/public_html/angel/payment/xero/vendor/autoload.php): failed to open stream: No such file or directory in /home/desid573/public_html/angel/payment/xero/authorisation.php on line 3 [05-Dec-2019 02:43:42 UTC] PHP Warning: require(/home/desid573/public_html/angel/payment/xero/vendor/autoload.php): failed to open stream: No such file or directory in /home/desid573/public_html/angel/payment/xero/authorisation.php on line 3 [05-Dec-2019 02:43:42 UTC] PHP Fatal error: require(): Failed opening required '/home/desid573/public_html/angel/payment/xero/vendor/autoload.php' (include_path='.:/opt/alt/php72/usr/share/pear') in /home/desid573/public_html/angel/payment/xero/authorisation.php on line 3 [05-Dec-2019 02:43:49 UTC] PHP Warning: require(/home/desid573/public_html/angel/payment/xero/vendor/autoload.php): failed to open stream: No such file or directory in /home/desid573/public_html/angel/payment/xero/authorisation.php on line 3 [05-Dec-2019 02:43:49 UTC] PHP Warning: require(/home/desid573/public_html/angel/payment/xero/vendor/autoload.php): failed to open stream: No such file or directory in /home/desid573/public_html/angel/payment/xero/authorisation.php on line 3 [05-Dec-2019 02:43:49 UTC] PHP Fatal error: require(): Failed opening required '/home/desid573/public_html/angel/payment/xero/vendor/autoload.php' (include_path='.:/opt/alt/php72/usr/share/pear') in /home/desid573/public_html/angel/payment/xero/authorisation.php on line 3 [05-Dec-2019 02:44:08 UTC] PHP Fatal error: Uncaught Error: Class 'League\OAuth2\Client\Provider\GenericProvider' not found in /home/desid573/public_html/angel/payment/xero/authorisation.php:12 Stack trace: #0 {main} thrown in /home/desid573/public_html/angel/payment/xero/authorisation.php on line 12 [05-Dec-2019 04:47:36 UTC] PHP Fatal error: Uncaught BadMethodCallException: Required parameter not passed: "refresh_token" in /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Tool/RequiredParameterTrait.php:35 Stack trace: #0 /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Tool/RequiredParameterTrait.php(53): League\OAuth2\Client\Grant\AbstractGrant->checkRequiredParameter('refresh_token', Array) #1 /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Grant/AbstractGrant.php(76): League\OAuth2\Client\Grant\AbstractGrant->checkRequiredParameters(Array, Array) #2 /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Provider/AbstractProvider.php(535): League\OAuth2\Client\Grant\AbstractGrant->prepareRequestParameters(Array, Array) #3 /home/desid573/public_html/angel/payment/xero/getInvoice.php(20): League\OAuth2\Client\Provider\AbstractProvider->getAccessToken(Object(League\OAuth2\Client\Grant\RefreshToken), Array) #4 {main} thrown in /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Tool/RequiredParameterTrait.php on line 35 [05-Dec-2019 04:52:53 UTC] PHP Fatal error: Uncaught BadMethodCallException: Required parameter not passed: "refresh_token" in /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Tool/RequiredParameterTrait.php:35 Stack trace: #0 /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Tool/RequiredParameterTrait.php(53): League\OAuth2\Client\Grant\AbstractGrant->checkRequiredParameter('refresh_token', Array) #1 /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Grant/AbstractGrant.php(76): League\OAuth2\Client\Grant\AbstractGrant->checkRequiredParameters(Array, Array) #2 /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Provider/AbstractProvider.php(535): League\OAuth2\Client\Grant\AbstractGrant->prepareRequestParameters(Array, Array) #3 /home/desid573/public_html/angel/payment/xero/getInvoice.php(22): League\OAuth2\Client\Provider\AbstractProvider->getAccessToken(Object(League\OAuth2\Client\Grant\RefreshToken), Array) #4 {main} thrown in /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Tool/RequiredParameterTrait.php on line 35 [05-Dec-2019 04:53:08 UTC] PHP Fatal error: Uncaught BadMethodCallException: Required parameter not passed: "refresh_token" in /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Tool/RequiredParameterTrait.php:35 Stack trace: #0 /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Tool/RequiredParameterTrait.php(53): League\OAuth2\Client\Grant\AbstractGrant->checkRequiredParameter('refresh_token', Array) #1 /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Grant/AbstractGrant.php(76): League\OAuth2\Client\Grant\AbstractGrant->checkRequiredParameters(Array, Array) #2 /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Provider/AbstractProvider.php(535): League\OAuth2\Client\Grant\AbstractGrant->prepareRequestParameters(Array, Array) #3 /home/desid573/public_html/angel/payment/xero/getInvoice.php(22): League\OAuth2\Client\Provider\AbstractProvider->getAccessToken(Object(League\OAuth2\Client\Grant\RefreshToken), Array) #4 {main} thrown in /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Tool/RequiredParameterTrait.php on line 35 [05-Dec-2019 04:53:17 UTC] PHP Fatal error: Uncaught BadMethodCallException: Required parameter not passed: "refresh_token" in /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Tool/RequiredParameterTrait.php:35 Stack trace: #0 /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Tool/RequiredParameterTrait.php(53): League\OAuth2\Client\Grant\AbstractGrant->checkRequiredParameter('refresh_token', Array) #1 /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Grant/AbstractGrant.php(76): League\OAuth2\Client\Grant\AbstractGrant->checkRequiredParameters(Array, Array) #2 /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Provider/AbstractProvider.php(535): League\OAuth2\Client\Grant\AbstractGrant->prepareRequestParameters(Array, Array) #3 /home/desid573/public_html/angel/payment/xero/getInvoice.php(22): League\OAuth2\Client\Provider\AbstractProvider->getAccessToken(Object(League\OAuth2\Client\Grant\RefreshToken), Array) #4 {main} thrown in /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Tool/RequiredParameterTrait.php on line 35 [05-Dec-2019 04:53:24 UTC] PHP Fatal error: Uncaught BadMethodCallException: Required parameter not passed: "refresh_token" in /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Tool/RequiredParameterTrait.php:35 Stack trace: #0 /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Tool/RequiredParameterTrait.php(53): League\OAuth2\Client\Grant\AbstractGrant->checkRequiredParameter('refresh_token', Array) #1 /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Grant/AbstractGrant.php(76): League\OAuth2\Client\Grant\AbstractGrant->checkRequiredParameters(Array, Array) #2 /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Provider/AbstractProvider.php(535): League\OAuth2\Client\Grant\AbstractGrant->prepareRequestParameters(Array, Array) #3 /home/desid573/public_html/angel/payment/xero/authorizedResource.php(21): League\OAuth2\Client\Provider\AbstractProvider->getAccessToken(Object(League\OAuth2\Client\Grant\RefreshToken), Array) #4 {main} thrown in /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Tool/RequiredParameterTrait.php on line 35 [05-Dec-2019 04:53:27 UTC] PHP Fatal error: Uncaught BadMethodCallException: Required parameter not passed: "refresh_token" in /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Tool/RequiredParameterTrait.php:35 Stack trace: #0 /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Tool/RequiredParameterTrait.php(53): League\OAuth2\Client\Grant\AbstractGrant->checkRequiredParameter('refresh_token', Array) #1 /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Grant/AbstractGrant.php(76): League\OAuth2\Client\Grant\AbstractGrant->checkRequiredParameters(Array, Array) #2 /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Provider/AbstractProvider.php(535): League\OAuth2\Client\Grant\AbstractGrant->prepareRequestParameters(Array, Array) #3 /home/desid573/public_html/angel/payment/xero/getInvoice.php(22): League\OAuth2\Client\Provider\AbstractProvider->getAccessToken(Object(League\OAuth2\Client\Grant\RefreshToken), Array) #4 {main} thrown in /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Tool/RequiredParameterTrait.php on line 35 [05-Dec-2019 04:59:42 UTC] PHP Fatal error: Uncaught Error: Using $this when not in object context in /home/desid573/public_html/angel/payment/xero/getInvoice.php:47 Stack trace: #0 {main} thrown in /home/desid573/public_html/angel/payment/xero/getInvoice.php on line 47 [05-Dec-2019 05:00:08 UTC] PHP Fatal error: Uncaught Error: Call to a member function getContacts() on null in /home/desid573/public_html/angel/payment/xero/getInvoice.php:50 Stack trace: #0 {main} thrown in /home/desid573/public_html/angel/payment/xero/getInvoice.php on line 50 [05-Dec-2019 05:01:59 UTC] PHP Fatal error: Uncaught Error: Call to a member function getContactId() on null in /home/desid573/public_html/angel/payment/xero/getInvoice.php:50 Stack trace: #0 {main} thrown in /home/desid573/public_html/angel/payment/xero/getInvoice.php on line 50 [05-Dec-2019 05:02:31 UTC] PHP Fatal error: Uncaught Error: Call to a member function getContactId() on null in /home/desid573/public_html/angel/payment/xero/getInvoice.php:50 Stack trace: #0 {main} thrown in /home/desid573/public_html/angel/payment/xero/getInvoice.php on line 50 [05-Dec-2019 05:02:35 UTC] PHP Fatal error: Uncaught Error: Call to a member function getContactId() on null in /home/desid573/public_html/angel/payment/xero/getInvoice.php:50 Stack trace: #0 {main} thrown in /home/desid573/public_html/angel/payment/xero/getInvoice.php on line 50 [05-Dec-2019 05:03:12 UTC] PHP Fatal error: Uncaught Error: Call to a member function getContactId() on null in /home/desid573/public_html/angel/payment/xero/getInvoice.php:50 Stack trace: #0 {main} thrown in /home/desid573/public_html/angel/payment/xero/getInvoice.php on line 50 [05-Dec-2019 05:07:28 UTC] PHP Warning: Use of undefined constant count - assumed 'count' (this will throw an Error in a future version of PHP) in /home/desid573/public_html/angel/payment/xero/getInvoice.php on line 57 [05-Dec-2019 05:08:10 UTC] PHP Warning: count() expects at least 1 parameter, 0 given in /home/desid573/public_html/angel/payment/xero/getInvoice.php on line 57 [05-Dec-2019 07:16:03 UTC] PHP Fatal error: Uncaught BadMethodCallException: Required parameter not passed: "refresh_token" in /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Tool/RequiredParameterTrait.php:35 Stack trace: #0 /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Tool/RequiredParameterTrait.php(53): League\OAuth2\Client\Grant\AbstractGrant->checkRequiredParameter('refresh_token', Array) #1 /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Grant/AbstractGrant.php(76): League\OAuth2\Client\Grant\AbstractGrant->checkRequiredParameters(Array, Array) #2 /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Provider/AbstractProvider.php(535): League\OAuth2\Client\Grant\AbstractGrant->prepareRequestParameters(Array, Array) #3 /home/desid573/public_html/angel/payment/xero/getInvoice.php(22): League\OAuth2\Client\Provider\AbstractProvider->getAccessToken(Object(League\OAuth2\Client\Grant\RefreshToken), Array) #4 {main} thrown in /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Tool/RequiredParameterTrait.php on line 35 [05-Dec-2019 07:17:21 UTC] PHP Fatal error: Uncaught Error: Using $this when not in object context in /home/desid573/public_html/angel/payment/xero/getInvoice.php:70 Stack trace: #0 {main} thrown in /home/desid573/public_html/angel/payment/xero/getInvoice.php on line 70 [05-Dec-2019 07:17:46 UTC] PHP Fatal error: Uncaught Error: Using $this when not in object context in /home/desid573/public_html/angel/payment/xero/getInvoice.php:86 Stack trace: #0 {main} thrown in /home/desid573/public_html/angel/payment/xero/getInvoice.php on line 86 [05-Dec-2019 07:18:14 UTC] PHP Warning: date() expects at least 1 parameter, 0 given in /home/desid573/public_html/angel/payment/xero/getInvoice.php on line 87 [05-Dec-2019 07:18:14 UTC] PHP Fatal error: Uncaught XeroAPI\XeroPHP\ApiException: [400] Client error: `PUT https://api.xero.com/api.xro/2.0/Invoices` resulted in a `400 Bad Request` response: { "ErrorNumber": 14, "Type": "PostDataInvalidException", "Message": "JSON for post data was invalid,Error conve (truncated...) in /home/desid573/public_html/angel/payment/xero/vendor/xeroapi/xero-php-oauth2/lib/Api/AccountingApi.php:9041 Stack trace: #0 /home/desid573/public_html/angel/payment/xero/vendor/xeroapi/xero-php-oauth2/lib/Api/AccountingApi.php(9016): XeroAPI\XeroPHP\Api\AccountingApi->createInvoiceWithHttpInfo('3a9f85ad-0731-4...', Object(XeroAPI\XeroPHP\Models\Accounting\Invoice)) #1 /home/desid573/public_html/angel/payment/xero/getInvoice.php(93): XeroAPI\XeroPHP\Api\AccountingApi->createInvoice('3a9f85ad-0731-4...', Object(XeroAPI\XeroPHP\Models\Accounting\Invoice)) #2 {main} thrown in /home/desid573/public_html/angel/payment/xero/vendor/xeroapi/xero-php-oauth2/lib/Api/AccountingApi.php on line 9041 [05-Dec-2019 07:19:47 UTC] PHP Warning: strtotime() expects at least 1 parameter, 0 given in /home/desid573/public_html/angel/payment/xero/getInvoice.php on line 87 [05-Dec-2019 07:19:47 UTC] PHP Fatal error: Uncaught XeroAPI\XeroPHP\ApiException: [400] Client error: `PUT https://api.xero.com/api.xro/2.0/Invoices` resulted in a `400 Bad Request` response: { "ErrorNumber": 14, "Type": "PostDataInvalidException", "Message": "JSON for post data was invalid,Error conve (truncated...) in /home/desid573/public_html/angel/payment/xero/vendor/xeroapi/xero-php-oauth2/lib/Api/AccountingApi.php:9041 Stack trace: #0 /home/desid573/public_html/angel/payment/xero/vendor/xeroapi/xero-php-oauth2/lib/Api/AccountingApi.php(9016): XeroAPI\XeroPHP\Api\AccountingApi->createInvoiceWithHttpInfo('3a9f85ad-0731-4...', Object(XeroAPI\XeroPHP\Models\Accounting\Invoice)) #1 /home/desid573/public_html/angel/payment/xero/getInvoice.php(93): XeroAPI\XeroPHP\Api\AccountingApi->createInvoice('3a9f85ad-0731-4...', Object(XeroAPI\XeroPHP\Models\Accounting\Invoice)) #2 {main} thrown in /home/desid573/public_html/angel/payment/xero/vendor/xeroapi/xero-php-oauth2/lib/Api/AccountingApi.php on line 9041 [05-Dec-2019 07:20:10 UTC] PHP Fatal error: Uncaught XeroAPI\XeroPHP\ApiException: [400] Client error: `PUT https://api.xero.com/api.xro/2.0/Invoices` resulted in a `400 Bad Request` response: { "ErrorNumber": 14, "Type": "PostDataInvalidException", "Message": "JSON for post data was invalid,Error conve (truncated...) in /home/desid573/public_html/angel/payment/xero/vendor/xeroapi/xero-php-oauth2/lib/Api/AccountingApi.php:9041 Stack trace: #0 /home/desid573/public_html/angel/payment/xero/vendor/xeroapi/xero-php-oauth2/lib/Api/AccountingApi.php(9016): XeroAPI\XeroPHP\Api\AccountingApi->createInvoiceWithHttpInfo('3a9f85ad-0731-4...', Object(XeroAPI\XeroPHP\Models\Accounting\Invoice)) #1 /home/desid573/public_html/angel/payment/xero/getInvoice.php(93): XeroAPI\XeroPHP\Api\AccountingApi->createInvoice('3a9f85ad-0731-4...', Object(XeroAPI\XeroPHP\Models\Accounting\Invoice)) #2 {main} thrown in /home/desid573/public_html/angel/payment/xero/vendor/xeroapi/xero-php-oauth2/lib/Api/AccountingApi.php on line 9041 [05-Dec-2019 07:22:32 UTC] PHP Fatal error: Uncaught XeroAPI\XeroPHP\ApiException: [400] Client error: `PUT https://api.xero.com/api.xro/2.0/Invoices` resulted in a `400 Bad Request` response: { "ErrorNumber": 14, "Type": "PostDataInvalidException", "Message": "JSON for post data was invalid,Error conve (truncated...) in /home/desid573/public_html/angel/payment/xero/vendor/xeroapi/xero-php-oauth2/lib/Api/AccountingApi.php:9041 Stack trace: #0 /home/desid573/public_html/angel/payment/xero/vendor/xeroapi/xero-php-oauth2/lib/Api/AccountingApi.php(9016): XeroAPI\XeroPHP\Api\AccountingApi->createInvoiceWithHttpInfo('3a9f85ad-0731-4...', Object(XeroAPI\XeroPHP\Models\Accounting\Invoice)) #1 /home/desid573/public_html/angel/payment/xero/getInvoice.php(93): XeroAPI\XeroPHP\Api\AccountingApi->createInvoice('3a9f85ad-0731-4...', Object(XeroAPI\XeroPHP\Models\Accounting\Invoice), true) #2 {main} thrown in /home/desid573/public_html/angel/payment/xero/vendor/xeroapi/xero-php-oauth2/lib/Api/AccountingApi.php on line 9041 [05-Dec-2019 07:24:53 UTC] PHP Fatal error: Uncaught XeroAPI\XeroPHP\ApiException: [400] Client error: `PUT https://api.xero.com/api.xro/2.0/Invoices` resulted in a `400 Bad Request` response: { "ErrorNumber": 14, "Type": "PostDataInvalidException", "Message": "JSON for post data was invalid,Error conve (truncated...) in /home/desid573/public_html/angel/payment/xero/vendor/xeroapi/xero-php-oauth2/lib/Api/AccountingApi.php:9041 Stack trace: #0 /home/desid573/public_html/angel/payment/xero/vendor/xeroapi/xero-php-oauth2/lib/Api/AccountingApi.php(9016): XeroAPI\XeroPHP\Api\AccountingApi->createInvoiceWithHttpInfo('3a9f85ad-0731-4...', Object(XeroAPI\XeroPHP\Models\Accounting\Invoice)) #1 /home/desid573/public_html/angel/payment/xero/getInvoice.php(98): XeroAPI\XeroPHP\Api\AccountingApi->createInvoice('3a9f85ad-0731-4...', Object(XeroAPI\XeroPHP\Models\Accounting\Invoice), true) #2 {main} thrown in /home/desid573/public_html/angel/payment/xero/vendor/xeroapi/xero-php-oauth2/lib/Api/AccountingApi.php on line 9041 [05-Dec-2019 07:48:56 UTC] PHP Fatal error: Uncaught League\OAuth2\Client\Provider\Exception\IdentityProviderException: invalid_client in /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Provider/GenericProvider.php:222 Stack trace: #0 /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Provider/AbstractProvider.php(628): League\OAuth2\Client\Provider\GenericProvider->checkResponse(Object(GuzzleHttp\Psr7\Response), Array) #1 /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Provider/AbstractProvider.php(537): League\OAuth2\Client\Provider\AbstractProvider->getParsedResponse(Object(GuzzleHttp\Psr7\Request)) #2 /home/desid573/public_html/angel/payment/xero/getInvoice.php(22): League\OAuth2\Client\Provider\AbstractProvider->getAccessToken(Object(League\OAuth2\Client\Grant\RefreshToken), Array) #3 {main} thrown in /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Provider/GenericProvider.php on line 222 [05-Dec-2019 07:55:47 UTC] PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function submitInvoice(), 6 passed in /home/desid573/public_html/angel/payment/xero/getInvoice.php on line 46 and exactly 7 expected in /home/desid573/public_html/angel/payment/xero/getInvoice.php:49 Stack trace: #0 /home/desid573/public_html/angel/payment/xero/getInvoice.php(46): submitInvoice('Lewis Cann', '', 1575532547, 100, '12344523432', 'DD') #1 {main} thrown in /home/desid573/public_html/angel/payment/xero/getInvoice.php on line 49 [05-Dec-2019 07:56:21 UTC] PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function submitInvoice(), 6 passed in /home/desid573/public_html/angel/payment/xero/getInvoice.php on line 46 and exactly 7 expected in /home/desid573/public_html/angel/payment/xero/getInvoice.php:49 Stack trace: #0 /home/desid573/public_html/angel/payment/xero/getInvoice.php(46): submitInvoice('Lewis Cann', '', 1575532581, 100, '12344523432', 'DD') #1 {main} thrown in /home/desid573/public_html/angel/payment/xero/getInvoice.php on line 49 [05-Dec-2019 07:57:19 UTC] PHP Fatal error: Uncaught Error: Call to undefined function getContact() in /home/desid573/public_html/angel/payment/xero/getInvoice.php:52 Stack trace: #0 /home/desid573/public_html/angel/payment/xero/getInvoice.php(46): submitInvoice('Lewis Cann', '', 1575532639, 'Greenwood to Fr...', 100, '12344523432', 'DD') #1 {main} thrown in /home/desid573/public_html/angel/payment/xero/getInvoice.php on line 52 [05-Dec-2019 07:58:08 UTC] PHP Fatal error: Uncaught XeroAPI\XeroPHP\ApiException: [400] Client error: `PUT https://api.xero.com/api.xro/2.0/Invoices` resulted in a `400 Bad Request` response: { "ErrorNumber": 10, "Type": "ValidationException", "Message": "A validation exception occurred", "Elements" (truncated...) in /home/desid573/public_html/angel/payment/xero/vendor/xeroapi/xero-php-oauth2/lib/Api/AccountingApi.php:9041 Stack trace: #0 /home/desid573/public_html/angel/payment/xero/vendor/xeroapi/xero-php-oauth2/lib/Api/AccountingApi.php(9016): XeroAPI\XeroPHP\Api\AccountingApi->createInvoiceWithHttpInfo('3a9f85ad-0731-4...', Object(XeroAPI\XeroPHP\Models\Accounting\Invoice)) #1 /home/desid573/public_html/angel/payment/xero/getInvoice.php(106): XeroAPI\XeroPHP\Api\AccountingApi->createInvoice('3a9f85ad-0731-4...', Object(XeroAPI\XeroPHP\Models\Accounting\Invoice), true) #2 /home/desid573/public_html/angel/payment/xero/getInvoice.php(46): submitInvoice('Lewis Cann', '', 1575532688, 'Greenwood to Fr...', 100, '12344523432', 'DD') #3 {main in /home/desid573/public_html/angel/payment/xero/vendor/xeroapi/xero-php-oauth2/lib/Api/AccountingApi.php on line 9041 [05-Dec-2019 14:29:42 UTC] PHP Fatal error: Uncaught BadMethodCallException: Required parameter not passed: "refresh_token" in /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Tool/RequiredParameterTrait.php:35 Stack trace: #0 /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Tool/RequiredParameterTrait.php(53): League\OAuth2\Client\Grant\AbstractGrant->checkRequiredParameter('refresh_token', Array) #1 /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Grant/AbstractGrant.php(76): League\OAuth2\Client\Grant\AbstractGrant->checkRequiredParameters(Array, Array) #2 /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Provider/AbstractProvider.php(535): League\OAuth2\Client\Grant\AbstractGrant->prepareRequestParameters(Array, Array) #3 /home/desid573/public_html/angel/payment/xero/getInvoice.php(22): League\OAuth2\Client\Provider\AbstractProvider->getAccessToken(Object(League\OAuth2\Client\Grant\RefreshToken), Array) #4 {main} thrown in /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Tool/RequiredParameterTrait.php on line 35 [05-Dec-2019 14:29:46 UTC] PHP Fatal error: Uncaught BadMethodCallException: Required parameter not passed: "refresh_token" in /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Tool/RequiredParameterTrait.php:35 Stack trace: #0 /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Tool/RequiredParameterTrait.php(53): League\OAuth2\Client\Grant\AbstractGrant->checkRequiredParameter('refresh_token', Array) #1 /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Grant/AbstractGrant.php(76): League\OAuth2\Client\Grant\AbstractGrant->checkRequiredParameters(Array, Array) #2 /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Provider/AbstractProvider.php(535): League\OAuth2\Client\Grant\AbstractGrant->prepareRequestParameters(Array, Array) #3 /home/desid573/public_html/angel/payment/xero/getInvoice.php(22): League\OAuth2\Client\Provider\AbstractProvider->getAccessToken(Object(League\OAuth2\Client\Grant\RefreshToken), Array) #4 {main} thrown in /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Tool/RequiredParameterTrait.php on line 35 [05-Dec-2019 14:29:48 UTC] PHP Fatal error: Uncaught BadMethodCallException: Required parameter not passed: "refresh_token" in /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Tool/RequiredParameterTrait.php:35 Stack trace: #0 /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Tool/RequiredParameterTrait.php(53): League\OAuth2\Client\Grant\AbstractGrant->checkRequiredParameter('refresh_token', Array) #1 /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Grant/AbstractGrant.php(76): League\OAuth2\Client\Grant\AbstractGrant->checkRequiredParameters(Array, Array) #2 /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Provider/AbstractProvider.php(535): League\OAuth2\Client\Grant\AbstractGrant->prepareRequestParameters(Array, Array) #3 /home/desid573/public_html/angel/payment/xero/getInvoice.php(22): League\OAuth2\Client\Provider\AbstractProvider->getAccessToken(Object(League\OAuth2\Client\Grant\RefreshToken), Array) #4 {main} thrown in /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Tool/RequiredParameterTrait.php on line 35 [05-Dec-2019 14:30:52 UTC] PHP Fatal error: Uncaught BadMethodCallException: Required parameter not passed: "refresh_token" in /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Tool/RequiredParameterTrait.php:35 Stack trace: #0 /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Tool/RequiredParameterTrait.php(53): League\OAuth2\Client\Grant\AbstractGrant->checkRequiredParameter('refresh_token', Array) #1 /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Grant/AbstractGrant.php(76): League\OAuth2\Client\Grant\AbstractGrant->checkRequiredParameters(Array, Array) #2 /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Provider/AbstractProvider.php(535): League\OAuth2\Client\Grant\AbstractGrant->prepareRequestParameters(Array, Array) #3 /home/desid573/public_html/angel/payment/xero/getInvoice.php(22): League\OAuth2\Client\Provider\AbstractProvider->getAccessToken(Object(League\OAuth2\Client\Grant\RefreshToken), Array) #4 {main} thrown in /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Tool/RequiredParameterTrait.php on line 35 [05-Dec-2019 14:31:33 UTC] PHP Fatal error: Uncaught BadMethodCallException: Required parameter not passed: "refresh_token" in /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Tool/RequiredParameterTrait.php:35 Stack trace: #0 /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Tool/RequiredParameterTrait.php(53): League\OAuth2\Client\Grant\AbstractGrant->checkRequiredParameter('refresh_token', Array) #1 /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Grant/AbstractGrant.php(76): League\OAuth2\Client\Grant\AbstractGrant->checkRequiredParameters(Array, Array) #2 /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Provider/AbstractProvider.php(535): League\OAuth2\Client\Grant\AbstractGrant->prepareRequestParameters(Array, Array) #3 /home/desid573/public_html/angel/payment/xero/getInvoice.php(22): League\OAuth2\Client\Provider\AbstractProvider->getAccessToken(Object(League\OAuth2\Client\Grant\RefreshToken), Array) #4 {main} thrown in /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Tool/RequiredParameterTrait.php on line 35 [05-Dec-2019 14:33:29 UTC] PHP Fatal error: Uncaught BadMethodCallException: Required parameter not passed: "refresh_token" in /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Tool/RequiredParameterTrait.php:35 Stack trace: #0 /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Tool/RequiredParameterTrait.php(53): League\OAuth2\Client\Grant\AbstractGrant->checkRequiredParameter('refresh_token', Array) #1 /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Grant/AbstractGrant.php(76): League\OAuth2\Client\Grant\AbstractGrant->checkRequiredParameters(Array, Array) #2 /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Provider/AbstractProvider.php(535): League\OAuth2\Client\Grant\AbstractGrant->prepareRequestParameters(Array, Array) #3 /home/desid573/public_html/angel/payment/xero/getInvoice.php(23): League\OAuth2\Client\Provider\AbstractProvider->getAccessToken(Object(League\OAuth2\Client\Grant\RefreshToken), Array) #4 {main} thrown in /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Tool/RequiredParameterTrait.php on line 35 [05-Dec-2019 14:34:26 UTC] PHP Fatal error: Uncaught BadMethodCallException: Required parameter not passed: "refresh_token" in /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Tool/RequiredParameterTrait.php:35 Stack trace: #0 /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Tool/RequiredParameterTrait.php(53): League\OAuth2\Client\Grant\AbstractGrant->checkRequiredParameter('refresh_token', Array) #1 /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Grant/AbstractGrant.php(76): League\OAuth2\Client\Grant\AbstractGrant->checkRequiredParameters(Array, Array) #2 /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Provider/AbstractProvider.php(535): League\OAuth2\Client\Grant\AbstractGrant->prepareRequestParameters(Array, Array) #3 /home/desid573/public_html/angel/payment/xero/getInvoice.php(23): League\OAuth2\Client\Provider\AbstractProvider->getAccessToken(Object(League\OAuth2\Client\Grant\RefreshToken), Array) #4 {main} thrown in /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Tool/RequiredParameterTrait.php on line 35 [05-Dec-2019 14:35:25 UTC] PHP Fatal error: Uncaught XeroAPI\XeroPHP\ApiException: [400] Client error: `PUT https://api.xero.com/api.xro/2.0/Invoices` resulted in a `400 Bad Request` response: { "ErrorNumber": 10, "Type": "ValidationException", "Message": "A validation exception occurred", "Elements" (truncated...) in /home/desid573/public_html/angel/payment/xero/vendor/xeroapi/xero-php-oauth2/lib/Api/AccountingApi.php:9041 Stack trace: #0 /home/desid573/public_html/angel/payment/xero/vendor/xeroapi/xero-php-oauth2/lib/Api/AccountingApi.php(9016): XeroAPI\XeroPHP\Api\AccountingApi->createInvoiceWithHttpInfo('3a9f85ad-0731-4...', Object(XeroAPI\XeroPHP\Models\Accounting\Invoice)) #1 /home/desid573/public_html/angel/payment/xero/getInvoice.php(107): XeroAPI\XeroPHP\Api\AccountingApi->createInvoice('3a9f85ad-0731-4...', Object(XeroAPI\XeroPHP\Models\Accounting\Invoice), true) #2 /home/desid573/public_html/angel/payment/xero/getInvoice.php(47): submitInvoice('Lewis Cann', '', 1575556525, 'Greenwood to Fr...', 100, '12344523432', 'DD') #3 {main in /home/desid573/public_html/angel/payment/xero/vendor/xeroapi/xero-php-oauth2/lib/Api/AccountingApi.php on line 9041 [05-Dec-2019 14:36:28 UTC] PHP Fatal error: Uncaught XeroAPI\XeroPHP\ApiException: [400] Client error: `PUT https://api.xero.com/api.xro/2.0/Invoices` resulted in a `400 Bad Request` response: { "ErrorNumber": 10, "Type": "ValidationException", "Message": "A validation exception occurred", "Elements" (truncated...) in /home/desid573/public_html/angel/payment/xero/vendor/xeroapi/xero-php-oauth2/lib/Api/AccountingApi.php:9041 Stack trace: #0 /home/desid573/public_html/angel/payment/xero/vendor/xeroapi/xero-php-oauth2/lib/Api/AccountingApi.php(9016): XeroAPI\XeroPHP\Api\AccountingApi->createInvoiceWithHttpInfo('3a9f85ad-0731-4...', Object(XeroAPI\XeroPHP\Models\Accounting\Invoice)) #1 /home/desid573/public_html/angel/payment/xero/getInvoice.php(107): XeroAPI\XeroPHP\Api\AccountingApi->createInvoice('3a9f85ad-0731-4...', Object(XeroAPI\XeroPHP\Models\Accounting\Invoice), true) #2 /home/desid573/public_html/angel/payment/xero/getInvoice.php(47): submitInvoice('Lewis Cann', '', 1575556588, 'Greenwood to Fr...', 100, '12344523432', 'DD') #3 {main in /home/desid573/public_html/angel/payment/xero/vendor/xeroapi/xero-php-oauth2/lib/Api/AccountingApi.php on line 9041 [05-Dec-2019 14:38:50 UTC] PHP Fatal error: Uncaught Error: Call to undefined method XeroAPI\XeroPHP\Models\Accounting\Invoices::getInvoiceNumber() in /home/desid573/public_html/angel/payment/xero/getInvoice.php:110 Stack trace: #0 /home/desid573/public_html/angel/payment/xero/getInvoice.php(47): submitInvoice('Lewis Cann', '', 1575556729, 'Greenwood to Fr...', 100, '12344523432', 'DD') #1 {main} thrown in /home/desid573/public_html/angel/payment/xero/getInvoice.php on line 110 [05-Dec-2019 14:47:52 UTC] PHP Fatal error: Uncaught Error: Call to undefined method XeroAPI\XeroPHP\Models\Accounting\Invoice::getInvoice() in /home/desid573/public_html/angel/payment/xero/getInvoice.php:108 Stack trace: #0 /home/desid573/public_html/angel/payment/xero/getInvoice.php(47): submitInvoice('Lewis Cann', '', 1575557271, 'Greenwood to Fr...', 100, '12344523432', 'DD') #1 {main} thrown in /home/desid573/public_html/angel/payment/xero/getInvoice.php on line 108 [07-Mar-2020 06:53:25 UTC] PHP Fatal error: Uncaught BadMethodCallException: Required parameter not passed: "refresh_token" in /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Tool/RequiredParameterTrait.php:35 Stack trace: #0 /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Tool/RequiredParameterTrait.php(53): League\OAuth2\Client\Grant\AbstractGrant->checkRequiredParameter('refresh_token', Array) #1 /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Grant/AbstractGrant.php(76): League\OAuth2\Client\Grant\AbstractGrant->checkRequiredParameters(Array, Array) #2 /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Provider/AbstractProvider.php(535): League\OAuth2\Client\Grant\AbstractGrant->prepareRequestParameters(Array, Array) #3 /home/desid573/public_html/angel/payment/xero/getInvoice.php(23): League\OAuth2\Client\Provider\AbstractProvider->getAccessToken(Object(League\OAuth2\Client\Grant\RefreshToken), Array) #4 {main} thrown in /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Tool/RequiredParameterTrait.php on line 35 [07-Mar-2020 06:55:37 UTC] PHP Fatal error: Uncaught BadMethodCallException: Required parameter not passed: "refresh_token" in /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Tool/RequiredParameterTrait.php:35 Stack trace: #0 /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Tool/RequiredParameterTrait.php(53): League\OAuth2\Client\Grant\AbstractGrant->checkRequiredParameter('refresh_token', Array) #1 /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Grant/AbstractGrant.php(76): League\OAuth2\Client\Grant\AbstractGrant->checkRequiredParameters(Array, Array) #2 /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Provider/AbstractProvider.php(535): League\OAuth2\Client\Grant\AbstractGrant->prepareRequestParameters(Array, Array) #3 /home/desid573/public_html/angel/payment/xero/getInvoice.php(23): League\OAuth2\Client\Provider\AbstractProvider->getAccessToken(Object(League\OAuth2\Client\Grant\RefreshToken), Array) #4 {main} thrown in /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Tool/RequiredParameterTrait.php on line 35 [12-Mar-2020 04:09:37 UTC] PHP Fatal error: Uncaught BadMethodCallException: Required parameter not passed: "refresh_token" in /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Tool/RequiredParameterTrait.php:35 Stack trace: #0 /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Tool/RequiredParameterTrait.php(53): League\OAuth2\Client\Grant\AbstractGrant->checkRequiredParameter('refresh_token', Array) #1 /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Grant/AbstractGrant.php(76): League\OAuth2\Client\Grant\AbstractGrant->checkRequiredParameters(Array, Array) #2 /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Provider/AbstractProvider.php(535): League\OAuth2\Client\Grant\AbstractGrant->prepareRequestParameters(Array, Array) #3 /home/desid573/public_html/angel/payment/xero/getInvoice.php(23): League\OAuth2\Client\Provider\AbstractProvider->getAccessToken(Object(League\OAuth2\Client\Grant\RefreshToken), Array) #4 {main} thrown in /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Tool/RequiredParameterTrait.php on line 35 [12-Mar-2020 04:10:20 UTC] PHP Warning: Use of undefined constant now - assumed 'now' (this will throw an Error in a future version of PHP) in /home/desid573/public_html/angel/payment/xero/getInvoice.php on line 49 [12-Mar-2020 04:10:20 UTC] PHP Fatal error: Uncaught Error: Call to undefined method XeroAPI\XeroPHP\Models\Accounting\Payment::setInvoiceID() in /home/desid573/public_html/angel/payment/xero/getInvoice.php:69 Stack trace: #0 /home/desid573/public_html/angel/payment/xero/getInvoice.php(49): submitPayment('aaca43dd-1733-4...', 100, '2020-03-12') #1 {main} thrown in /home/desid573/public_html/angel/payment/xero/getInvoice.php on line 69 [12-Mar-2020 04:11:11 UTC] PHP Fatal error: Uncaught Error: Call to undefined method XeroAPI\XeroPHP\Models\Accounting\Payment::setInvoiceId() in /home/desid573/public_html/angel/payment/xero/getInvoice.php:69 Stack trace: #0 /home/desid573/public_html/angel/payment/xero/getInvoice.php(49): submitPayment('ba9b72aa-7fab-4...', 100, '2020-03-12') #1 {main} thrown in /home/desid573/public_html/angel/payment/xero/getInvoice.php on line 69 [12-Mar-2020 04:11:45 UTC] PHP Warning: Use of undefined constant Invoice - assumed 'Invoice' (this will throw an Error in a future version of PHP) in /home/desid573/public_html/angel/payment/xero/getInvoice.php on line 69 [12-Mar-2020 04:11:45 UTC] PHP Warning: Use of undefined constant TypeEnum - assumed 'TypeEnum' (this will throw an Error in a future version of PHP) in /home/desid573/public_html/angel/payment/xero/getInvoice.php on line 69 [12-Mar-2020 04:11:45 UTC] PHP Warning: Use of undefined constant ACCPAY - assumed 'ACCPAY' (this will throw an Error in a future version of PHP) in /home/desid573/public_html/angel/payment/xero/getInvoice.php on line 69 [12-Mar-2020 04:11:45 UTC] PHP Fatal error: Uncaught InvalidArgumentException: Invalid value for 'type', must be one of 'ACCPAY', 'ACCPAYCREDIT', 'AROVERPAYMENT', 'ACCREC', 'ACCRECCREDIT' in /home/desid573/public_html/angel/payment/xero/vendor/xeroapi/xero-php-oauth2/lib/Models/Accounting/Invoice.php:521 Stack trace: #0 /home/desid573/public_html/angel/payment/xero/getInvoice.php(69): XeroAPI\XeroPHP\Models\Accounting\Invoice->setType('InvoiceTypeEnum...') #1 /home/desid573/public_html/angel/payment/xero/getInvoice.php(49): submitPayment('2a357c03-da33-4...', 100, '2020-03-12') #2 {main} thrown in /home/desid573/public_html/angel/payment/xero/vendor/xeroapi/xero-php-oauth2/lib/Models/Accounting/Invoice.php on line 521 [12-Mar-2020 05:38:19 UTC] PHP Fatal error: Uncaught BadMethodCallException: Required parameter not passed: "refresh_token" in /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Tool/RequiredParameterTrait.php:35 Stack trace: #0 /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Tool/RequiredParameterTrait.php(53): League\OAuth2\Client\Grant\AbstractGrant->checkRequiredParameter('refresh_token', Array) #1 /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Grant/AbstractGrant.php(76): League\OAuth2\Client\Grant\AbstractGrant->checkRequiredParameters(Array, Array) #2 /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Provider/AbstractProvider.php(535): League\OAuth2\Client\Grant\AbstractGrant->prepareRequestParameters(Array, Array) #3 /home/desid573/public_html/angel/payment/xero/getInvoice.php(23): League\OAuth2\Client\Provider\AbstractProvider->getAccessToken(Object(League\OAuth2\Client\Grant\RefreshToken), Array) #4 {main} thrown in /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Tool/RequiredParameterTrait.php on line 35 [12-Mar-2020 05:53:52 UTC] PHP Recoverable fatal error: Object of class StorageClass could not be converted to string in /home/desid573/public_html/angel/payment/xero/getInvoice.php on line 9 [12-Mar-2020 05:54:18 UTC] PHP Fatal error: Uncaught BadMethodCallException: Required parameter not passed: "refresh_token" in /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Tool/RequiredParameterTrait.php:35 Stack trace: #0 /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Tool/RequiredParameterTrait.php(53): League\OAuth2\Client\Grant\AbstractGrant->checkRequiredParameter('refresh_token', Array) #1 /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Grant/AbstractGrant.php(76): League\OAuth2\Client\Grant\AbstractGrant->checkRequiredParameters(Array, Array) #2 /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Provider/AbstractProvider.php(535): League\OAuth2\Client\Grant\AbstractGrant->prepareRequestParameters(Array, Array) #3 /home/desid573/public_html/angel/payment/xero/getInvoice.php(28): League\OAuth2\Client\Provider\AbstractProvider->getAccessToken(Object(League\OAuth2\Client\Grant\RefreshToken), Array) #4 {main} thrown in /home/desid573/public_html/angel/payment/xero/vendor/league/oauth2-client/src/Tool/RequiredParameterTrait.php on line 35 [12-Mar-2020 05:54:42 UTC] PHP Fatal error: Uncaught Error: Call to a member function getRefreshToken() on null in /home/desid573/public_html/angel/payment/xero/getInvoice.php:11 Stack trace: #0 {main} thrown in /home/desid573/public_html/angel/payment/xero/getInvoice.php on line 11 [12-Mar-2020 05:57:07 UTC] PHP Fatal error: Uncaught Error: Call to a member function getRefreshToken() on null in /home/desid573/public_html/angel/payment/xero/getInvoice.php:11 Stack trace: #0 {main} thrown in /home/desid573/public_html/angel/payment/xero/getInvoice.php on line 11