Log Messages

总计89条数据
TimeLevelCategoryMessage
 
15:41:13.033traceyii\base\Application::bootstrapBootstrap with yii\log\Dispatcher
15:41:13.033traceyii\base\Module::getModuleLoading module: debug
15:41:13.033traceyii\base\Application::bootstrapBootstrap with yii\debug\Module::bootstrap()
15:41:13.033traceyii\redis\Connection::openOpening redis DB connection: redis.server.local:6379, database=1
15:41:13.033traceyii\redis\Connection::executeCommandExecuting Redis Command: SELECT
15:41:13.034traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:41:13.034traceyii\base\Module::getModuleLoading module: gii
15:41:13.034traceyii\base\Application::bootstrapBootstrap with yii\gii\Module::bootstrap()
15:41:13.034traceyii\web\UrlManager::parseRequestNo matching URL rules. Using default URL parsing logic.
15:41:13.034traceyii\web\Application::handleRequestRoute requested: 'vue/reimbursement/save-edit'
15:41:13.034traceyii\base\Module::getModuleLoading module: vue
15:41:13.034infoyii\web\Session::openSession started
15:41:13.035infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "id"=1001
15:41:13.035infoyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
15:41:13.039traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:41:13.039traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:41:13.040traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:41:13.040traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:41:13.040infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
15:41:13.042traceyii\base\Controller::runActionRoute to run: vue/reimbursement/save-edit
15:41:13.042traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:41:13.043traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: Admin
15:41:13.043traceyii\base\InlineAction::runWithParamsRunning action: app\modules\vue\controllers\ReimbursementController::actionSaveEdit()
15:41:13.043infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_reimbursements" WHERE "id"='8197'
15:41:13.044traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:41:13.044traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:41:13.044infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_reimbursement_verify_rels" WHERE ("status" != 0) AND ("reimbursement_id"=8197) ORDER BY "id"
15:41:13.046traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:41:13.046traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:41:13.047traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'id' in 'app\models\Reimbursements'.
15:41:13.047traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'client_name' in 'app\models\Reimbursements'.
15:41:13.047traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'attachmentFiles' in 'app\models\Reimbursements'.
15:41:13.047traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'files' in 'app\models\Reimbursements'.
15:41:13.048infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001)
15:41:13.048infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='1111')
15:41:13.049infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"='2282')
15:41:13.050infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_work_logs" WHERE "id"='21704')
15:41:13.051infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
15:41:13.051traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:41:13.051traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:41:13.051infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_object_change_logs" SET "object_id"=1111 WHERE ("object_type"=10) AND ("target_id"=8197) AND ("target_object_type"=20)
15:41:13.139traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:41:13.139traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:41:13.140infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='1111'
15:41:13.144infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_object_change_logs" SET "object_id"=2282 WHERE ("object_type"=1) AND ("target_id"=8197) AND ("target_object_type"=20)
15:41:13.229traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:41:13.229traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:41:13.229infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"='2282'
15:41:13.232infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_object_change_logs" SET "object_id"=21704 WHERE ("object_type"=19) AND ("target_id"=8197) AND ("target_object_type"=20)
15:41:13.317traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:41:13.317traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:41:13.317infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_work_logs" WHERE "id"='21704'
15:41:13.318infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_work_log_scenario_options" WHERE "id"=67
15:41:13.318traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:41:13.318traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:41:13.318infoyii\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, 'client_id', 8197, 20, 1001, 'now()', '["\u4e2d\u56fd\u79d1\u5b66\u9662\u884c\u653f\u7ba1\u7406\u5c40"]', '[null]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u5ba2\u6237","d4":["(\u672a\u8bbe\u7f6e) <b>\u53d8\u4e3a<\/b> \u4e2d\u56fd\u79d1\u5b66\u9662\u884c\u653f\u7ba1\u7406\u5c40"]}'), (2, 'project_id', 8197, 20, 1001, 'now()', '["\u5b89\u5168\u4e2d\u5fc3\u5efa\u8bbe"]', '[null]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u5546\u673a\u540d\u79f0","d4":["(\u672a\u8bbe\u7f6e) <b>\u53d8\u4e3a<\/b> \u5b89\u5168\u4e2d\u5fc3\u5efa\u8bbe"]}'), (2, 'work_log_id', 8197, 20, 1001, 'now()', '["\u5546\u673a\u63a8\u52a8"]', '[null]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u5de5\u4f5c\u65e5\u5fd7","d4":["(\u672a\u8bbe\u7f6e) <b>\u53d8\u4e3a<\/b> \u5546\u673a\u63a8\u52a8"]}')
15:41:13.326infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001)
15:41:13.327infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='1111')
15:41:13.327infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"='2282')
15:41:13.327infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_work_logs" WHERE "id"='21704')
15:41:13.328infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_reimbursements" SET "status"=1, "occurrence_at"='2025-08-27 00:00:00', "description"='', "created_at"='now()', "client_id"=1111, "project_id"=2282, "work_log_id"=21704, "pre_sales_id"=NULL, "implement_record_id"=NULL WHERE "id"=8197
15:41:13.329traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:41:13.329traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:41:13.329infoyii\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\Reimbursements', 8197, 'a:5:{s:6:"status";i:1;s:13:"occurrence_at";s:19:"2025-08-27 00:00:00";s:9:"client_id";s:4:"1111";s:10:"project_id";s:4:"2282";s:11:"work_log_id";s:5:"21704";}', '', 1001, '114.244.128.96')
15:41:13.331infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_reimbursements" WHERE "id"=8197
15:41:13.331infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
15:41:13.332infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "description") VALUES (1, 'create', 8197, 20, 1001, '2025-09-18 15:41:13', '{"id":8197,"status":1,"amount":"3.50","occurrence_at":"2025-08-27 00:00:00","settle_accounts_at":null,"settle_accounts_by":null,"description":"","created_by":1001,"created_at":"2025-09-18 15:41:13","updated_at":"2025-09-18 15:30:13","refuse_description":null,"client_id":1111,"project_id":2282,"next_verify_user":null,"is_resubmited":false,"work_log_id":21704,"pre_sales_id":null,"implement_record_id":null}', '{"id":8197,"status":1,"amount":"3.50","occurrence_at":"2025-08-27 00:00:00","settle_accounts_at":null,"settle_accounts_by":null,"description":"","created_by":1001,"created_at":"2025-09-18 15:41:13","updated_at":"2025-09-18 15:30:13","refuse_description":null,"client_id":1111,"project_id":2282,"next_verify_user":null,"is_resubmited":false,"work_log_id":21704,"pre_sales_id":null,"implement_record_id":null}', '{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u8d39\u7528\u62a5\u9500","d4":[]}') RETURNING "id"
15:41:13.333infoyii\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\ObjectChangeLogs', 570715, 'a:13:{s:2:"id";i:570715;s:9:"object_id";i:8197;s:11:"object_type";i:20;s:9:"target_id";N;s:18:"target_object_type";N;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:407:"{"id":8197,"status":1,"amount":"3.50","occurrence_at":"2025-08-27 00:00:00","settle_accounts_at":null,"settle_accounts_by":null,"description":"","created_by":1001,"created_at":"2025-09-18 15:41:13","updated_at":"2025-09-18 15:30:13","refuse_description":null,"client_id":1111,"project_id":2282,"next_verify_user":null,"is_resubmited":false,"work_log_id":21704,"pre_sales_id":null,"implement_record_id":null}";s:9:"new_value";s:407:"{"id":8197,"status":1,"amount":"3.50","occurrence_at":"2025-08-27 00:00:00","settle_accounts_at":null,"settle_accounts_by":null,"description":"","created_by":1001,"created_at":"2025-09-18 15:41:13","updated_at":"2025-09-18 15:30:13","refuse_description":null,"client_id":1111,"project_id":2282,"next_verify_user":null,"is_resubmited":false,"work_log_id":21704,"pre_sales_id":null,"implement_record_id":null}";s:11:"description";s:93:"{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u8d39\u7528\u62a5\u9500","d4":[]}";s:10:"created_by";i:1001;s:10:"created_at";s:19:"2025-09-18 15:41:13";s:9:"is_delete";N;}', '', 1001, '114.244.128.96')
15:41:13.333infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=1111
15:41:13.359infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_clients" SET "updated_at"='now()' WHERE "id"=1111
15:41:13.365infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=1111) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
15:41:13.386traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:41:13.386infoyii\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_client_am_change_logs' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
15:41:13.394infoyii\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_client_am_change_logs' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
15:41:13.403traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:41:13.403traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
15:41:13.403infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_client_am_change_logs" SET "end_at"='now()' WHERE "id"=120518
15:41:13.408infoyii\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\ClientAmChangeLogs', 120518, 'a:1:{s:6:"end_at";s:19:"1970-01-01 08:00:00";}', '', 1001, '114.244.128.96')
15:41:13.409infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (1111, 1001, 'now()', NULL) RETURNING "id"
15:41:13.414infoyii\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\ClientAmChangeLogs', 180917, 'a:5:{s:2:"id";i:180917;s:9:"client_id";i:1111;s:9:"sales_rep";i:1001;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1001, '114.244.128.96')
15:41:13.415infoyii\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\Clients', 1111, 'a:0:{}', '', 1001, '114.244.128.96')
15:41:13.416infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=8197
15:41:13.416infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=15) AND (0=1)
15:41:13.417erroryii\base\ErrorException:8yii\base\ErrorException: Trying to get property of non-object in /var/www/beta/models/Reimbursements.php:1148 Stack trace: #0 /var/www/beta/models/Reimbursements.php(1148): yii\base\ErrorHandler->handleError(8, 'Trying to get p...', '/var/www/beta/m...', 1148, Array) #1 /var/www/beta/modules/vue/controllers/ReimbursementController.php(1043): app\models\Reimbursements->saveEditModel() #2 [internal function]: app\modules\vue\controllers\ReimbursementController->actionSaveEdit() #3 /var/www/beta/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array) #4 /var/www/beta/vendor/yiisoft/yii2/base/Controller.php(156): yii\base\InlineAction->runWithParams(Array) #5 /var/www/beta/vendor/yiisoft/yii2/base/Module.php(522): yii\base\Controller->runAction('save-edit', Array) #6 /var/www/beta/vendor/yiisoft/yii2/web/Application.php(102): yii\base\Module->runAction('vue/reimburseme...', Array) #7 /var/www/beta/vendor/yiisoft/yii2/base/Application.php(379): yii\web\Application->handleRequest(Object(yii\web\Request)) #8 /var/www/beta/web/index.php(24): yii\base\Application->run() #9 {main}
15:41:13.417traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:41:13.417traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:41:13.417infoyii\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/reimbursement/save-edit', '{"Reimbursements":{"id":"8197","form_type":"185","form_costType":"369","occurrence_at":"2025-08-27 00:00:00","amount":"3.50","client_id":"1111","client_name":"\u4e2d\u56fd\u79d1\u5b66\u9662\u884c\u653f\u7ba1\u7406\u5c40","form_reimbursementVerifyRels":["1001"],"form_reimbursementSettleRels":["1013"],"form_reimbursementCarbonCopyRels":["1001"],"description":"","project_id":"2282","attachmentFiles":["28208","28216"],"files":["28215"],"work_log_id":"21704","pre_sales_id":"","implement_record_id":""},"web_access_token":"Hlt1ZmLXNhK2kSIyrIUGksUdIH0iseH7"}', '{"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\/models\/Reimbursements.php","line":1148,"stack-trace":["#0 \/var\/www\/beta\/models\/Reimbursements.php(1148): yii\\base\\ErrorHandler->handleError(8, ''Trying to get p...'', ''\/var\/www\/beta\/m...'', 1148, Array)","#1 \/var\/www\/beta\/modules\/vue\/controllers\/ReimbursementController.php(1043): app\\models\\Reimbursements->saveEditModel()","#2 [internal function]: app\\modules\\vue\\controllers\\ReimbursementController->actionSaveEdit()","#3 \/var\/www\/beta\/vendor\/yiisoft\/yii2\/base\/InlineAction.php(57): call_user_func_array(Array, Array)","#4 \/var\/www\/beta\/vendor\/yiisoft\/yii2\/base\/Controller.php(156): yii\\base\\InlineAction->runWithParams(Array)","#5 \/var\/www\/beta\/vendor\/yiisoft\/yii2\/base\/Module.php(522): yii\\base\\Controller->runAction(''save-edit'', Array)","#6 \/var\/www\/beta\/vendor\/yiisoft\/yii2\/web\/Application.php(102): yii\\base\\Module->runAction(''vue\/reimburseme...'', Array)","#7 \/var\/www\/beta\/vendor\/yiisoft\/yii2\/base\/Application.php(379): yii\\web\\Application->handleRequest(Object(yii\\web\\Request))","#8 \/var\/www\/beta\/web\/index.php(24): yii\\base\\Application->run()","#9 {main}"]}}]}', TRUE, '2025-09-18 15:41:13') RETURNING "id"
15:41:13.419traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:41:13.419traceyii\redis\Connection::executeCommandExecuting Redis Command: SET