Log Messages

总计82条数据
TimeLevelCategoryMessage
 
18:02:47.831traceyii\base\Application::bootstrapBootstrap with yii\log\Dispatcher
18:02:47.831traceyii\base\Module::getModuleLoading module: debug
18:02:47.832traceyii\base\Application::bootstrapBootstrap with yii\debug\Module::bootstrap()
18:02:47.832traceyii\redis\Connection::openOpening redis DB connection: redis.server.local:6379, database=1
18:02:47.832traceyii\redis\Connection::executeCommandExecuting Redis Command: SELECT
18:02:47.832traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
18:02:47.832traceyii\base\Module::getModuleLoading module: gii
18:02:47.832traceyii\base\Application::bootstrapBootstrap with yii\gii\Module::bootstrap()
18:02:47.833traceyii\web\UrlManager::parseRequestNo matching URL rules. Using default URL parsing logic.
18:02:47.833traceyii\web\Application::handleRequestRoute requested: 'vue/purchase-contract/save-new-return'
18:02:47.833traceyii\base\Module::getModuleLoading module: vue
18:02:47.833infoyii\web\Session::openSession started
18:02:47.833infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "id"=1001
18:02:47.833infoyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
18:02:47.838traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
18:02:47.838traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
18:02:47.839traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
18:02:47.839traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
18:02:47.839infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
18:02:47.841traceyii\base\Controller::runActionRoute to run: vue/purchase-contract/save-new-return
18:02:47.841traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
18:02:47.842traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: Admin
18:02:47.842traceyii\base\InlineAction::runWithParamsRunning action: app\modules\vue\controllers\PurchaseContractController::actionSaveNewReturn()
18:02:47.842infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_purchase_contracts" WHERE "id"='4079'
18:02:47.843traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
18:02:47.843traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
18:02:47.843traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
18:02:47.844traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
18:02:47.845traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'id' in 'app\models\PurchaseContracts'.
18:02:47.845traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'supplier_name' in 'app\models\PurchaseContracts'.
18:02:47.845traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'from_date' in 'app\models\PurchaseContracts'.
18:02:47.845traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'original_amount' in 'app\models\PurchaseContracts'.
18:02:47.845traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'returns_amount' in 'app\models\PurchaseContracts'.
18:02:47.845traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'returns_number' in 'app\models\PurchaseContracts'.
18:02:47.845traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'contractScans' in 'app\models\PurchaseContracts'.
18:02:47.845traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'erpPurchaseReturnProducts' in 'app\models\PurchaseContracts'.
18:02:47.845traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'purchaseContractPaymentCollectionRemindDates' in 'app\models\PurchaseContracts'.
18:02:47.845traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'purchaseContractPaymentCollectionRemindReceivers' in 'app\models\PurchaseContracts'.
18:02:47.845infoyii\db\Command::querySELECT "id" FROM "a57be577deb434"."tbl_purchase_contracts" WHERE "serial_no"='TSKJ20250804-HYYF-001' LIMIT 2
18:02:47.846infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_suppliers" WHERE "id"='236')
18:02:47.847infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"='1011')
18:02:47.848infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1011)
18:02:47.848traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
18:02:47.848infoyii\db\Command::querySELECT d.nspname AS table_schema, c.relname AS table_name, a.attname AS column_name, t.typname AS data_type, a.attlen AS character_maximum_length, pg_catalog.col_description(c.oid, a.attnum) AS column_comment, a.atttypmod AS modifier, a.attnotnull = false AS is_nullable, CAST(pg_get_expr(ad.adbin, ad.adrelid) AS varchar) AS column_default, coalesce(pg_get_expr(ad.adbin, ad.adrelid) ~ 'nextval',false) AS is_autoinc, array_to_string((select array_agg(enumlabel) from pg_enum where enumtypid=a.atttypid)::varchar[],',') as enum_values, CASE atttypid WHEN 21 /*int2*/ THEN 16 WHEN 23 /*int4*/ THEN 32 WHEN 20 /*int8*/ THEN 64 WHEN 1700 /*numeric*/ THEN CASE WHEN atttypmod = -1 THEN null ELSE ((atttypmod - 4) >> 16) & 65535 END WHEN 700 /*float4*/ THEN 24 /*FLT_MANT_DIG*/ WHEN 701 /*float8*/ THEN 53 /*DBL_MANT_DIG*/ ELSE null END AS numeric_precision, CASE WHEN atttypid IN (21, 23, 20) THEN 0 WHEN atttypid IN (1700) THEN CASE WHEN atttypmod = -1 THEN null ELSE (atttypmod - 4) & 65535 END ELSE null END AS numeric_scale, CAST( information_schema._pg_char_max_length(information_schema._pg_truetypid(a, t), information_schema._pg_truetypmod(a, t)) AS numeric ) AS size, a.attnum = any (ct.conkey) as is_pkey FROM pg_class c LEFT JOIN pg_attribute a ON a.attrelid = c.oid LEFT JOIN pg_attrdef ad ON a.attrelid = ad.adrelid AND a.attnum = ad.adnum LEFT JOIN pg_type t ON a.atttypid = t.oid LEFT JOIN pg_namespace d ON d.oid = c.relnamespace LEFT join pg_constraint ct on ct.conrelid=c.oid and ct.contype='p' WHERE a.attnum > 0 and t.typname != '' and c.relname = 'tbl_erp_inventory_products' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
18:02:47.854infoyii\db\Command::queryselect ct.conname as constraint_name, a.attname as column_name, fc.relname as foreign_table_name, fns.nspname as foreign_table_schema, fa.attname as foreign_column_name from (SELECT ct.conname, ct.conrelid, ct.confrelid, ct.conkey, ct.contype, ct.confkey, generate_subscripts(ct.conkey, 1) AS s FROM pg_constraint ct ) AS ct inner join pg_class c on c.oid=ct.conrelid inner join pg_namespace ns on c.relnamespace=ns.oid inner join pg_attribute a on a.attrelid=ct.conrelid and a.attnum = ct.conkey[ct.s] left join pg_class fc on fc.oid=ct.confrelid left join pg_namespace fns on fc.relnamespace=fns.oid left join pg_attribute fa on fa.attrelid=ct.confrelid and fa.attnum = ct.confkey[ct.s] where ct.contype='f' and c.relname='tbl_erp_inventory_products' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
18:02:47.859traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
18:02:47.859traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
18:02:47.859infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_inventory_products" WHERE "id"=4
18:02:47.860infoyii\db\Command::execute
18:02:47.860infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_purchase_contracts" SET "supplier_id"=236, "contract_type"=1, "handler"=1011, "updated_at"='now()', "payment_collection_remind_ahead"='0 day' WHERE "id"=4079
18:02:47.863traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
18:02:47.863traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
18:02:47.864infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\PurchaseContracts', 4079, 'a:1:{s:31:"payment_collection_remind_ahead";s:5:"0 day";}', '', 1001, '114.254.2.139')
18:02:47.870infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_suppliers" WHERE "id"='236'
18:02:47.871traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
18:02:47.871traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
18:02:47.871infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=108) AND ("object_id"=4079)
18:02:47.873infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=108) AND ("object_id"=4079)
18:02:47.875infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_purchase_contract_payment_collection_remind_receivers" WHERE "contract_id"=4079
18:02:47.876traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
18:02:47.876infoyii\db\Command::querySELECT d.nspname AS table_schema, c.relname AS table_name, a.attname AS column_name, t.typname AS data_type, a.attlen AS character_maximum_length, pg_catalog.col_description(c.oid, a.attnum) AS column_comment, a.atttypmod AS modifier, a.attnotnull = false AS is_nullable, CAST(pg_get_expr(ad.adbin, ad.adrelid) AS varchar) AS column_default, coalesce(pg_get_expr(ad.adbin, ad.adrelid) ~ 'nextval',false) AS is_autoinc, array_to_string((select array_agg(enumlabel) from pg_enum where enumtypid=a.atttypid)::varchar[],',') as enum_values, CASE atttypid WHEN 21 /*int2*/ THEN 16 WHEN 23 /*int4*/ THEN 32 WHEN 20 /*int8*/ THEN 64 WHEN 1700 /*numeric*/ THEN CASE WHEN atttypmod = -1 THEN null ELSE ((atttypmod - 4) >> 16) & 65535 END WHEN 700 /*float4*/ THEN 24 /*FLT_MANT_DIG*/ WHEN 701 /*float8*/ THEN 53 /*DBL_MANT_DIG*/ ELSE null END AS numeric_precision, CASE WHEN atttypid IN (21, 23, 20) THEN 0 WHEN atttypid IN (1700) THEN CASE WHEN atttypmod = -1 THEN null ELSE (atttypmod - 4) & 65535 END ELSE null END AS numeric_scale, CAST( information_schema._pg_char_max_length(information_schema._pg_truetypid(a, t), information_schema._pg_truetypmod(a, t)) AS numeric ) AS size, a.attnum = any (ct.conkey) as is_pkey FROM pg_class c LEFT JOIN pg_attribute a ON a.attrelid = c.oid LEFT JOIN pg_attrdef ad ON a.attrelid = ad.adrelid AND a.attnum = ad.adnum LEFT JOIN pg_type t ON a.atttypid = t.oid LEFT JOIN pg_namespace d ON d.oid = c.relnamespace LEFT join pg_constraint ct on ct.conrelid=c.oid and ct.contype='p' WHERE a.attnum > 0 and t.typname != '' and c.relname = 'tbl_purchase_contract_payment_collection_remind_receivers' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
18:02:47.878infoyii\db\Command::queryselect ct.conname as constraint_name, a.attname as column_name, fc.relname as foreign_table_name, fns.nspname as foreign_table_schema, fa.attname as foreign_column_name from (SELECT ct.conname, ct.conrelid, ct.confrelid, ct.conkey, ct.contype, ct.confkey, generate_subscripts(ct.conkey, 1) AS s FROM pg_constraint ct ) AS ct inner join pg_class c on c.oid=ct.conrelid inner join pg_namespace ns on c.relnamespace=ns.oid inner join pg_attribute a on a.attrelid=ct.conrelid and a.attnum = ct.conkey[ct.s] left join pg_class fc on fc.oid=ct.confrelid left join pg_namespace fns on fc.relnamespace=fns.oid left join pg_attribute fa on fa.attrelid=ct.confrelid and fa.attnum = ct.confkey[ct.s] where ct.contype='f' and c.relname='tbl_purchase_contract_payment_collection_remind_receivers' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
18:02:47.882traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
18:02:47.882traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
18:02:47.882infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_purchase_contract_payment_collection_remind_receivers" ("contract_id", "user_id") VALUES (4079, 1011) RETURNING "id"
18:02:47.889infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\PurchaseContractPaymentCollectionRemindReceivers', 1389, 'a:3:{s:2:"id";i:1389;s:11:"contract_id";i:4079;s:7:"user_id";i:1011;}', '', 1001, '114.254.2.139')
18:02:47.890infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_purchase_contract_payment_collection_remind_dates" WHERE "contract_id"=4079
18:02:47.891traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
18:02:47.891infoyii\db\Command::querySELECT d.nspname AS table_schema, c.relname AS table_name, a.attname AS column_name, t.typname AS data_type, a.attlen AS character_maximum_length, pg_catalog.col_description(c.oid, a.attnum) AS column_comment, a.atttypmod AS modifier, a.attnotnull = false AS is_nullable, CAST(pg_get_expr(ad.adbin, ad.adrelid) AS varchar) AS column_default, coalesce(pg_get_expr(ad.adbin, ad.adrelid) ~ 'nextval',false) AS is_autoinc, array_to_string((select array_agg(enumlabel) from pg_enum where enumtypid=a.atttypid)::varchar[],',') as enum_values, CASE atttypid WHEN 21 /*int2*/ THEN 16 WHEN 23 /*int4*/ THEN 32 WHEN 20 /*int8*/ THEN 64 WHEN 1700 /*numeric*/ THEN CASE WHEN atttypmod = -1 THEN null ELSE ((atttypmod - 4) >> 16) & 65535 END WHEN 700 /*float4*/ THEN 24 /*FLT_MANT_DIG*/ WHEN 701 /*float8*/ THEN 53 /*DBL_MANT_DIG*/ ELSE null END AS numeric_precision, CASE WHEN atttypid IN (21, 23, 20) THEN 0 WHEN atttypid IN (1700) THEN CASE WHEN atttypmod = -1 THEN null ELSE (atttypmod - 4) & 65535 END ELSE null END AS numeric_scale, CAST( information_schema._pg_char_max_length(information_schema._pg_truetypid(a, t), information_schema._pg_truetypmod(a, t)) AS numeric ) AS size, a.attnum = any (ct.conkey) as is_pkey FROM pg_class c LEFT JOIN pg_attribute a ON a.attrelid = c.oid LEFT JOIN pg_attrdef ad ON a.attrelid = ad.adrelid AND a.attnum = ad.adnum LEFT JOIN pg_type t ON a.atttypid = t.oid LEFT JOIN pg_namespace d ON d.oid = c.relnamespace LEFT join pg_constraint ct on ct.conrelid=c.oid and ct.contype='p' WHERE a.attnum > 0 and t.typname != '' and c.relname = 'tbl_purchase_contract_payment_collection_remind_dates' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
18:02:47.894infoyii\db\Command::queryselect ct.conname as constraint_name, a.attname as column_name, fc.relname as foreign_table_name, fns.nspname as foreign_table_schema, fa.attname as foreign_column_name from (SELECT ct.conname, ct.conrelid, ct.confrelid, ct.conkey, ct.contype, ct.confkey, generate_subscripts(ct.conkey, 1) AS s FROM pg_constraint ct ) AS ct inner join pg_class c on c.oid=ct.conrelid inner join pg_namespace ns on c.relnamespace=ns.oid inner join pg_attribute a on a.attrelid=ct.conrelid and a.attnum = ct.conkey[ct.s] left join pg_class fc on fc.oid=ct.confrelid left join pg_namespace fns on fc.relnamespace=fns.oid left join pg_attribute fa on fa.attrelid=ct.confrelid and fa.attnum = ct.confkey[ct.s] where ct.contype='f' and c.relname='tbl_purchase_contract_payment_collection_remind_dates' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
18:02:47.897traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
18:02:47.897traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
18:02:47.897traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
18:02:47.897traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
18:02:47.898infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "description") VALUES (2, 'purchaseContractPaymentCollectionRemindDates', 4079, 1, 1001, 'now()', '[[]]', '[["2025-08-04 2513\u5143"]]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u6536\u6b3e\u8ba1\u5212","d4":["2025-08-04 2513\u5143; <b>\u53d8\u4e3a<\/b> (\u672a\u8bbe\u7f6e)"]}')
18:02:47.901infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE 0=1
18:02:47.902erroryii\base\ErrorException:8yii\base\ErrorException: Trying to get property of non-object in /var/www/beta/modules/vue/controllers/PurchaseContractController.php:6691 Stack trace: #0 /var/www/beta/modules/vue/controllers/PurchaseContractController.php(6691): yii\base\ErrorHandler->handleError(8, 'Trying to get p...', '/var/www/beta/m...', 6691, Array) #1 [internal function]: app\modules\vue\controllers\PurchaseContractController->actionSaveNewReturn() #2 /var/www/beta/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array) #3 /var/www/beta/vendor/yiisoft/yii2/base/Controller.php(156): yii\base\InlineAction->runWithParams(Array) #4 /var/www/beta/vendor/yiisoft/yii2/base/Module.php(522): yii\base\Controller->runAction('save-new-return', Array) #5 /var/www/beta/vendor/yiisoft/yii2/web/Application.php(102): yii\base\Module->runAction('vue/purchase-co...', Array) #6 /var/www/beta/vendor/yiisoft/yii2/base/Application.php(379): yii\web\Application->handleRequest(Object(yii\web\Request)) #7 /var/www/beta/web/index.php(24): yii\base\Application->run() #8 {main}
18:02:47.902traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
18:02:47.902traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
18:02:47.902infoyii\db\Command::queryINSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "url", "request", "response", "php_error", "time") VALUES (NULL, 'a57be577deb434', 1001, 5, 'vue/purchase-contract/save-new-return', '{"ErpPurchaseReturns":{"id":"4079","supplier_id":"236","supplier_name":"\u5317\u4eac\u5929\u4fe1\u5b8f\u8fbe\u4fe1\u606f\u6280\u672f\u6709\u9650\u516c\u53f8","handler":"1011","contract_type":"1","serial_no":"TSKJ20250804-HYYF-001","signed_at":"2025-08-04","from_date":"","description":"","original_amount":"2513","returns_amount":"2513","returns_number":"1","contractScans":"","erpPurchaseReturnProducts":{"new":[{"product_id":"2049","number":"1","amount":"2513","total_amount":"2513","description":"","erp_purchase_order_id":"2009","erp_purchase_inbound_product_id":"3","erp_inventory_start_product_id":"","erp_inventory_product_id":"4","sns":""}]},"purchaseContractPaymentCollectionRemindDates":"","purchaseContractPaymentCollectionRemindReceivers":["1011"],"payment_collection_remind_ahead":""},"web_access_token":"dPFEBxDCNesd10Ar-2x3OenPGyrzQr4P"}', '{"code":"","data":null,"status":0,"msg":[{"name":"error","success":"","error":"Trying to get property of non-object","trace":{"name":"PHP Notice","message":"Trying to get property of non-object","code":8,"type":"yii\\base\\ErrorException","file":"\/var\/www\/beta\/modules\/vue\/controllers\/PurchaseContractController.php","line":6691,"stack-trace":["#0 \/var\/www\/beta\/modules\/vue\/controllers\/PurchaseContractController.php(6691): yii\\base\\ErrorHandler->handleError(8, ''Trying to get p...'', ''\/var\/www\/beta\/m...'', 6691, Array)","#1 [internal function]: app\\modules\\vue\\controllers\\PurchaseContractController->actionSaveNewReturn()","#2 \/var\/www\/beta\/vendor\/yiisoft\/yii2\/base\/InlineAction.php(57): call_user_func_array(Array, Array)","#3 \/var\/www\/beta\/vendor\/yiisoft\/yii2\/base\/Controller.php(156): yii\\base\\InlineAction->runWithParams(Array)","#4 \/var\/www\/beta\/vendor\/yiisoft\/yii2\/base\/Module.php(522): yii\\base\\Controller->runAction(''save-new-return'', Array)","#5 \/var\/www\/beta\/vendor\/yiisoft\/yii2\/web\/Application.php(102): yii\\base\\Module->runAction(''vue\/purchase-co...'', Array)","#6 \/var\/www\/beta\/vendor\/yiisoft\/yii2\/base\/Application.php(379): yii\\web\\Application->handleRequest(Object(yii\\web\\Request))","#7 \/var\/www\/beta\/web\/index.php(24): yii\\base\\Application->run()","#8 {main}"]}}]}', TRUE, '2025-08-12 18:02:47') RETURNING "id"
18:02:47.904traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
18:02:47.904traceyii\redis\Connection::executeCommandExecuting Redis Command: SET