68662dfa53520: POST https://beta.jinchangxiao.com/vue/reimbursement/save-edit at 2025-07-03 03:15:06 pm by 115.171.251.24

Log Messages

总计68条数据
TimeLevelCategoryMessage
 
15:15:06.340traceyii\base\Application::bootstrapBootstrap with yii\log\Dispatcher
15:15:06.340traceyii\base\Module::getModuleLoading module: debug
15:15:06.341traceyii\base\Application::bootstrapBootstrap with yii\debug\Module::bootstrap()
15:15:06.341traceyii\redis\Connection::openOpening redis DB connection: redis.server.local:6379, database=1
15:15:06.341traceyii\redis\Connection::executeCommandExecuting Redis Command: SELECT
15:15:06.341traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:15:06.341traceyii\base\Module::getModuleLoading module: gii
15:15:06.341traceyii\base\Application::bootstrapBootstrap with yii\gii\Module::bootstrap()
15:15:06.341traceyii\web\UrlManager::parseRequestNo matching URL rules. Using default URL parsing logic.
15:15:06.341traceyii\web\Application::handleRequestRoute requested: 'vue/reimbursement/save-edit'
15:15:06.341traceyii\base\Module::getModuleLoading module: vue
15:15:06.345infoyii\web\Session::openSession started
15:15:06.346infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "id"=5016
15:15:06.346infoyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
15:15:06.350traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:15:06.350traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:15:06.351infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "id"=1001
15:15:06.351traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:15:06.352traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:15:06.352infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
15:15:06.353traceyii\base\Controller::runActionRoute to run: vue/reimbursement/save-edit
15:15:06.355traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:15:06.356traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: Admin
15:15:06.356traceyii\base\InlineAction::runWithParamsRunning action: app\modules\vue\controllers\ReimbursementController::actionSaveEdit()
15:15:06.359infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_reimbursements" WHERE "id"='7442'
15:15:06.359traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:15:06.359traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:15:06.360infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_reimbursement_verify_rels" WHERE ("status" != 0) AND ("reimbursement_id"=7442) ORDER BY "id"
15:15:06.361traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:15:06.362traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:15:06.376traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'id' in 'app\models\Reimbursements'.
15:15:06.376traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'client_name' in 'app\models\Reimbursements'.
15:15:06.376traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'files' in 'app\models\Reimbursements'.
15:15:06.376traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'attachmentFiles' in 'app\models\Reimbursements'.
15:15:06.377infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001)
15:15:06.377infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
15:15:06.378infoyii\db\Command::execute
15:15:06.378infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001)
15:15:06.378infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_reimbursements" SET "status"=0, "amount"=NULL, "occurrence_at"=NULL, "client_id"=NULL, "project_id"=NULL, "work_log_id"=NULL, "pre_sales_id"=NULL, "implement_record_id"=NULL WHERE "id"=7442
15:15:06.380traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:15:06.380infoyii\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_action_logs' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
15:15:06.385infoyii\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_action_logs' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
15:15:06.394traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:15:06.394traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
15:15:06.394infoyii\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', 7442, 'a:0:{}', '', 1001, '115.171.251.24')
15:15:06.395infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=19) AND ("object_id"=7442)
15:15:06.397infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=19) AND ("object_id"=7442)
15:15:06.398infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=22) AND ("object_id"=7442)
15:15:06.399infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=22) AND ("object_id"=7442)
15:15:06.401infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=7442
15:15:06.401infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=15) AND ("id" IN (185, 372))
15:15:06.402traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:15:06.402traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:15:06.402infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("object_id"=7442) AND ("term_id"=15)
15:15:06.403traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:15:06.403traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:15:06.404infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE "id"='185')
15:15:06.404infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_terms" WHERE "id"=15)
15:15:06.405infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_term_taxonomy_relationships" ("term_id", "taxonomy_id", "object_id") VALUES (15, 185, 7442) RETURNING "id"
15:15:06.406infoyii\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\TermTaxonomyRelationships', 118087, 'a:9:{s:2:"id";i:118087;s:9:"object_id";i:7442;s:11:"taxonomy_id";s:3:"185";s:7:"term_id";i:15;s:5:"value";N;s:11:"object_type";N;s:9:"extra_int";N;s:9:"in_amount";N;s:10:"out_amount";N;}', '', 1001, '115.171.251.24')
15:15:06.407infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("term_id"=18) AND ("object_type"=7) AND ("object_id"=7442)
15:15:06.407infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE "id"=118085
15:15:06.407erroryii\base\ErrorException:8yii\base\ErrorException: Trying to get property of non-object in /var/www/beta/models/Reimbursements.php:1075 Stack trace: #0 /var/www/beta/models/Reimbursements.php(1075): yii\base\ErrorHandler->handleError(8, 'Trying to get p...', '/var/www/beta/m...', 1075, Array) #1 /var/www/beta/modules/vue/controllers/ReimbursementController.php(988): 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:15:06.407traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:15:06.407traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:15:06.408infoyii\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":"7442","form_type":"185","form_costType":"372","occurrence_at":"","amount":"","client_id":"","client_name":"","form_reimbursementVerifyRels":["1001"],"form_reimbursementSettleRels":["1013"],"form_reimbursementCarbonCopyRels":["5388"],"description":"","project_id":"","status":"0","work_log_id":"","pre_sales_id":"","implement_record_id":"","files":"","attachmentFiles":""},"web_access_token":"KTg8BnZ5JFWa2YxBawF8Yj9F0pEyUuJt"}', '{"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":1075,"stack-trace":["#0 \/var\/www\/beta\/models\/Reimbursements.php(1075): yii\\base\\ErrorHandler->handleError(8, ''Trying to get p...'', ''\/var\/www\/beta\/m...'', 1075, Array)","#1 \/var\/www\/beta\/modules\/vue\/controllers\/ReimbursementController.php(988): 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-07-03 15:15:06') RETURNING "id"
15:15:06.409traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:15:06.409traceyii\redis\Connection::executeCommandExecuting Redis Command: SET