[2025-01-07 04:42:03] Production.INFO: -- Xero Api Check -- [2025-01-07 04:42:04] Production.INFO: -- curl info --Array ( [url] => https://identity.xero.com/connect/token [content_type] => application/json; charset=UTF-8 [http_code] => 200 [header_size] => 854 [request_size] => 352 [filetime] => -1 [ssl_verify_result] => 0 [redirect_count] => 0 [total_time] => 0.618222 [namelookup_time] => 0.289514 [connect_time] => 0.301804 [pretransfer_time] => 0.541369 [size_upload] => 82 [size_download] => 2755 [speed_download] => 4456 [speed_upload] => 132 [download_content_length] => 2755 [upload_content_length] => 82 [starttransfer_time] => 0.618174 [redirect_time] => 0 [redirect_url] => [primary_ip] => 23.53.4.17 [certinfo] => Array ( ) [primary_port] => 443 [local_ip] => 54.39.180.235 [local_port] => 41628 ) [2025-01-07 04:42:04] Production.INFO: -- connection successfully here --stdClass Object ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDI5MjQsImV4cCI6MTczNjI0MzIyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQyOTI0LCJhdF9oYXNoIjoiR3VKYzZsNC1hWE1SUHdBd213T2VRQSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiL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191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.TUl_uPRD0Ih0nrSQG28mOzWGRC7xMSqh8ZoiZtwT7U9ApHNzrWfyzPce6OzKYhkEDvLHklToF8vbBsvx7-eQRWJk3QICG80_Xjr-LrJ0-er_cYBEbBRZiAIiXBDpdiyT9HHGO1rnHvvhuhjcuVN4FIudZlFitjDVfW32TGrcAEV4jq2nY_UrNAxIHkj_2ix3TcBV2O3etnkhYesuFQsThdngvO8w1bWLbGqG5FuJLn0GvjHdrrLcAJyjLjEMKpeZKPvpG4p1SHeJegAtJ0LjRCeFZfrgaVyZAXc_lQGK1JOSYNDvL4tDhJTvWr0xSk0SBGouDLw1goayJA0JcAP-yg [expires_in] => 1800 [token_type] => Bearer [refresh_token] => kKkeoquOc2_knBKkVbwWW9sIQpl9T0z6aOwtzeE5R9o [scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access ) [2025-01-07 04:42:04] Production.INFO: -- connection successfully --stdClass Object ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyR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YWNjZXNzIl0sImFtciI6WyJwd2QiXX0.TUl_uPRD0Ih0nrSQG28mOzWGRC7xMSqh8ZoiZtwT7U9ApHNzrWfyzPce6OzKYhkEDvLHklToF8vbBsvx7-eQRWJk3QICG80_Xjr-LrJ0-er_cYBEbBRZiAIiXBDpdiyT9HHGO1rnHvvhuhjcuVN4FIudZlFitjDVfW32TGrcAEV4jq2nY_UrNAxIHkj_2ix3TcBV2O3etnkhYesuFQsThdngvO8w1bWLbGqG5FuJLn0GvjHdrrLcAJyjLjEMKpeZKPvpG4p1SHeJegAtJ0LjRCeFZfrgaVyZAXc_lQGK1JOSYNDvL4tDhJTvWr0xSk0SBGouDLw1goayJA0JcAP-yg [expires_in] => 1800 [token_type] => Bearer [refresh_token] => kKkeoquOc2_knBKkVbwWW9sIQpl9T0z6aOwtzeE5R9o [scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access ) [2025-01-07 04:42:04] Production.INFO: AccountID 63 [2025-01-07 04:42:04] Production.INFO: AccountName Clek Inc. [2025-01-07 04:42:04] Production.INFO: Checkcustomer [2025-01-07 04:42:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Clek%20Inc." [2025-01-07 04:42:07] Production.INFO: Contact id print CheckCustomer Case===c5a4d0ce-0d87-4131-b0d8-9808badfe70b [2025-01-07 04:42:07] Production.INFO: -- count --1 [2025-01-07 04:42:07] Production.INFO: AccountID 18 [2025-01-07 04:42:07] Production.INFO: AccountName Sivananda Ashram Yoga Retreat [2025-01-07 04:42:07] Production.INFO: Checkcustomer [2025-01-07 04:42:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Sivananda%20Ashram%20Yoga%20Retreat" [2025-01-07 04:42:10] Production.INFO: Contact id print CheckCustomer Case===64c07100-e054-4831-b9c1-0c728c4e9ba3 [2025-01-07 04:42:10] Production.INFO: -- count --1 [2025-01-07 04:42:10] Production.INFO: AccountID 149 [2025-01-07 04:42:10] Production.INFO: AccountName Dominos 10471 (Ken Hoose) [2025-01-07 04:42:10] Production.INFO: Checkcustomer [2025-01-07 04:42:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010471%20%28Ken%20Hoose%29" [2025-01-07 04:42:13] Production.INFO: Contact id print CheckCustomer Case===035db9cd-92a8-4776-bb57-e5a70cdb3e03 [2025-01-07 04:42:13] Production.INFO: -- count --1 [2025-01-07 04:42:13] Production.INFO: AccountID 93 [2025-01-07 04:42:13] Production.INFO: AccountName Personas [2025-01-07 04:42:13] Production.INFO: Checkcustomer [2025-01-07 04:42:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Personas" [2025-01-07 04:42:15] Production.INFO: Contact id print CheckCustomer Case===31472f57-4acd-4468-9ab0-8ed346b2d96f [2025-01-07 04:42:15] Production.INFO: -- count --1 [2025-01-07 04:42:15] Production.INFO: AccountID 63 [2025-01-07 04:42:15] Production.INFO: AccountName Clek Inc. [2025-01-07 04:42:15] Production.INFO: Checkcustomer [2025-01-07 04:42:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Clek%20Inc." [2025-01-07 04:42:17] Production.INFO: Contact id print CheckCustomer Case===c5a4d0ce-0d87-4131-b0d8-9808badfe70b [2025-01-07 04:42:17] Production.INFO: -- count --1 [2025-01-07 04:42:17] Production.INFO: AccountID 236 [2025-01-07 04:42:17] Production.INFO: AccountName Keogh Construction [2025-01-07 04:42:17] Production.INFO: Checkcustomer [2025-01-07 04:42:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Keogh%20Construction" [2025-01-07 04:42:20] Production.INFO: Contact id print CheckCustomer Case===cad302ad-7c7e-456b-bcf1-bd7729cb22b7 [2025-01-07 04:42:20] Production.INFO: -- count --1 [2025-01-07 04:42:20] Production.INFO: AccountID 237 [2025-01-07 04:42:20] Production.INFO: AccountName Natural Insect Control [2025-01-07 04:42:20] Production.INFO: Checkcustomer [2025-01-07 04:42:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Natural%20Insect%20Control" [2025-01-07 04:42:23] Production.INFO: Contact id print CheckCustomer Case===fcade0cf-7b43-4bfe-86cf-b6c9e33f1686 [2025-01-07 04:42:23] Production.INFO: -- count --1 [2025-01-07 04:42:23] Production.INFO: AccountID 53 [2025-01-07 04:42:23] Production.INFO: AccountName Plus Travel Group [2025-01-07 04:42:23] Production.INFO: Checkcustomer [2025-01-07 04:42:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Plus%20Travel%20Group" [2025-01-07 04:42:25] Production.INFO: Contact id print CheckCustomer Case===5f6b39a6-c5bb-485f-9fdd-a6c7a1eccc47 [2025-01-07 04:42:25] Production.INFO: -- count --1 [2025-01-07 04:42:25] Production.INFO: AccountID 187 [2025-01-07 04:42:25] Production.INFO: AccountName Graybill & Hazlewood - Trial Lawyers [2025-01-07 04:42:25] Production.INFO: Checkcustomer [2025-01-07 04:42:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Graybill%20%26%20Hazlewood%20-%20Trial%20Lawyers" [2025-01-07 04:42:27] Production.INFO: Contact id print CheckCustomer Case===b306e9f3-f561-41b4-bd54-ad2d17a96c90 [2025-01-07 04:42:27] Production.INFO: -- count --1 [2025-01-07 04:42:27] Production.INFO: AccountID 21 [2025-01-07 04:42:27] Production.INFO: AccountName Aaxel Insurance Brokers (Peel Ltd.) [2025-01-07 04:42:27] Production.INFO: Checkcustomer [2025-01-07 04:42:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Aaxel%20Insurance%20Brokers%20%28Peel%20Ltd.%29" [2025-01-07 04:42:30] Production.INFO: Contact id print CheckCustomer Case===ae39ade0-cb7f-4596-8b84-41b21b906e54 [2025-01-07 04:42:30] Production.INFO: -- count --1 [2025-01-07 04:42:30] Production.INFO: -- Xero Add Inovice -- [2025-01-07 04:42:30] Production.INFO: CheckInvoice xerov2: INV11102 [2025-01-07 04:42:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11102 [2025-01-07 04:42:32] Production.INFO: Check Invoice Id XEROV20 [2025-01-07 04:42:32] Production.INFO: ========================== Exception occured ============================= [2025-01-07 04:42:32] Production.ERROR: exception 'ErrorException' with message 'Undefined offset: 102' in /var/www/html/onswitch.neon.service/app/lib/XeroV2.php:0 Stack trace: #0 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, 'Undefined offse...', '/var/www/html/o...', 0, Array) #1 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->GetInvoiceData() #2 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->CreateInvoice() #3 /var/www/html/onswitch.neon.service/app/Console/Commands/XeroInvoicePostV2.php(0): App\Lib\XeroV2->addInvoices() #4 [internal function]: App\Console\Commands\XeroInvoicePostV2->fire() #5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array) #6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array) #7 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #10 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\XeroInvoicePostV2), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #13 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #14 {main} [2025-01-07 04:42:32] Production.INFO: ========================== Exception updated in job and email sent ============================= [2025-01-07 04:42:32] Production.INFO: ==2007== Releasing lock... [2025-01-07 04:42:32] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10419 #Stops# [2025-01-07 04:42:32] Production.INFO: 27.5 MB #Memory Used#