[2025-01-07 06:39:03] Production.INFO: -- Xero Api Check -- [2025-01-07 06:39: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] => 855 [request_size] => 352 [filetime] => -1 [ssl_verify_result] => 0 [redirect_count] => 0 [total_time] => 0.773743 [namelookup_time] => 0.275721 [connect_time] => 0.28681 [pretransfer_time] => 0.57703 [size_upload] => 82 [size_download] => 2755 [speed_download] => 3560 [speed_upload] => 105 [download_content_length] => 2755 [upload_content_length] => 82 [starttransfer_time] => 0.773697 [redirect_time] => 0 [redirect_url] => [primary_ip] => 23.53.4.33 [certinfo] => Array ( ) [primary_port] => 443 [local_ip] => 54.39.180.235 [local_port] => 41916 ) [2025-01-07 06:39:04] Production.INFO: -- connection successfully here --stdClass Object ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDk5NDQsImV4cCI6MTczNjI1MDI0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ5OTQ0LCJhdF9oYXNoIjoieVd5QnZvMVozVW5wRGljcWszcGYyUSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiL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ieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.px9_3JXhyxlAy8eBStD3go7_7s8E3GFIHOkVjrqFuwFPUrZ5ScGqv5SXPWJCl5cRvGWA2GdKocWehs0Ei3ve98-BduHf8eLuVFG57d1ZMD7WuzQ0VUqyeccB5m48X1Vpf2WYYmuEOYNt8OX-ZNMfX2OZ7R4TxJTwJwqN7jW0SMTfVmJPk2Ik9erM124nevGZRngp6jkMurNzO_0eKjFlcnUwO7hIe1X_ePMmIBkHjVED1BO_aczSVVsjREuskUgWGIQD1TyW2JVPZXVwLKxMhtKGXnYK_WjYVo4ymE2qSR7iH7AJlOZoEnuRr-Clsd8ZL9SpL-F1GK1EmoHf3iK5hw [expires_in] => 1800 [token_type] => Bearer [refresh_token] => iJqzmuh-DbNQMtPt8HWkupsc8RbwnU_ddPrtyglaC7Q [scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access ) [2025-01-07 06:39:04] Production.INFO: -- connection successfully --stdClass Object ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4R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sIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.px9_3JXhyxlAy8eBStD3go7_7s8E3GFIHOkVjrqFuwFPUrZ5ScGqv5SXPWJCl5cRvGWA2GdKocWehs0Ei3ve98-BduHf8eLuVFG57d1ZMD7WuzQ0VUqyeccB5m48X1Vpf2WYYmuEOYNt8OX-ZNMfX2OZ7R4TxJTwJwqN7jW0SMTfVmJPk2Ik9erM124nevGZRngp6jkMurNzO_0eKjFlcnUwO7hIe1X_ePMmIBkHjVED1BO_aczSVVsjREuskUgWGIQD1TyW2JVPZXVwLKxMhtKGXnYK_WjYVo4ymE2qSR7iH7AJlOZoEnuRr-Clsd8ZL9SpL-F1GK1EmoHf3iK5hw [expires_in] => 1800 [token_type] => Bearer [refresh_token] => iJqzmuh-DbNQMtPt8HWkupsc8RbwnU_ddPrtyglaC7Q [scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access ) [2025-01-07 06:39:04] Production.INFO: AccountID 4 [2025-01-07 06:39:04] Production.INFO: AccountName UNIGLOBE Canada [2025-01-07 06:39:04] Production.INFO: Checkcustomer [2025-01-07 06:39:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="UNIGLOBE%20Canada" [2025-01-07 06:39:06] Production.INFO: Contact id print CheckCustomer Case===d965b2fe-ffb5-4359-bc08-f6a098234349 [2025-01-07 06:39:06] Production.INFO: -- count --1 [2025-01-07 06:39:06] Production.INFO: AccountID 4 [2025-01-07 06:39:06] Production.INFO: AccountName UNIGLOBE Canada [2025-01-07 06:39:06] Production.INFO: Checkcustomer [2025-01-07 06:39:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="UNIGLOBE%20Canada" [2025-01-07 06:39:09] Production.INFO: Contact id print CheckCustomer Case===d965b2fe-ffb5-4359-bc08-f6a098234349 [2025-01-07 06:39:09] Production.INFO: -- count --1 [2025-01-07 06:39:09] Production.INFO: AccountID 4 [2025-01-07 06:39:09] Production.INFO: AccountName UNIGLOBE Canada [2025-01-07 06:39:09] Production.INFO: Checkcustomer [2025-01-07 06:39:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="UNIGLOBE%20Canada" [2025-01-07 06:39:12] Production.INFO: Contact id print CheckCustomer Case===d965b2fe-ffb5-4359-bc08-f6a098234349 [2025-01-07 06:39:12] Production.INFO: -- count --1 [2025-01-07 06:39:12] Production.INFO: AccountID 4 [2025-01-07 06:39:12] Production.INFO: AccountName UNIGLOBE Canada [2025-01-07 06:39:12] Production.INFO: Checkcustomer [2025-01-07 06:39:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="UNIGLOBE%20Canada" [2025-01-07 06:39:14] Production.INFO: Contact id print CheckCustomer Case===d965b2fe-ffb5-4359-bc08-f6a098234349 [2025-01-07 06:39:14] Production.INFO: -- count --1 [2025-01-07 06:39:14] Production.INFO: AccountID 4 [2025-01-07 06:39:14] Production.INFO: AccountName UNIGLOBE Canada [2025-01-07 06:39:14] Production.INFO: Checkcustomer [2025-01-07 06:39:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="UNIGLOBE%20Canada" [2025-01-07 06:39:16] Production.INFO: Contact id print CheckCustomer Case===d965b2fe-ffb5-4359-bc08-f6a098234349 [2025-01-07 06:39:16] Production.INFO: -- count --1 [2025-01-07 06:39:16] Production.INFO: AccountID 4 [2025-01-07 06:39:16] Production.INFO: AccountName UNIGLOBE Canada [2025-01-07 06:39:16] Production.INFO: Checkcustomer [2025-01-07 06:39:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="UNIGLOBE%20Canada" [2025-01-07 06:39:19] Production.INFO: Contact id print CheckCustomer Case===d965b2fe-ffb5-4359-bc08-f6a098234349 [2025-01-07 06:39:19] Production.INFO: -- count --1 [2025-01-07 06:39:19] Production.INFO: -- Xero Add Inovice -- [2025-01-07 06:39:19] Production.INFO: CheckInvoice xerov2: INV10722 [2025-01-07 06:39:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV10722 [2025-01-07 06:39:21] Production.INFO: Check Invoice Id XEROV20 [2025-01-07 06:39:21] Production.INFO: ========================== Exception occured ============================= [2025-01-07 06:39:21] Production.ERROR: exception 'ErrorException' with message 'Undefined offset: 89' 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 06:39:21] Production.INFO: ========================== Exception updated in job and email sent ============================= [2025-01-07 06:39:21] Production.INFO: ==12296== Releasing lock... [2025-01-07 06:39:21] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10452 #Stops# [2025-01-07 06:39:21] Production.INFO: 27.5 MB #Memory Used#