15:15:06.340 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
15:15:06.340 | trace | yii\base\Module::getModule | Loading module: debug |
15:15:06.341 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
15:15:06.341 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
15:15:06.341 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
15:15:06.341 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
15:15:06.341 | trace | yii\base\Module::getModule | Loading module: gii |
15:15:06.341 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
15:15:06.341 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
15:15:06.341 | trace | yii\web\Application::handleRequest | Route requested: 'vue/reimbursement/save-edit' |
15:15:06.341 | trace | yii\base\Module::getModule | Loading module: vue |
15:15:06.345 | info | yii\web\Session::open | Session started |
15:15:06.346 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=5016 |
15:15:06.346 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
15:15:06.350 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
15:15:06.350 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
15:15:06.351 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
15:15:06.351 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
15:15:06.352 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
15:15:06.352 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
15:15:06.353 | trace | yii\base\Controller::runAction | Route to run: vue/reimbursement/save-edit |
15:15:06.355 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
15:15:06.356 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
15:15:06.356 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\vue\controllers\ReimbursementController::actionSaveEdit() |
15:15:06.359 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_reimbursements" WHERE "id"='7442' |
15:15:06.359 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
15:15:06.359 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
15:15:06.360 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_reimbursement_verify_rels" WHERE ("status" != 0) AND ("reimbursement_id"=7442) ORDER BY "id" |
15:15:06.361 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
15:15:06.362 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
15:15:06.376 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'id' in 'app\models\Reimbursements'. |
15:15:06.376 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'client_name' in 'app\models\Reimbursements'. |
15:15:06.376 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'files' in 'app\models\Reimbursements'. |
15:15:06.376 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'attachmentFiles' in 'app\models\Reimbursements'. |
15:15:06.377 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001) |
15:15:06.377 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
15:15:06.378 | info | yii\db\Command::execute | |
15:15:06.378 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001) |
15:15:06.378 | info | yii\db\Command::execute | UPDATE "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.380 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
15:15:06.380 | info | yii\db\Command::query | SELECT
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.385 | info | yii\db\Command::query | select
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.394 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
15:15:06.394 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
15:15:06.394 | info | yii\db\Command::execute | INSERT 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.395 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=19) AND ("object_id"=7442) |
15:15:06.397 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=19) AND ("object_id"=7442) |
15:15:06.398 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=22) AND ("object_id"=7442) |
15:15:06.399 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=22) AND ("object_id"=7442) |
15:15:06.401 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=7442 |
15:15:06.401 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=15) AND ("id" IN (185, 372)) |
15:15:06.402 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
15:15:06.402 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
15:15:06.402 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("object_id"=7442) AND ("term_id"=15) |
15:15:06.403 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
15:15:06.403 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
15:15:06.404 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE "id"='185') |
15:15:06.404 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_terms" WHERE "id"=15) |
15:15:06.405 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_term_taxonomy_relationships" ("term_id", "taxonomy_id", "object_id") VALUES (15, 185, 7442) RETURNING "id" |
15:15:06.406 | info | yii\db\Command::execute | INSERT 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.407 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("term_id"=18) AND ("object_type"=7) AND ("object_id"=7442) |
15:15:06.407 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE "id"=118085 |
15:15:06.407 | error | yii\base\ErrorException:8 | yii\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.407 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
15:15:06.407 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
15:15:06.408 | info | yii\db\Command::query | INSERT 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.409 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
15:15:06.409 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |