Entry #1496

Request

UserGuest
IP10.149.115.170
Routeerror/undefined-variable
Request MethodGET
AjaxNo

Profiling

Duration0.12
Memory3.02 MiB
Created2015-11-21 08:55:42

Log Messages

Total 10 items.
#TimeLevelCategoryMessage
  
108:55:41.977infoyii\db\Connection::openOpening DB connection: pgsql:host=ec2-107-22-175-206.compute-1.amazonaws.com;dbname=datof7eecprv9n
208:55:41.993infoyii\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 = 'audit_entry' and d.nspname = 'public' ORDER BY a.attnum;
308:55:42.008infoyii\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='audit_entry' and ns.nspname='public' order by fns.nspname, fc.relname, a.attnum
408:55:42.032infoyii\web\Session::openSession started
508:55:42.033infoyii\db\Command::queryINSERT INTO "audit_entry" ("route", "user_id", "ip", "ajax", "request_method", "created") VALUES ('error/undefined-variable', 0, '10.149.115.170', 0, 'GET', '2015-11-21 08:55:42') RETURNING "id"
608:55:42.057infoyii\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 = 'audit_error' and d.nspname = 'public' ORDER BY a.attnum;
708:55:42.072infoyii\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='audit_error' and ns.nspname='public' order by fns.nspname, fc.relname, a.attnum
808:55:42.084infoyii\db\Command::queryINSERT INTO "audit_error" ("entry_id", "message", "code", "file", "line", "trace", "hash", "created") VALUES (1496, 'Undefined variable: foobar', 8, '/app/tests/codeception/_app/controllers/ErrorController.php', 21, 'xVn8O+[ -vMZtDliRKRi3%_>yspL3''J&ِ\ލ!4Mˌ5Ar%%JZ`jm9&ݤ .!''~O!z&c!mLsݡj~0|-܊bC]ꀆǨ~8VL'' <՜#WkVT;3'',''~ @vJl_<k`', '8g1l19', '2015-11-21 08:55:42') RETURNING "id"
908:55:42.091infoyii\db\Command::executeUPDATE "audit_entry" SET "duration"=0.11845803260803, "memory_max"=3171688 WHERE "id"=1496
1008:55:42.096erroryii\base\ErrorException:8exception 'yii\base\ErrorException' with message 'Undefined variable: foobar' in /app/tests/codeception/_app/controllers/ErrorController.php:21 Stack trace: #0 /app/tests/codeception/_app/controllers/ErrorController.php(21): yii\base\ErrorHandler->handleError(8, 'Undefined varia...', '/app/tests/code...', 21, Array) #1 [internal function]: tests\app\controllers\ErrorController->actionUndefinedVariable() #2 /app/vendor/yiisoft/yii2/base/InlineAction.php(55): call_user_func_array(Array, Array) #3 /app/vendor/yiisoft/yii2/base/Controller.php(151): yii\base\InlineAction->runWithParams(Array) #4 /app/vendor/yiisoft/yii2/base/Module.php(455): yii\base\Controller->runAction('undefined-varia...', Array) #5 /app/vendor/yiisoft/yii2/web/Application.php(84): yii\base\Module->runAction('error/undefined...', Array) #6 /app/vendor/yiisoft/yii2/base/Application.php(375): yii\web\Application->handleRequest(Object(yii\web\Request)) #7 /app/tests/codeception/_app/web/index.php(11): yii\base\Application->run() #8 {main}