diff --git a/backend/modules/document/views/document/view.php b/backend/modules/document/views/document/view.php index 3e56422..e7fa0bd 100644 --- a/backend/modules/document/views/document/view.php +++ b/backend/modules/document/views/document/view.php @@ -16,6 +16,8 @@ $this->params['breadcrumbs'][] = $this->title; ?>
+ +

$model->id], ['class' => 'btn btn-primary']) ?> $model->id], ['class' => 'btn btn-primary']) ?> diff --git a/frontend-access.log b/frontend-access.log index 6cc9194..d224968 100644 --- a/frontend-access.log +++ b/frontend-access.log @@ -87959,3 +87959,87 @@ 127.0.0.1 - - [11/Jan/2022:13:35:36 +0300] "GET /document/document/view?id=31 HTTP/1.1" 200 13735 "http://backend.guild.loc/document/document" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0" 127.0.0.1 - - [11/Jan/2022:13:35:37 +0300] "GET /debug/default/toolbar?tag=61dd5d78b2d6d HTTP/1.1" 200 3407 "http://backend.guild.loc/document/document/view?id=31" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0" 127.0.0.1 - - [11/Jan/2022:13:36:40 +0300] "GET /api/document-field-value/document-field-value-list?document_id=31 HTTP/1.1" 200 437 "-" "PostmanRuntime/7.28.4" +127.0.0.1 - - [11/Jan/2022:13:59:07 +0300] "PUT /api/document-field-value/document-field-value-list?value=1111 HTTP/1.1" 405 235 "-" "PostmanRuntime/7.28.4" +127.0.0.1 - - [11/Jan/2022:13:59:37 +0300] "PUT /api/document-field-value/update?document_field_value_id=91&value=1111 HTTP/1.1" 404 177 "-" "PostmanRuntime/7.28.4" +127.0.0.1 - - [11/Jan/2022:14:00:48 +0300] "PUT /api/document-field-value/update?document_field_value_id=91&value=1111 HTTP/1.1" 200 36 "-" "PostmanRuntime/7.28.4" +127.0.0.1 - - [11/Jan/2022:14:01:09 +0300] "PUT /api/document-field-value/update?document_field_value_id=91&value=1111 HTTP/1.1" 200 14 "-" "PostmanRuntime/7.28.4" +127.0.0.1 - - [11/Jan/2022:14:01:18 +0300] "PUT /api/document-field-value/update?document_field_value_id=91&value=1111 HTTP/1.1" 200 12 "-" "PostmanRuntime/7.28.4" +127.0.0.1 - - [11/Jan/2022:14:01:37 +0300] "PUT /api/document-field-value/update?document_field_value_id=91&value=1111 HTTP/1.1" 500 1213 "-" "PostmanRuntime/7.28.4" +127.0.0.1 - - [11/Jan/2022:14:01:47 +0300] "PUT /api/document-field-value/update?document_field_value_id=91&value=1111 HTTP/1.1" 200 14 "-" "PostmanRuntime/7.28.4" +127.0.0.1 - - [11/Jan/2022:14:02:07 +0300] "PUT /api/document-field-value/update?document_field_value_id=91&value=1111 HTTP/1.1" 200 12 "-" "PostmanRuntime/7.28.4" +127.0.0.1 - - [11/Jan/2022:14:02:31 +0300] "PUT /api/document-field-value/update?document_field_value_id=91&value=1111 HTTP/1.1" 200 12 "-" "PostmanRuntime/7.28.4" +127.0.0.1 - - [11/Jan/2022:14:02:52 +0300] "PUT /api/document-field-value/update?document_field_value_id=91&value=1111 HTTP/1.1" 200 12 "-" "PostmanRuntime/7.28.4" +127.0.0.1 - - [11/Jan/2022:14:03:19 +0300] "GET /api/task/get-task-list?project_id=74 HTTP/1.1" 200 2348 "-" "PostmanRuntime/7.28.4" +127.0.0.1 - - [11/Jan/2022:14:04:36 +0300] "PUT /api/document-field-value/update?document_field_value_id=91&value=1111 HTTP/1.1" 200 12 "-" "PostmanRuntime/7.28.4" +127.0.0.1 - - [11/Jan/2022:14:04:43 +0300] "POST /api/document-field-value/update?document_field_value_id=91&value=1111 HTTP/1.1" 405 242 "-" "PostmanRuntime/7.28.4" +127.0.0.1 - - [11/Jan/2022:14:05:36 +0300] "POST /api/task/update HTTP/1.1" 401 192 "-" "PostmanRuntime/7.28.4" +127.0.0.1 - - [11/Jan/2022:14:05:46 +0300] "POST /api/task/update HTTP/1.1" 500 1153 "-" "PostmanRuntime/7.28.4" +127.0.0.1 - - [11/Jan/2022:14:06:08 +0300] "POST /api/task/update HTTP/1.1" 200 12 "-" "PostmanRuntime/7.28.4" +127.0.0.1 - - [11/Jan/2022:14:07:48 +0300] "POST /api/document-field-value/update?document_field_value_id=91&value=1111 HTTP/1.1" 200 70 "-" "PostmanRuntime/7.28.4" +127.0.0.1 - - [11/Jan/2022:14:07:53 +0300] "POST /api/document-field-value/update?document_field_value_id=91&value=1111 HTTP/1.1" 200 90 "-" "PostmanRuntime/7.28.4" +127.0.0.1 - - [11/Jan/2022:14:08:15 +0300] "POST /api/document-field-value/update?document_field_value_id=91&value=1111 HTTP/1.1" 200 90 "-" "PostmanRuntime/7.28.4" +127.0.0.1 - - [11/Jan/2022:14:14:18 +0300] "POST /api/document-field-value/update?document_field_value_id=91&value=1111 HTTP/1.1" 200 95 "-" "PostmanRuntime/7.28.4" +127.0.0.1 - - [11/Jan/2022:14:14:23 +0300] "GET /document/document/view?id=31 HTTP/1.1" 200 13742 "http://backend.guild.loc/document/document" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0" +127.0.0.1 - - [11/Jan/2022:14:14:23 +0300] "GET /assets/cd83ad4b/css/AdminLTE.min.css HTTP/1.1" 304 0 "http://backend.guild.loc/document/document/view?id=31" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0" +127.0.0.1 - - [11/Jan/2022:14:14:23 +0300] "GET /assets/27128343/yii.gridView.js HTTP/1.1" 304 0 "http://backend.guild.loc/document/document/view?id=31" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0" +127.0.0.1 - - [11/Jan/2022:14:14:23 +0300] "GET /assets/5aa3f20b/jquery.js HTTP/1.1" 304 0 "http://backend.guild.loc/document/document/view?id=31" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0" +127.0.0.1 - - [11/Jan/2022:14:14:23 +0300] "GET /assets/27128343/yii.js HTTP/1.1" 304 0 "http://backend.guild.loc/document/document/view?id=31" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0" +127.0.0.1 - - [11/Jan/2022:14:14:23 +0300] "GET /js/site.js HTTP/1.1" 304 0 "http://backend.guild.loc/document/document/view?id=31" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0" +127.0.0.1 - - [11/Jan/2022:14:14:23 +0300] "GET /assets/71772193/js/bootstrap.js HTTP/1.1" 304 0 "http://backend.guild.loc/document/document/view?id=31" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0" +127.0.0.1 - - [11/Jan/2022:14:14:23 +0300] "GET /assets/cd83ad4b/js/adminlte.min.js HTTP/1.1" 304 0 "http://backend.guild.loc/document/document/view?id=31" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0" +127.0.0.1 - - [11/Jan/2022:14:14:23 +0300] "GET /assets/cd83ad4b/img/user2-160x160.jpg HTTP/1.1" 304 0 "http://backend.guild.loc/document/document/view?id=31" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0" +127.0.0.1 - - [11/Jan/2022:14:14:23 +0300] "GET /debug/default/toolbar?tag=61dd668f606d6 HTTP/1.1" 200 3405 "http://backend.guild.loc/document/document/view?id=31" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0" +127.0.0.1 - - [11/Jan/2022:14:14:23 +0300] "GET /favicon.ico HTTP/1.1" 200 318 "http://backend.guild.loc/document/document/view?id=31" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0" +127.0.0.1 - - [11/Jan/2022:14:14:49 +0300] "GET /api/document/get-document?document_id=31 HTTP/1.1" 200 209 "-" "PostmanRuntime/7.28.4" +127.0.0.1 - - [11/Jan/2022:14:15:37 +0300] "GET /api/document/get-document?document_id=31 HTTP/1.1" 200 209 "-" "PostmanRuntime/7.28.4" +127.0.0.1 - - [11/Jan/2022:14:16:07 +0300] "GET /api/document/get-document?document_id=31 HTTP/1.1" 200 43 "-" "PostmanRuntime/7.28.4" +127.0.0.1 - - [11/Jan/2022:14:16:21 +0300] "GET /api/document/get-document?document_id=31 HTTP/1.1" 500 3945 "-" "PostmanRuntime/7.28.4" +127.0.0.1 - - [11/Jan/2022:14:16:36 +0300] "GET /api/document/get-document?document_id=31 HTTP/1.1" 500 3946 "-" "PostmanRuntime/7.28.4" +127.0.0.1 - - [11/Jan/2022:14:16:43 +0300] "GET /api/document/get-document?document_id=31 HTTP/1.1" 200 133 "-" "PostmanRuntime/7.28.4" +127.0.0.1 - - [11/Jan/2022:14:16:59 +0300] "GET /api/document/get-document?document_id=31 HTTP/1.1" 200 133 "-" "PostmanRuntime/7.28.4" +127.0.0.1 - - [11/Jan/2022:14:17:07 +0300] "GET /api/document/get-document?document_id=31 HTTP/1.1" 200 45 "-" "PostmanRuntime/7.28.4" +127.0.0.1 - - [11/Jan/2022:14:17:25 +0300] "GET /api/document/get-document?document_id=31 HTTP/1.1" 200 133 "-" "PostmanRuntime/7.28.4" +127.0.0.1 - - [11/Jan/2022:14:18:08 +0300] "GET /api/document/get-document?document_id=31 HTTP/1.1" 200 133 "-" "PostmanRuntime/7.28.4" +127.0.0.1 - - [11/Jan/2022:14:18:19 +0300] "GET /api/document/get-document?document_id=31 HTTP/1.1" 200 45 "-" "PostmanRuntime/7.28.4" +127.0.0.1 - - [11/Jan/2022:14:18:26 +0300] "GET /api/document/get-document?document_id=31 HTTP/1.1" 200 133 "-" "PostmanRuntime/7.28.4" +127.0.0.1 - - [11/Jan/2022:14:19:03 +0300] "GET /api/document/get-document?document_id=31 HTTP/1.1" 200 229 "-" "PostmanRuntime/7.28.4" +127.0.0.1 - - [11/Jan/2022:14:19:17 +0300] "GET /api/document/get-document?document_id=31 HTTP/1.1" 500 1726 "-" "PostmanRuntime/7.28.4" +127.0.0.1 - - [11/Jan/2022:14:19:23 +0300] "GET /api/document/get-document?document_id=31 HTTP/1.1" 200 133 "-" "PostmanRuntime/7.28.4" +127.0.0.1 - - [11/Jan/2022:14:20:02 +0300] "GET /api/document/get-document?document_id=31 HTTP/1.1" 200 133 "-" "PostmanRuntime/7.28.4" +127.0.0.1 - - [11/Jan/2022:14:20:09 +0300] "GET /api/document/get-document?document_id=31 HTTP/1.1" 200 229 "-" "PostmanRuntime/7.28.4" +127.0.0.1 - - [11/Jan/2022:14:20:37 +0300] "GET /api/document/get-document?document_id=31 HTTP/1.1" 200 229 "-" "PostmanRuntime/7.28.4" +127.0.0.1 - - [11/Jan/2022:14:20:47 +0300] "GET /api/document/get-document?document_id=31 HTTP/1.1" 200 229 "-" "PostmanRuntime/7.28.4" +127.0.0.1 - - [11/Jan/2022:14:24:21 +0300] "GET /document/document/view?id=31 HTTP/1.1" 200 13758 "http://backend.guild.loc/document/document" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0" +127.0.0.1 - - [11/Jan/2022:14:24:22 +0300] "GET /assets/5aa3f20b/jquery.js HTTP/1.1" 304 0 "http://backend.guild.loc/document/document/view?id=31" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0" +127.0.0.1 - - [11/Jan/2022:14:24:22 +0300] "GET /assets/27128343/yii.js HTTP/1.1" 304 0 "http://backend.guild.loc/document/document/view?id=31" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0" +127.0.0.1 - - [11/Jan/2022:14:24:22 +0300] "GET /js/site.js HTTP/1.1" 304 0 "http://backend.guild.loc/document/document/view?id=31" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0" +127.0.0.1 - - [11/Jan/2022:14:24:22 +0300] "GET /assets/27128343/yii.gridView.js HTTP/1.1" 304 0 "http://backend.guild.loc/document/document/view?id=31" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0" +127.0.0.1 - - [11/Jan/2022:14:24:22 +0300] "GET /assets/71772193/js/bootstrap.js HTTP/1.1" 304 0 "http://backend.guild.loc/document/document/view?id=31" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0" +127.0.0.1 - - [11/Jan/2022:14:24:22 +0300] "GET /assets/cd83ad4b/js/adminlte.min.js HTTP/1.1" 304 0 "http://backend.guild.loc/document/document/view?id=31" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0" +127.0.0.1 - - [11/Jan/2022:14:24:22 +0300] "GET /assets/cd83ad4b/img/user2-160x160.jpg HTTP/1.1" 304 0 "http://backend.guild.loc/document/document/view?id=31" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0" +127.0.0.1 - - [11/Jan/2022:14:24:22 +0300] "GET /debug/default/toolbar?tag=61dd68e5d0600 HTTP/1.1" 200 3409 "http://backend.guild.loc/document/document/view?id=31" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0" +127.0.0.1 - - [11/Jan/2022:14:24:30 +0300] "GET /document/document/view?id=31 HTTP/1.1" 200 68 "http://backend.guild.loc/document/document" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0" +127.0.0.1 - - [11/Jan/2022:14:26:26 +0300] "GET /document/document/view?id=31 HTTP/1.1" 500 116470 "http://backend.guild.loc/document/document" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0" +127.0.0.1 - - [11/Jan/2022:14:26:26 +0300] "GET /debug/default/toolbar?tag=61dd696222dd2 HTTP/1.1" 200 3471 "http://backend.guild.loc/document/document/view?id=31" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0" +127.0.0.1 - - [11/Jan/2022:14:26:50 +0300] "GET /document/document/view?id=31 HTTP/1.1" 500 75184 "http://backend.guild.loc/document/document" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0" +127.0.0.1 - - [11/Jan/2022:14:29:17 +0300] "GET /document/document/view?id=31 HTTP/1.1" 200 1696 "http://backend.guild.loc/document/document" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0" +127.0.0.1 - - [11/Jan/2022:14:31:29 +0300] "GET /document/document/view?id=31 HTTP/1.1" 200 1890 "http://backend.guild.loc/document/document" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0" +127.0.0.1 - - [11/Jan/2022:14:32:22 +0300] "GET /document/document/view?id=31 HTTP/1.1" 200 75 "http://backend.guild.loc/document/document" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0" +127.0.0.1 - - [11/Jan/2022:14:32:40 +0300] "GET /document/document/view?id=31 HTTP/1.1" 200 1848 "http://backend.guild.loc/document/document" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0" +127.0.0.1 - - [11/Jan/2022:14:33:13 +0300] "GET /document/document/view?id=31 HTTP/1.1" 200 514 "http://backend.guild.loc/document/document" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0" +127.0.0.1 - - [11/Jan/2022:14:34:13 +0300] "GET /document/document/view?id=31 HTTP/1.1" 200 514 "http://backend.guild.loc/document/document" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0" +127.0.0.1 - - [11/Jan/2022:14:35:36 +0300] "GET /api/document/get-document?document_id=31 HTTP/1.1" 200 1518 "-" "PostmanRuntime/7.28.4" +127.0.0.1 - - [11/Jan/2022:14:42:06 +0300] "GET /api/document/get-document?document_id=31 HTTP/1.1" 200 1601 "-" "PostmanRuntime/7.28.4" +127.0.0.1 - - [11/Jan/2022:14:42:20 +0300] "GET /api/document/get-document?document_id=31 HTTP/1.1" 200 1431 "-" "PostmanRuntime/7.28.4" +127.0.0.1 - - [11/Jan/2022:14:42:45 +0300] "GET /api/document/get-document?document_id=31 HTTP/1.1" 200 1431 "-" "PostmanRuntime/7.28.4" +127.0.0.1 - - [11/Jan/2022:14:43:04 +0300] "GET /api/document/get-document?document_id=31 HTTP/1.1" 200 1462 "-" "PostmanRuntime/7.28.4" +127.0.0.1 - - [11/Jan/2022:14:43:24 +0300] "GET /api/document/get-document?document_id=31 HTTP/1.1" 200 1431 "-" "PostmanRuntime/7.28.4" +127.0.0.1 - - [11/Jan/2022:14:43:42 +0300] "GET /api/document/get-document?document_id=31 HTTP/1.1" 500 1926 "-" "PostmanRuntime/7.28.4" +127.0.0.1 - - [11/Jan/2022:14:43:49 +0300] "GET /api/document/get-document?document_id=31 HTTP/1.1" 200 1462 "-" "PostmanRuntime/7.28.4" +127.0.0.1 - - [11/Jan/2022:14:44:06 +0300] "GET /api/document/get-document?document_id=31 HTTP/1.1" 200 1491 "-" "PostmanRuntime/7.28.4" +127.0.0.1 - - [11/Jan/2022:14:44:26 +0300] "GET /api/document/get-document?document_id=31 HTTP/1.1" 200 1491 "-" "PostmanRuntime/7.28.4" +127.0.0.1 - - [11/Jan/2022:14:44:42 +0300] "GET /api/document/get-document?document_id=31 HTTP/1.1" 200 1601 "-" "PostmanRuntime/7.28.4" +127.0.0.1 - - [11/Jan/2022:14:45:05 +0300] "GET /api/document/get-document?document_id=31 HTTP/1.1" 500 1207 "-" "PostmanRuntime/7.28.4" +127.0.0.1 - - [11/Jan/2022:14:45:15 +0300] "GET /api/document/get-document?document_id=31 HTTP/1.1" 500 1152 "-" "PostmanRuntime/7.28.4" +127.0.0.1 - - [11/Jan/2022:14:46:00 +0300] "GET /api/document/get-document?document_id=31 HTTP/1.1" 200 1601 "-" "PostmanRuntime/7.28.4" +127.0.0.1 - - [11/Jan/2022:14:47:01 +0300] "GET /api/document/get-document?document_id=31 HTTP/1.1" 200 1601 "-" "PostmanRuntime/7.28.4" diff --git a/frontend-error.log b/frontend-error.log index 3595e2a..9baa435 100644 --- a/frontend-error.log +++ b/frontend-error.log @@ -13820,3 +13820,71 @@ Stack trace: 2022/01/11 13:35:36 [error] 720#720: *151 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42" while reading response header from upstream, client: 127.0.0.1, server: backend.guild.loc, request: "GET /document/document/view?id=31 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "backend.guild.loc", referrer: "http://backend.guild.loc/document/document" 2022/01/11 13:35:37 [error] 720#720: *151 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42" while reading response header from upstream, client: 127.0.0.1, server: backend.guild.loc, request: "GET /debug/default/toolbar?tag=61dd5d78b2d6d HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "backend.guild.loc", referrer: "http://backend.guild.loc/document/document/view?id=31" 2022/01/11 13:36:40 [error] 720#720: *170 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 102PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/document-field-value/document-field-value-list?document_id=31 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc" +2022/01/11 13:59:07 [error] 720#720: *172 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 102PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "PUT /api/document-field-value/document-field-value-list?value=1111 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc" +2022/01/11 13:59:37 [error] 720#720: *172 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 102PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "PUT /api/document-field-value/update?document_field_value_id=91&value=1111 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc" +2022/01/11 14:00:48 [error] 720#720: *175 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 102PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "PUT /api/document-field-value/update?document_field_value_id=91&value=1111 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc" +2022/01/11 14:01:09 [error] 720#720: *175 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 102PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "PUT /api/document-field-value/update?document_field_value_id=91&value=1111 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc" +2022/01/11 14:01:18 [error] 720#720: *175 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 102PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "PUT /api/document-field-value/update?document_field_value_id=91&value=1111 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc" +2022/01/11 14:01:37 [error] 720#720: *175 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 102PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "PUT /api/document-field-value/update?document_field_value_id=91&value=1111 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc" +2022/01/11 14:01:47 [error] 720#720: *175 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 102PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "PUT /api/document-field-value/update?document_field_value_id=91&value=1111 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc" +2022/01/11 14:02:07 [error] 720#720: *175 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 102PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "PUT /api/document-field-value/update?document_field_value_id=91&value=1111 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc" +2022/01/11 14:02:31 [error] 720#720: *175 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 102PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "PUT /api/document-field-value/update?document_field_value_id=91&value=1111 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc" +2022/01/11 14:02:52 [error] 720#720: *175 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 102PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "PUT /api/document-field-value/update?document_field_value_id=91&value=1111 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc" +2022/01/11 14:03:19 [error] 720#720: *175 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 102PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/task/get-task-list?project_id=74 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc" +2022/01/11 14:04:36 [error] 720#720: *185 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 102PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "PUT /api/document-field-value/update?document_field_value_id=91&value=1111 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc" +2022/01/11 14:04:43 [error] 720#720: *185 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 102PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/document-field-value/update?document_field_value_id=91&value=1111 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc" +2022/01/11 14:05:36 [error] 720#720: *185 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 102PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/task/update HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc" +2022/01/11 14:05:46 [error] 720#720: *185 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 102PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/task/update HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc" +2022/01/11 14:06:08 [error] 720#720: *185 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 102PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/task/update HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc" +2022/01/11 14:07:48 [error] 720#720: *191 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 102PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/document-field-value/update?document_field_value_id=91&value=1111 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc" +2022/01/11 14:07:53 [error] 720#720: *191 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 102PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/document-field-value/update?document_field_value_id=91&value=1111 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc" +2022/01/11 14:08:15 [error] 720#720: *191 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 102PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/document-field-value/update?document_field_value_id=91&value=1111 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc" +2022/01/11 14:14:18 [error] 720#720: *195 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 102PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/document-field-value/update?document_field_value_id=91&value=1111 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc" +2022/01/11 14:14:23 [error] 720#720: *197 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42" while reading response header from upstream, client: 127.0.0.1, server: backend.guild.loc, request: "GET /document/document/view?id=31 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "backend.guild.loc", referrer: "http://backend.guild.loc/document/document" +2022/01/11 14:14:23 [error] 720#720: *197 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42" while reading response header from upstream, client: 127.0.0.1, server: backend.guild.loc, request: "GET /debug/default/toolbar?tag=61dd668f606d6 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "backend.guild.loc", referrer: "http://backend.guild.loc/document/document/view?id=31" +2022/01/11 14:14:49 [error] 720#720: *195 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 102PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/document/get-document?document_id=31 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc" +2022/01/11 14:15:37 [error] 720#720: *195 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 102PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/document/get-document?document_id=31 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc" +2022/01/11 14:16:07 [error] 720#720: *195 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 102PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/document/get-document?document_id=31 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc" +2022/01/11 14:16:21 [error] 720#720: *195 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 102PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/document/get-document?document_id=31 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc" +2022/01/11 14:16:36 [error] 720#720: *195 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 102PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/document/get-document?document_id=31 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc" +2022/01/11 14:16:43 [error] 720#720: *195 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 102PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/document/get-document?document_id=31 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc" +2022/01/11 14:16:59 [error] 720#720: *195 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 102PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/document/get-document?document_id=31 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc" +2022/01/11 14:17:07 [error] 720#720: *195 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 102PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/document/get-document?document_id=31 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc" +2022/01/11 14:17:25 [error] 720#720: *195 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 102PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/document/get-document?document_id=31 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc" +2022/01/11 14:18:08 [error] 720#720: *195 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 102PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/document/get-document?document_id=31 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc" +2022/01/11 14:18:19 [error] 720#720: *195 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 102PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/document/get-document?document_id=31 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc" +2022/01/11 14:18:26 [error] 720#720: *195 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 102PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/document/get-document?document_id=31 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc" +2022/01/11 14:19:03 [error] 720#720: *195 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 102PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/document/get-document?document_id=31 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc" +2022/01/11 14:19:17 [error] 720#720: *195 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 102PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/document/get-document?document_id=31 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc" +2022/01/11 14:19:23 [error] 720#720: *195 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 102PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/document/get-document?document_id=31 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc" +2022/01/11 14:20:02 [error] 720#720: *195 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 102PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/document/get-document?document_id=31 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc" +2022/01/11 14:20:09 [error] 720#720: *195 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 102PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/document/get-document?document_id=31 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc" +2022/01/11 14:20:37 [error] 720#720: *195 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 102PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/document/get-document?document_id=31 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc" +2022/01/11 14:20:47 [error] 720#720: *195 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 102PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/document/get-document?document_id=31 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc" +2022/01/11 14:24:21 [error] 720#720: *222 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42" while reading response header from upstream, client: 127.0.0.1, server: backend.guild.loc, request: "GET /document/document/view?id=31 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "backend.guild.loc", referrer: "http://backend.guild.loc/document/document" +2022/01/11 14:24:22 [error] 720#720: *222 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42" while reading response header from upstream, client: 127.0.0.1, server: backend.guild.loc, request: "GET /debug/default/toolbar?tag=61dd68e5d0600 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "backend.guild.loc", referrer: "http://backend.guild.loc/document/document/view?id=31" +2022/01/11 14:24:30 [error] 720#720: *222 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42" while reading response header from upstream, client: 127.0.0.1, server: backend.guild.loc, request: "GET /document/document/view?id=31 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "backend.guild.loc", referrer: "http://backend.guild.loc/document/document" +2022/01/11 14:26:26 [error] 720#720: *229 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42" while reading response header from upstream, client: 127.0.0.1, server: backend.guild.loc, request: "GET /document/document/view?id=31 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "backend.guild.loc", referrer: "http://backend.guild.loc/document/document" +2022/01/11 14:26:26 [error] 720#720: *229 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42" while reading response header from upstream, client: 127.0.0.1, server: backend.guild.loc, request: "GET /debug/default/toolbar?tag=61dd696222dd2 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "backend.guild.loc", referrer: "http://backend.guild.loc/document/document/view?id=31" +2022/01/11 14:26:50 [error] 720#720: *229 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42" while reading response header from upstream, client: 127.0.0.1, server: backend.guild.loc, request: "GET /document/document/view?id=31 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "backend.guild.loc", referrer: "http://backend.guild.loc/document/document" +2022/01/11 14:29:17 [error] 720#720: *233 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42" while reading response header from upstream, client: 127.0.0.1, server: backend.guild.loc, request: "GET /document/document/view?id=31 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "backend.guild.loc", referrer: "http://backend.guild.loc/document/document" +2022/01/11 14:31:29 [error] 720#720: *235 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42" while reading response header from upstream, client: 127.0.0.1, server: backend.guild.loc, request: "GET /document/document/view?id=31 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "backend.guild.loc", referrer: "http://backend.guild.loc/document/document" +2022/01/11 14:32:22 [error] 720#720: *235 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42" while reading response header from upstream, client: 127.0.0.1, server: backend.guild.loc, request: "GET /document/document/view?id=31 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "backend.guild.loc", referrer: "http://backend.guild.loc/document/document" +2022/01/11 14:32:40 [error] 720#720: *235 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42" while reading response header from upstream, client: 127.0.0.1, server: backend.guild.loc, request: "GET /document/document/view?id=31 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "backend.guild.loc", referrer: "http://backend.guild.loc/document/document" +2022/01/11 14:33:13 [error] 720#720: *235 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42" while reading response header from upstream, client: 127.0.0.1, server: backend.guild.loc, request: "GET /document/document/view?id=31 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "backend.guild.loc", referrer: "http://backend.guild.loc/document/document" +2022/01/11 14:34:13 [error] 720#720: *235 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42" while reading response header from upstream, client: 127.0.0.1, server: backend.guild.loc, request: "GET /document/document/view?id=31 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "backend.guild.loc", referrer: "http://backend.guild.loc/document/document" +2022/01/11 14:35:36 [error] 720#720: *241 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 102PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/document/get-document?document_id=31 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc" +2022/01/11 14:42:06 [error] 720#720: *243 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 102PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/document/get-document?document_id=31 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc" +2022/01/11 14:42:20 [error] 720#720: *243 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 102PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/document/get-document?document_id=31 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc" +2022/01/11 14:42:45 [error] 720#720: *243 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 102PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/document/get-document?document_id=31 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc" +2022/01/11 14:43:04 [error] 720#720: *243 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 102PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/document/get-document?document_id=31 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc" +2022/01/11 14:43:24 [error] 720#720: *243 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 102PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/document/get-document?document_id=31 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc" +2022/01/11 14:43:42 [error] 720#720: *243 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 102PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/document/get-document?document_id=31 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc" +2022/01/11 14:43:49 [error] 720#720: *243 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 102PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/document/get-document?document_id=31 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc" +2022/01/11 14:44:06 [error] 720#720: *243 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 102PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/document/get-document?document_id=31 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc" +2022/01/11 14:44:26 [error] 720#720: *243 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 102PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/document/get-document?document_id=31 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc" +2022/01/11 14:44:42 [error] 720#720: *243 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 102PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/document/get-document?document_id=31 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc" +2022/01/11 14:45:05 [error] 720#720: *243 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 102PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/document/get-document?document_id=31 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc" +2022/01/11 14:45:15 [error] 720#720: *243 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 102PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/document/get-document?document_id=31 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc" +2022/01/11 14:46:00 [error] 720#720: *243 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 102PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/document/get-document?document_id=31 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc" +2022/01/11 14:47:01 [error] 720#720: *243 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 42PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 102PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/document/get-document?document_id=31 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc" diff --git a/frontend/modules/api/controllers/DocumentController.php b/frontend/modules/api/controllers/DocumentController.php index b6d797e..0a72459 100644 --- a/frontend/modules/api/controllers/DocumentController.php +++ b/frontend/modules/api/controllers/DocumentController.php @@ -51,8 +51,10 @@ class DocumentController extends Controller } $document = Document::find() - ->where(['document.id' => $document_id]) - ->all(); + ->joinWith(['documentFieldValues.field']) + ->where(['document.id' => $document_id]) + ->asArray() + ->all(); if(empty($document)) { throw new NotFoundHttpException('There is no such document'); diff --git a/frontend/modules/api/controllers/DocumentFieldValueController.php b/frontend/modules/api/controllers/DocumentFieldValueController.php index e9bbcf1..61be035 100644 --- a/frontend/modules/api/controllers/DocumentFieldValueController.php +++ b/frontend/modules/api/controllers/DocumentFieldValueController.php @@ -2,12 +2,12 @@ namespace frontend\modules\api\controllers; -use common\models\Document; use common\models\DocumentFieldValue; use Yii; use yii\filters\auth\HttpBearerAuth; use yii\web\NotFoundHttpException; use yii\rest\Controller; +use yii\web\ServerErrorHttpException; class DocumentFieldValueController extends Controller { @@ -28,7 +28,7 @@ class DocumentFieldValueController extends Controller // 'get-task' => ['get'], 'document-field-value-list' => ['get'], // 'create-task' => ['post'], -// 'update-task' => ['put', 'patch'], + 'update' => ['post'], ]; } @@ -50,4 +50,24 @@ class DocumentFieldValueController extends Controller return $fieldValues; } + + public function actionUpdate() + { + $model = $this->findModelDocumentFieldValue(Yii::$app->request->post('document_field_value_id')); + if(empty($model)) { + throw new NotFoundHttpException('The document field value does not exist'); + } + + $model->load(Yii::$app->request->getBodyParams(), ''); + if ($model->save() === false && !$model->hasErrors()) { + throw new ServerErrorHttpException('Failed to update the object for unknown reason.'); + } + + return $model; + } + + private function findModelDocumentFieldValue($document_field_value_id) + { + return DocumentFieldValue::findOne($document_field_value_id); + } }