[2025-01-17 00:14:03] Production.INFO: -- Xero Api Check -- [2025-01-17 00:14: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] => 856 [request_size] => 352 [filetime] => -1 [ssl_verify_result] => 0 [redirect_count] => 0 [total_time] => 1.142426 [namelookup_time] => 0.286671 [connect_time] => 0.380352 [pretransfer_time] => 0.916618 [size_upload] => 82 [size_download] => 2755 [speed_download] => 2411 [speed_upload] => 71 [download_content_length] => 2755 [upload_content_length] => 82 [starttransfer_time] => 1.14238 [redirect_time] => 0 [redirect_url] => [primary_ip] => 96.16.248.154 [certinfo] => Array ( ) [primary_port] => 443 [local_ip] => 54.39.180.235 [local_port] => 33688 ) [2025-01-17 00:14:04] Production.INFO: -- connection successfully here --stdClass Object ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzcwOTA4NDQsImV4cCI6MTczNzA5MTE0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM3MDkwODQ0LCJhdF9oYXNoIjoiYXpHVVEyNEU1aE56R2wwZnd3LXpaQSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIi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yb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.yGDzf9pVoXWBFOys4Ows83tuPVEQ_TFrHYX4rR-3YbI37yj-UJmpyv5NLMX0nhZzJUHQUcTGv46fteXcYjg-ldsGhCIKZpc9xUmsL1l9yESjRn1fE7_G86jiq1fw92WoHk8CeaiYTqhL0p8qjBo4Ank0UABk2NGycadDe82GVIg77qVlTbLUnkQcHJa9S3Nm2LzcpY60HYWAW3y7yf9da2bxrquwwuobb_oOtNPyNGwbWD6tcDZUB4QrOqCbmeFvNij9_z8qqU7qX-Wuxyyo1O9uDrPFK6aO-4LbN1Dtfa0vp43h19gT1CmxHC6eri6EWKZH7K1tYeqMoUEE1ro8XQ [expires_in] => 1800 [token_type] => Bearer [refresh_token] => qdQa5v1Rir0s42JX5yAHGFb-vOc8dR8UfyvHLBMixso [scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access ) [2025-01-17 00:14:04] Production.INFO: -- connection successfully --stdClass Object ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZ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YWNjZXNzIl0sImFtciI6WyJwd2QiXX0.yGDzf9pVoXWBFOys4Ows83tuPVEQ_TFrHYX4rR-3YbI37yj-UJmpyv5NLMX0nhZzJUHQUcTGv46fteXcYjg-ldsGhCIKZpc9xUmsL1l9yESjRn1fE7_G86jiq1fw92WoHk8CeaiYTqhL0p8qjBo4Ank0UABk2NGycadDe82GVIg77qVlTbLUnkQcHJa9S3Nm2LzcpY60HYWAW3y7yf9da2bxrquwwuobb_oOtNPyNGwbWD6tcDZUB4QrOqCbmeFvNij9_z8qqU7qX-Wuxyyo1O9uDrPFK6aO-4LbN1Dtfa0vp43h19gT1CmxHC6eri6EWKZH7K1tYeqMoUEE1ro8XQ [expires_in] => 1800 [token_type] => Bearer [refresh_token] => qdQa5v1Rir0s42JX5yAHGFb-vOc8dR8UfyvHLBMixso [scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access ) [2025-01-17 00:14:04] Production.ERROR: Invoice Payment Date 2025-01-16 00:00:00 [2025-01-17 00:14:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Payments?where=Date>=DateTime(2025,01,16) [2025-01-17 00:14:07] Production.ERROR: exception 'ErrorException' with message 'Undefined property: stdClass::$Payments' 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 prope...', '/var/www/html/o...', 0, Array) #1 /var/www/html/onswitch.neon.service/app/Console/Commands/XeroPaymentImport.php(0): App\Lib\XeroV2->GetAndInsertPayment() #2 [internal function]: App\Console\Commands\XeroPaymentImport->fire() #3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array) #4 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array) #5 /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)) #6 /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)) #7 /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)) #8 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\XeroPaymentImport), 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(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #10 /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)) #11 /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)) #12 {main} [2025-01-17 00:14:07] Production.ERROR: CronJobId end14 [2025-01-17 00:14:07] Production.INFO: ==1077== Releasing lock... [2025-01-17 00:14:07] Production.INFO: xeropaymentimport-command-xeropaymentimport-companyid-1-cronjobid-14 #Stops# [2025-01-17 00:14:07] Production.INFO: 26 MB #Memory Used# [2025-01-17 06:14:04] Production.INFO: -- Xero Api Check -- [2025-01-17 06:14:05] 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.961462 [namelookup_time] => 0.279199 [connect_time] => 0.370358 [pretransfer_time] => 0.745629 [size_upload] => 82 [size_download] => 2755 [speed_download] => 2865 [speed_upload] => 85 [download_content_length] => 2755 [upload_content_length] => 82 [starttransfer_time] => 0.961383 [redirect_time] => 0 [redirect_url] => [primary_ip] => 96.16.248.139 [certinfo] => Array ( ) [primary_port] => 443 [local_ip] => 54.39.180.235 [local_port] => 40306 ) [2025-01-17 06:14:05] Production.INFO: -- connection successfully here --stdClass Object ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzcxMTI0NDUsImV4cCI6MTczNzExMjc0NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM3MTEyNDQ1LCJhdF9oYXNoIjoiN05qLS1RX1d1Z1dTeHhNNHpvZ2hEdyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJ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G9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.AdreUKuJShUQUzzxLBOHaN-9I9AiC1a8PsmCNgV5Q4WZAF_57sJSlCVvS_NzBEqXt1r6u2B6JhKokcZmQ9l2rky8-aQeLEe4WhKUVVXWnuXkgtss8uVzF-SmpunnklP2ugGf4T2w9nverZ0QttjUGeOetTV7dfl-mACyd5Bxl_mQNpknjQ8VtOtlySqf3wsS3pwiRMopEqua5f_6Splg4YHfvCIPFY-WgH99GhuQ0q3QeEJ9Spq-1GnYI_5w_8KdU8f6C608tzOrYuPnjAJ4ibUwkM-SfmDsLw8jxUh9AlDh_Cc43oO9WuRynAmaOiLfBah6GLyiglxinq8Nm4ydjw [expires_in] => 1800 [token_type] => Bearer [refresh_token] => HCSGwd2lDEgUALo3oC8VzkBCzsIpVXvIQ3eviLJeFPk [scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access ) [2025-01-17 06:14:05] Production.INFO: -- connection successfully --stdClass Object ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJ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Q4WZAF_57sJSlCVvS_NzBEqXt1r6u2B6JhKokcZmQ9l2rky8-aQeLEe4WhKUVVXWnuXkgtss8uVzF-SmpunnklP2ugGf4T2w9nverZ0QttjUGeOetTV7dfl-mACyd5Bxl_mQNpknjQ8VtOtlySqf3wsS3pwiRMopEqua5f_6Splg4YHfvCIPFY-WgH99GhuQ0q3QeEJ9Spq-1GnYI_5w_8KdU8f6C608tzOrYuPnjAJ4ibUwkM-SfmDsLw8jxUh9AlDh_Cc43oO9WuRynAmaOiLfBah6GLyiglxinq8Nm4ydjw [expires_in] => 1800 [token_type] => Bearer [refresh_token] => HCSGwd2lDEgUALo3oC8VzkBCzsIpVXvIQ3eviLJeFPk [scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access ) [2025-01-17 06:14:05] Production.ERROR: Invoice Payment Date 2025-01-16 00:00:00 [2025-01-17 06:14:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Payments?where=Date>=DateTime(2025,01,16) [2025-01-17 06:14:07] Production.ERROR: exception 'ErrorException' with message 'Undefined property: stdClass::$Payments' 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 prope...', '/var/www/html/o...', 0, Array) #1 /var/www/html/onswitch.neon.service/app/Console/Commands/XeroPaymentImport.php(0): App\Lib\XeroV2->GetAndInsertPayment() #2 [internal function]: App\Console\Commands\XeroPaymentImport->fire() #3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array) #4 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array) #5 /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)) #6 /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)) #7 /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)) #8 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\XeroPaymentImport), 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(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #10 /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)) #11 /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)) #12 {main} [2025-01-17 06:14:07] Production.ERROR: CronJobId end14 [2025-01-17 06:14:07] Production.INFO: ==30547== Releasing lock... [2025-01-17 06:14:07] Production.INFO: xeropaymentimport-command-xeropaymentimport-companyid-1-cronjobid-14 #Stops# [2025-01-17 06:14:07] Production.INFO: 26 MB #Memory Used# [2025-01-17 12:14:04] Production.INFO: -- Xero Api Check -- [2025-01-17 12:14:05] Production.INFO: -- curl info --Array ( [url] => https://identity.xero.com/connect/token [content_type] => application/json; charset=UTF-8 [http_code] => 200 [header_size] => 858 [request_size] => 352 [filetime] => -1 [ssl_verify_result] => 0 [redirect_count] => 0 [total_time] => 1.018435 [namelookup_time] => 0.291436 [connect_time] => 0.373394 [pretransfer_time] => 0.791452 [size_upload] => 82 [size_download] => 2755 [speed_download] => 2705 [speed_upload] => 80 [download_content_length] => 2755 [upload_content_length] => 82 [starttransfer_time] => 1.018376 [redirect_time] => 0 [redirect_url] => [primary_ip] => 104.86.111.26 [certinfo] => Array ( ) [primary_port] => 443 [local_ip] => 54.39.180.235 [local_port] => 35352 ) [2025-01-17 12:14:05] Production.INFO: -- connection successfully here --stdClass Object ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzcxMzQwNDUsImV4cCI6MTczNzEzNDM0NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM3MTM0MDQ1LCJhdF9oYXNoIjoiMkZIZzJGVlQyMDBIdGxhdDFsQzNaUSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeW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TVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.FGu-9PDjy137nZCxbGkFu7_fnJgt23gTgiNUOVRMQED7PzTm37xfLFTyUfScFNCAMVsB_koZ0NR27-nZAHxJXPDHwYyfQjwxfnZpsFaZD2ji-fv7VEqe_qh8C_Zf_SmukfovAUiTlMC_O77-AXJsblumGec6bDxYaMlMz1HKCs7q293Fjr2dh-k9yZ6Oz--71JaFfo6KtnPuPjk27yZTybC4XjZ8pczjaSJ_18jYhUmI6Cf3_HPlni7CWxCfn0JT5_drRJQKC-br5kyjpylNRGZffxbypCATOzNEbThbhxAS-DNs0LFZxk7x5pAlCOGzpBqlSGHU8XnUrZrIpjNBAw [expires_in] => 1800 [token_type] => Bearer [refresh_token] => KSq7f_M_nT0Uf43t0vy7vYs8TPqinayNaz4WcnEV5aA [scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access ) [2025-01-17 12:14:05] Production.INFO: -- connection successfully --stdClass Object ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzcxMzQwNDUsImV4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sFaZD2ji-fv7VEqe_qh8C_Zf_SmukfovAUiTlMC_O77-AXJsblumGec6bDxYaMlMz1HKCs7q293Fjr2dh-k9yZ6Oz--71JaFfo6KtnPuPjk27yZTybC4XjZ8pczjaSJ_18jYhUmI6Cf3_HPlni7CWxCfn0JT5_drRJQKC-br5kyjpylNRGZffxbypCATOzNEbThbhxAS-DNs0LFZxk7x5pAlCOGzpBqlSGHU8XnUrZrIpjNBAw [expires_in] => 1800 [token_type] => Bearer [refresh_token] => KSq7f_M_nT0Uf43t0vy7vYs8TPqinayNaz4WcnEV5aA [scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access ) [2025-01-17 12:14:05] Production.ERROR: Invoice Payment Date 2025-01-16 00:00:00 [2025-01-17 12:14:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Payments?where=Date>=DateTime(2025,01,16) [2025-01-17 12:14:08] Production.ERROR: exception 'ErrorException' with message 'Undefined property: stdClass::$Payments' 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 prope...', '/var/www/html/o...', 0, Array) #1 /var/www/html/onswitch.neon.service/app/Console/Commands/XeroPaymentImport.php(0): App\Lib\XeroV2->GetAndInsertPayment() #2 [internal function]: App\Console\Commands\XeroPaymentImport->fire() #3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array) #4 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array) #5 /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)) #6 /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)) #7 /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)) #8 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\XeroPaymentImport), 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(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #10 /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)) #11 /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)) #12 {main} [2025-01-17 12:14:08] Production.ERROR: CronJobId end14 [2025-01-17 12:14:08] Production.INFO: ==27718== Releasing lock... [2025-01-17 12:14:08] Production.INFO: xeropaymentimport-command-xeropaymentimport-companyid-1-cronjobid-14 #Stops# [2025-01-17 12:14:08] Production.INFO: 26 MB #Memory Used# [2025-01-17 18:14:03] Production.INFO: -- Xero Api Check -- [2025-01-17 18:14:05] 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] => 1.071536 [namelookup_time] => 0.293576 [connect_time] => 0.374404 [pretransfer_time] => 0.781707 [size_upload] => 82 [size_download] => 2755 [speed_download] => 2571 [speed_upload] => 76 [download_content_length] => 2755 [upload_content_length] => 82 [starttransfer_time] => 1.071462 [redirect_time] => 0 [redirect_url] => [primary_ip] => 2.21.67.32 [certinfo] => Array ( ) [primary_port] => 443 [local_ip] => 54.39.180.235 [local_port] => 47366 ) [2025-01-17 18:14:05] Production.INFO: -- connection successfully here --stdClass Object ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzcxNTU2NDQsImV4cCI6MTczNzE1NTk0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM3MTU1NjQ0LCJhdF9oYXNoIjoiYWw2ZjNzeHVsSllqU3NCTUNhNmlPZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa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qdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.Cmu45kpSi9gF3XeyuyKJYZ68NSnJoN3b-fK7IAx3UEoCB4kd27_fjQQxYJfF0gmtIn0st5dWq6cS7LHyLzSIZx0f8U6NG0V6Hw5OLC5AKe1k0bpHMhNgoo5S3NCt5c1sLeo-JYFvYIVEDXpzyyRsY43EnVpBKgvb7M9Dr66US4O9HUcPV6nxt6Gn7li3qzyusm-rKruYOGBtrPU_lDH-zv-kSCi6ksyDegSq5syvM9eSiPF3OB7nW9qDexhC39QlAuJejIBKff1QOntvB2rJ9RtlggWA3ZWPPQuzma28YBRT5K6WqC3VKPQ0qUEJ1DfQcC8DEsZDz3cvRVala3TYfQ [expires_in] => 1800 [token_type] => Bearer [refresh_token] => xC2RXzPldpzKWzs6ovgqFvIGziFUuM7M-W5eL4OPdNA [scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access ) [2025-01-17 18:14:05] Production.INFO: -- connection successfully --stdClass Object ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzcxNTU2NDQsImV4cCI6MTczNzE1NTk0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNv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M9Dr66US4O9HUcPV6nxt6Gn7li3qzyusm-rKruYOGBtrPU_lDH-zv-kSCi6ksyDegSq5syvM9eSiPF3OB7nW9qDexhC39QlAuJejIBKff1QOntvB2rJ9RtlggWA3ZWPPQuzma28YBRT5K6WqC3VKPQ0qUEJ1DfQcC8DEsZDz3cvRVala3TYfQ [expires_in] => 1800 [token_type] => Bearer [refresh_token] => xC2RXzPldpzKWzs6ovgqFvIGziFUuM7M-W5eL4OPdNA [scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access ) [2025-01-17 18:14:05] Production.ERROR: Invoice Payment Date 2025-01-16 00:00:00 [2025-01-17 18:14:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Payments?where=Date>=DateTime(2025,01,16) [2025-01-17 18:14:07] Production.ERROR: exception 'ErrorException' with message 'Undefined property: stdClass::$Payments' 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 prope...', '/var/www/html/o...', 0, Array) #1 /var/www/html/onswitch.neon.service/app/Console/Commands/XeroPaymentImport.php(0): App\Lib\XeroV2->GetAndInsertPayment() #2 [internal function]: App\Console\Commands\XeroPaymentImport->fire() #3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array) #4 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array) #5 /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)) #6 /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)) #7 /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)) #8 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\XeroPaymentImport), 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(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #10 /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)) #11 /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)) #12 {main} [2025-01-17 18:14:07] Production.ERROR: CronJobId end14 [2025-01-17 18:14:07] Production.INFO: ==23588== Releasing lock... [2025-01-17 18:14:07] Production.INFO: xeropaymentimport-command-xeropaymentimport-companyid-1-cronjobid-14 #Stops# [2025-01-17 18:14:07] Production.INFO: 26 MB #Memory Used#