2019-02-06 10 20 51 94 159 46 90 708baf3918c2e6f9be3b f607dc0fc6e2 err

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
2019-02-06 10:20:51 [94.159.46.90][1][708baf3918c2e6f9be3bf607dc0fc6e2][error][yii\db\IntegrityException] PDOException: SQLSTATE[23502]: Not null violation: 7 ERROR: null value in column "client_id" violates not-null constraint
DETAIL: Failing row contains (24, 1, null, f, 1, 0, 0, MP-00000011, final_test_manifest, null, 2019-02-06, 1549437651, 1549437651). in /var/www/www-root/data/www/az.express/releases/165/vendor/yiisoft/yii2/db/Command.php:1258
Stack trace:
#0 /var/www/www-root/data/www/az.express/releases/165/vendor/yiisoft/yii2/db/Command.php(1258): PDOStatement->execute()
#1 /var/www/www-root/data/www/az.express/releases/165/vendor/yiisoft/yii2/db/Command.php(1148): yii\db\Command->internalExecute('INSERT INTO "ma...')
#2 /var/www/www-root/data/www/az.express/releases/165/vendor/yiisoft/yii2/db/Command.php(413): yii\db\Command->queryInternal('fetch', NULL)
#3 /var/www/www-root/data/www/az.express/releases/165/vendor/yiisoft/yii2/db/pgsql/Schema.php(617): yii\db\Command->queryOne()
#4 /var/www/www-root/data/www/az.express/releases/165/vendor/yiisoft/yii2/db/ActiveRecord.php(549): yii\db\pgsql\Schema->insert('manifest', Array)
#5 /var/www/www-root/data/www/az.express/releases/165/vendor/yiisoft/yii2/db/ActiveRecord.php(515): yii\db\ActiveRecord->insertInternal(NULL)
#6 /var/www/www-root/data/www/az.express/releases/165/vendor/yiisoft/yii2/db/BaseActiveRecord.php(670): yii\db\ActiveRecord->insert(true, NULL)
#7 /var/www/www-root/data/www/az.express/releases/165/vendor/yiisoft/yii2/rest/CreateAction.php(52): yii\db\BaseActiveRecord->save()
#8 [internal function]: yii\rest\CreateAction->run()
#9 /var/www/www-root/data/www/az.express/releases/165/vendor/yiisoft/yii2/base/Action.php(94): call_user_func_array(Array, Array)
#10 /var/www/www-root/data/www/az.express/releases/165/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\Action->runWithParams(Array)
#11 /var/www/www-root/data/www/az.express/releases/165/vendor/yiisoft/yii2/base/Module.php(528): yii\base\Controller->runAction('create', Array)
#12 /var/www/www-root/data/www/az.express/releases/165/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction('manifest/create', Array)
#13 /var/www/www-root/data/www/az.express/releases/165/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest(Object(yii\web\Request))
#14 /var/www/www-root/data/www/az.express/releases/165/backend/web/index.php(17): yii\base\Application->run()
#15 {main}
Next yii\db\IntegrityException: SQLSTATE[23502]: Not null violation: 7 ERROR: null value in column "client_id" violates not-null constraint
DETAIL: Failing row contains (24, 1, null, f, 1, 0, 0, MP-00000011, final_test_manifest, null, 2019-02-06, 1549437651, 1549437651).
The SQL being executed was: INSERT INTO "manifest" ("client_id", "type", "status", "stamp", "date", "user_id", "created_at", "updated_at", "invoices_count", "is_deleted", "uid") VALUES (NULL, 1, 0, 'final_test_manifest', '2019-02-06', 1, 1549437651, 1549437651, 0, FALSE, 'MP-00000011') RETURNING "id" in /var/www/www-root/data/www/az.express/releases/165/vendor/yiisoft/yii2/db/Schema.php:664
Stack trace:
#0 /var/www/www-root/data/www/az.express/releases/165/vendor/yiisoft/yii2/db/Command.php(1263): yii\db\Schema->convertException(Object(PDOException), 'INSERT INTO "ma...')
#1 /var/www/www-root/data/www/az.express/releases/165/vendor/yiisoft/yii2/db/Command.php(1148): yii\db\Command->internalExecute('INSERT INTO "ma...')
#2 /var/www/www-root/data/www/az.express/releases/165/vendor/yiisoft/yii2/db/Command.php(413): yii\db\Command->queryInternal('fetch', NULL)
#3 /var/www/www-root/data/www/az.express/releases/165/vendor/yiisoft/yii2/db/pgsql/Schema.php(617): yii\db\Command->queryOne()
#4 /var/www/www-root/data/www/az.express/releases/165/vendor/yiisoft/yii2/db/ActiveRecord.php(549): yii\db\pgsql\Schema->insert('manifest', Array)
#5 /var/www/www-root/data/www/az.express/releases/165/vendor/yiisoft/yii2/db/ActiveRecord.php(515): yii\db\ActiveRecord->insertInternal(NULL)
#6 /var/www/www-root/data/www/az.express/releases/165/vendor/yiisoft/yii2/db/BaseActiveRecord.php(670): yii\db\ActiveRecord->insert(true, NULL)
#7 /var/www/www-root/data/www/az.express/releases/165/vendor/yiisoft/yii2/rest/CreateAction.php(52): yii\db\BaseActiveRecord->save()
#8 [internal function]: yii\rest\CreateAction->run()
#9 /var/www/www-root/data/www/az.express/releases/165/vendor/yiisoft/yii2/base/Action.php(94): call_user_func_array(Array, Array)
#10 /var/www/www-root/data/www/az.express/releases/165/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\Action->runWithParams(Array)
#11 /var/www/www-root/data/www/az.express/releases/165/vendor/yiisoft/yii2/base/Module.php(528): yii\base\Controller->runAction('create', Array)
#12 /var/www/www-root/data/www/az.express/releases/165/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction('manifest/create', Array)
#13 /var/www/www-root/data/www/az.express/releases/165/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest(Object(yii\web\Request))
#14 /var/www/www-root/data/www/az.express/releases/165/backend/web/index.php(17): yii\base\Application->run()
#15 {main}
Additional Information:
Array
(
[0] => 23502
[1] => 7
[2] => ERROR: null value in column "client_id" violates not-null constraint
DETAIL: Failing row contains (24, 1, null, f, 1, 0, 0, MP-00000011, final_test_manifest, null, 2019-02-06, 1549437651, 1549437651).
)
2019-02-06 10:20:50 [94.159.46.90][1][708baf3918c2e6f9be3bf607dc0fc6e2][info][application] $_GET = []
$_POST = [
'client_id' => '2'
'type' => '1'
'status' => '0'
'stamp' => 'final_test_manifest'
'date' => '2019-02-06'
'invoice_ids' => [
0 => 'AZT2000000044'
1 => 'AZT2000000043'
2 => 'AZT2000000042'
3 => 'AZT2000000041'
4 => 'AZT2000000040'
]
]
$_FILES = []
$_COOKIE = [
'_csrf-frontend' => '3fe1ff7d6b2100678f5551aa75bb588da5141e2719129235b8136cee123b0d36a:2:{i:0;s:14:\"_csrf-frontend\";i:1;s:32:\"VrPimA-AUbG2w_khSNUGyx8jUdIvUMqv\";}'
'advanced-frontend' => 'fad5fb46fdd17c862657f80bc9f338e3'
'_csrf-backend' => 'bf56114023e9204c24e88fd4fbf67e851f0d735698e96c789b9dc1de6f1f34eba:2:{i:0;s:13:\"_csrf-backend\";i:1;s:32:\"b9i4wUXTEGKMaEzHrv1YUOqkDWVX_CQp\";}'
]
$_SESSION = [
'__flash' => []
'__id' => 1
'__expire' => 1550042450
]
$_SERVER = [
'USER' => 'www-root'
'HOME' => '/var/www/www-root/data'
'HTTP_CONNECTION' => 'keep-alive'
'HTTP_CONTENT_LENGTH' => '1236'
'HTTP_CONTENT_TYPE' => 'multipart/form-data; boundary=--------------------------550532281571423859907694'
'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
'HTTP_COOKIE' => '_csrf-frontend=3fe1ff7d6b2100678f5551aa75bb588da5141e2719129235b8136cee123b0d36a%3A2%3A%7Bi%3A0%3Bs%3A14%3A%22_csrf-frontend%22%3Bi%3A1%3Bs%3A32%3A%22VrPimA-AUbG2w_khSNUGyx8jUdIvUMqv%22%3B%7D; advanced-frontend=fad5fb46fdd17c862657f80bc9f338e3; _csrf-backend=bf56114023e9204c24e88fd4fbf67e851f0d735698e96c789b9dc1de6f1f34eba%3A2%3A%7Bi%3A0%3Bs%3A13%3A%22_csrf-backend%22%3Bi%3A1%3Bs%3A32%3A%22b9i4wUXTEGKMaEzHrv1YUOqkDWVX_CQp%22%3B%7D'
'HTTP_HOST' => 'api.az.express'
'HTTP_ACCEPT' => '*/*'
'HTTP_USER_AGENT' => 'PostmanRuntime/7.6.0'
'HTTP_AUTHORIZATION' => 'Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczpcL1wvYXBpLnYyLmF6LmV4cHJlc3MiLCJpYXQiOiIxNTQ5Mjg5NDA1IiwiZXhwIjoxNTQ5ODk0MjA1LCJ1c2VySWQiOjEsImxvZ2luIjoiYWRtaW4iLCJlbWFpbCI6ImFkbWluQGF6LmV4cHJlc3MiLCJyb2xlcyI6WyJhZG1pbiJdfQ.ZkWN65eQnL_LRc3Frahm9137LI3rMF3u3qL0sn3loog'
'HTTP_POSTMAN_TOKEN' => '6a495379-8d8f-44a8-af71-1f371c18ae2e'
'HTTP_CACHE_CONTROL' => 'no-cache'
'SCRIPT_FILENAME' => '/var/www/www-root/data/www/az.express/releases/165/backend/web/index.php'
'REDIRECT_STATUS' => '200'
'SERVER_NAME' => 'api.az.express'
'SERVER_PORT' => '443'
'SERVER_ADDR' => '5.23.53.91'
'REMOTE_PORT' => '49581'
'REMOTE_ADDR' => '94.159.46.90'
'SERVER_SOFTWARE' => 'nginx/1.14.1'
'GATEWAY_INTERFACE' => 'CGI/1.1'
'HTTPS' => 'on'
'REQUEST_SCHEME' => 'https'
'SERVER_PROTOCOL' => 'HTTP/1.1'
'DOCUMENT_ROOT' => '/var/www/www-root/data/www/az.express/releases/165/backend/web'
'DOCUMENT_URI' => '/index.php'
'REQUEST_URI' => '/manifests'
'SCRIPT_NAME' => '/index.php'
'CONTENT_LENGTH' => '1236'
'CONTENT_TYPE' => 'multipart/form-data; boundary=--------------------------550532281571423859907694'
'REQUEST_METHOD' => 'POST'
'QUERY_STRING' => ''
'PHP_ADMIN_VALUE' => 'sendmail_path = /usr/sbin/sendmail -t -i -f webmaster@az.express'
'FCGI_ROLE' => 'RESPONDER'
'PHP_SELF' => '/index.php'
'REQUEST_TIME_FLOAT' => 1549437650.9608
'REQUEST_TIME' => 1549437650
]