Merge pull request #99 from apuc/get_a_resume_as_a_file

Get a resume as a file
This commit is contained in:
kavalar 2022-11-07 17:36:28 +03:00 committed by GitHub
commit 8fb231b0e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
21 changed files with 1046 additions and 46 deletions

View File

@ -0,0 +1,127 @@
<?php
namespace backend\modules\card\controllers;
use Yii;
use backend\modules\card\models\ResumeTemplate;
use backend\modules\card\models\ResumeTemplateSearch;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
/**
* ResumeTemplateController implements the CRUD actions for ResumeTemplate model.
*/
class ResumeTemplateController extends Controller
{
/**
* {@inheritdoc}
*/
public function behaviors()
{
return [
'verbs' => [
'class' => VerbFilter::className(),
'actions' => [
'delete' => ['POST'],
],
],
];
}
/**
* Lists all ResumeTemplate models.
* @return mixed
*/
public function actionIndex()
{
$searchModel = new ResumeTemplateSearch();
$dataProvider = $searchModel->search(Yii::$app->request->queryParams);
return $this->render('index', [
'searchModel' => $searchModel,
'dataProvider' => $dataProvider,
]);
}
/**
* Displays a single ResumeTemplate model.
* @param integer $id
* @return mixed
* @throws NotFoundHttpException if the model cannot be found
*/
public function actionView($id)
{
return $this->render('view', [
'model' => $this->findModel($id),
]);
}
/**
* Creates a new ResumeTemplate model.
* If creation is successful, the browser will be redirected to the 'view' page.
* @return mixed
*/
public function actionCreate()
{
$model = new ResumeTemplate();
if ($model->load(Yii::$app->request->post()) && $model->save()) {
return $this->redirect(['view', 'id' => $model->id]);
}
return $this->render('create', [
'model' => $model,
]);
}
/**
* Updates an existing ResumeTemplate model.
* If update is successful, the browser will be redirected to the 'view' page.
* @param integer $id
* @return mixed
* @throws NotFoundHttpException if the model cannot be found
*/
public function actionUpdate($id)
{
$model = $this->findModel($id);
if ($model->load(Yii::$app->request->post()) && $model->save()) {
return $this->redirect(['view', 'id' => $model->id]);
}
return $this->render('update', [
'model' => $model,
]);
}
/**
* Deletes an existing ResumeTemplate model.
* If deletion is successful, the browser will be redirected to the 'index' page.
* @param integer $id
* @return mixed
* @throws NotFoundHttpException if the model cannot be found
*/
public function actionDelete($id)
{
$this->findModel($id)->delete();
return $this->redirect(['index']);
}
/**
* Finds the ResumeTemplate model based on its primary key value.
* If the model is not found, a 404 HTTP exception will be thrown.
* @param integer $id
* @return ResumeTemplate the loaded model
* @throws NotFoundHttpException if the model cannot be found
*/
protected function findModel($id)
{
if (($model = ResumeTemplate::findOne($id)) !== null) {
return $model;
}
throw new NotFoundHttpException('The requested page does not exist.');
}
}

View File

@ -2,14 +2,15 @@
namespace backend\modules\card\controllers; namespace backend\modules\card\controllers;
use backend\modules\card\models\ResumeTemplate;
use backend\modules\card\models\UserCard; use backend\modules\card\models\UserCard;
use backend\modules\card\models\UserCardSearch; use backend\modules\card\models\UserCardSearch;
use backend\modules\settings\models\Skill;
use common\models\AchievementUserCard; use common\models\AchievementUserCard;
use common\models\CardSkill; use common\models\CardSkill;
use common\models\FieldsValueNew; use common\models\FieldsValueNew;
use common\models\User; use common\models\User;
use kartik\mpdf\Pdf; use kartik\mpdf\Pdf;
use PhpOffice\PhpWord\PhpWord;
use Yii; use Yii;
use yii\data\ActiveDataProvider; use yii\data\ActiveDataProvider;
use yii\filters\AccessControl; use yii\filters\AccessControl;
@ -202,55 +203,109 @@ class UserCardController extends Controller
throw new NotFoundHttpException('The requested page does not exist.'); throw new NotFoundHttpException('The requested page does not exist.');
} }
public function actionDownloadResume($id, $pdf = false) public function actionResume($id): string
{ {
$model = $this->findModel($id); return $this->render('resume', [
'model' => UserCard::findOne($id)
if ($pdf) { ]);
self::getResumePdf($model);
}
self::getResumeDocx($model);
} }
private function getResumePdf(UserCard $model) /**
* @param integer $id
* @throws NotFoundHttpException
*/
public function actionResumeTextByTemplate(int $id): string
{ {
$model = $this->findModel($id);
$model->scenario = $model::SCENARIO_GENERATE_RESUME_TEXT;
if ($model->load(Yii::$app->request->post()) && $model->validate()) {
$this->generateText($model);
$model->save(false);
}
return $this->render('resume', [
'model' => $model
]);
}
/**
* @param integer $id
* @throws NotFoundHttpException
*/
public function actionUpdateResumeText($id)
{
$model = $this->findModel($id);
$model->scenario = $model::SCENARIO_UPDATE_RESUME_TEXT;
if ($model->load(Yii::$app->request->post()) && $model->validate()) {
$model->updated_at = date('Y-m-d h:i:s');
$model->save();
}
return $this->render('resume', [
'model' => $model
]);
}
private function generateText(UserCard $userCard) {
$resumeTemplate = ResumeTemplate::findOne($userCard->resumeTemplateId);
$resumeText = $resumeTemplate->template_body;
foreach (ResumeTemplate::$fieldSignatureDbName as $fieldSignature => $fieldDbName ) {
if (str_contains($resumeText, $fieldSignature)) {
if($fieldDbName == 'position_id') {
$fieldValue = $userCard->position->name;
} elseif ($fieldDbName == 'gender') {
$fieldValue = $userCard->getGendersText();
} elseif ($fieldDbName == 'level') {
$fieldValue = UserCard::getLevelLabel($userCard->level);
} elseif($fieldDbName == 'skills') {
$skills = Skill::find()->select('name')
->joinWith('cardSkills')
->where(['card_skill.card_id' => $userCard->id])
->column();
$fieldValue = implode(', ', $skills);
} else {
$fieldValue = $userCard[$fieldDbName];
}
$resumeText = str_replace($fieldSignature, $fieldValue, $resumeText);
}
}
$userCard->resume_text = $resumeText;
}
public function actionDownloadResumePdf($id)
{
$model = UserCard::findOne($id);
$pdf = new Pdf(); // or new Pdf(); $pdf = new Pdf(); // or new Pdf();
$mpdf = $pdf->api; // fetches mpdf api $mpdf = $pdf->api; // fetches mpdf api
$mpdf->SetHeader('Resume ' . $model->fio . '||Generated At: ' . date("d/m/Y")); // call methods or set any properties $mpdf->SetHeader('Resume ' . $model->fio . '||Generated At: ' . date("d/m/Y")); // call methods or set any properties
$mpdf->SetFooter('{PAGENO}'); $mpdf->SetFooter('{PAGENO}');
$mpdf->WriteHtml($model->vc_text); // call mpdf write html $mpdf->WriteHtml($model->resume_text); // call mpdf write html
echo $mpdf->Output("Resume - {$model->fio}", 'D'); // call the mpdf api output as needed echo $mpdf->Output("Resume - {$model->fio}", 'D'); // call the mpdf api output as needed
} }
private function getResumeDocx(UserCard $model) public function actionDownloadResumeDocx($id)
{ {
$phpWord = new PhpWord(); $model = UserCard::findOne($id);
$sectionStyle = array( $pw = new \PhpOffice\PhpWord\PhpWord();
'orientation' => 'portrait',
'marginTop' => \PhpOffice\PhpWord\Shared\Converter::pixelToTwip(10),
'marginLeft' => 600,
'marginRight' => 600,
'colsNum' => 1,
'pageNumberingStart' => 1,
'borderBottomSize'=>100,
'borderBottomColor'=>'C0C0C0'
);
$section = $phpWord->addSection($sectionStyle);
$text = $model->vc_text;
$fontStyle = array('name'=>'Times New Roman', 'size'=>14, 'color'=>'000000', 'bold'=>FALSE, 'italic'=>FALSE);
$parStyle = array('align'=>'both','spaceBefore'=>10);
$section->addText(htmlspecialchars($text), $fontStyle,$parStyle); // (B) ADD HTML CONTENT
$section = $pw->addSection();
\PhpOffice\PhpWord\Shared\Html::addHtml($section, $model->resume_text, false, false);
header("Content-Type: application/msword"); // (C) SAVE TO DOCX ON SERVER
header("Content-Transfer-Encoding: binary"); // $pw->save("convert.docx", "Word2007");
header("Content-Disposition: attachment;filename=Resume - {$model->fio}.docx");
header('Cache-Control: max-age=0');
$objWriter = \PhpOffice\PhpWord\IOFactory::createWriter($phpWord, 'Word2007'); // (D) OR FORCE DOWNLOAD
ob_clean(); header("Content-Type: application/octet-stream");
header("Content-Disposition: attachment;filename=\"Resume-$model->fio.docx\"");
$objWriter = \PhpOffice\PhpWord\IOFactory::createWriter($pw, "Word2007");
$objWriter->save("php://output"); $objWriter->save("php://output");
exit; exit();
} }
} }

View File

@ -0,0 +1,8 @@
<?php
namespace backend\modules\card\models;
class ResumeTemplate extends \common\models\ResumeTemplate
{
}

View File

@ -0,0 +1,72 @@
<?php
namespace backend\modules\card\models;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use backend\modules\card\models\ResumeTemplate;
/**
* ResumeTemplateSearch represents the model behind the search form of `backend\modules\card\models\ResumeTemplate`.
*/
class ResumeTemplateSearch extends ResumeTemplate
{
/**
* {@inheritdoc}
*/
public function rules()
{
return [
[['id', 'status'], 'integer'],
[['title', 'created_at', 'updated_at', 'template_body'], 'safe'],
];
}
/**
* {@inheritdoc}
*/
public function scenarios()
{
// bypass scenarios() implementation in the parent class
return Model::scenarios();
}
/**
* Creates data provider instance with search query applied
*
* @param array $params
*
* @return ActiveDataProvider
*/
public function search($params)
{
$query = ResumeTemplate::find();
// add conditions that should always apply here
$dataProvider = new ActiveDataProvider([
'query' => $query,
]);
$this->load($params);
if (!$this->validate()) {
// uncomment the following line if you do not want to return any records when validation fails
// $query->where('0=1');
return $dataProvider;
}
// grid filtering conditions
$query->andFilterWhere([
'id' => $this->id,
'created_at' => $this->created_at,
'updated_at' => $this->updated_at,
'status' => $this->status,
]);
$query->andFilterWhere(['like', 'title', $this->title])
->andFilterWhere(['like', 'template_body', $this->template_body]);
return $dataProvider;
}
}

View File

@ -123,7 +123,7 @@ class UserCard extends \common\models\UserCard
$fieldsValue->save(); $fieldsValue->save();
} }
} }
if (is_array($post['fields'])) { if (array_key_exists('fields', $post) && is_array($post['fields'])) {
CardSkill::deleteAll(['card_id' => $this->id]); CardSkill::deleteAll(['card_id' => $this->id]);
if (is_array($post['skill'])) if (is_array($post['skill']))
foreach ($post['skill'] as $item) { foreach ($post['skill'] as $item) {
@ -135,7 +135,7 @@ class UserCard extends \common\models\UserCard
} }
} }
if(is_array($post['achievements'])){ if(array_key_exists('achievements', $post) && is_array($post['achievements'])){
AchievementUserCard::deleteAll(['user_card_id' => $this->id]); AchievementUserCard::deleteAll(['user_card_id' => $this->id]);
foreach ($post['achievements'] as $item) { foreach ($post['achievements'] as $item) {

View File

@ -0,0 +1,144 @@
<?php
use asmoday74\ckeditor5\EditorClassic;
use common\helpers\StatusHelper;
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model backend\modules\card\models\ResumeTemplate */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="row">
<div class="col-md-8">
<div class="resume-template-form">
<?php $form = ActiveForm::begin(); ?>
<?= $form->field($model, 'title')->textInput(['maxlength' => true]) ?>
<?= $form->field($model, 'status')->dropDownList(
StatusHelper::statusList(),
[
'prompt' => 'Выберите'
]
) ?>
<?= $form->field($model, 'template_body')->widget(EditorClassic::className(), [
'clientOptions' => [
'language' => 'ru',
]
]); ?>
<div class="form-group">
<?= Html::submitButton('Сохранить', ['class' => 'btn btn-success']) ?>
</div>
<?php ActiveForm::end(); ?>
</div>
</div>
<div class="col-md-4">
<div class="table-responsive">
<table class="table" id="fieldNameTable">
<thead>
<tr>
<th>Поле</th>
<th>Сигнатура поля</th>
</tr>
</thead>
<tbody>
<tr class="info">
<td>ФИО</td>
<td class="table-cell">${fio}</td>
</tr>
<tr class="info">
<td>Паспорт</td>
<td class="table-cell">${passport}</td>
</tr>
<tr class="info">
<td>Электронная почта</td>
<td class="table-cell">${email}</td>
</tr>
<tr class="info">
<td>Пол</td>
<td class="table-cell">${gender}</td>
</tr>
<tr class="info">
<td>Резюме</td>
<td class="table-cell">${resume}</td>
</tr>
<tr class="info">
<td>Зароботная плата</td>
<td class="table-cell">${salary}</td>
</tr>
<tr class="info">
<td>Позиция</td>
<td class="table-cell">${position_id}</td>
</tr>
<tr class="info">
<td>Город</td>
<td class="table-cell">${city}</td>
</tr>
<tr class="info">
<td>Ссылка ВК</td>
<td class="table-cell">${link_vk}</td>
</tr>
<tr class="info">
<td>Ссылка Телграм</td>
<td class="table-cell">${link_telegram}</td>
</tr>
<tr class="info">
<td>Резюме текст</td>
<td class="table-cell">${vc_text}</td>
</tr>
<tr class="info">
<td>Уровень</td>
<td class="table-cell">${level}</td>
</tr>
<tr class="info">
<td>Резюме текст</td>
<td class="table-cell">${vc_text}</td>
</tr>
<tr class="info">
<td>Резюме короткий текст</td>
<td class="table-cell">${vc_text_short}</td>
</tr>
<tr class="info">
<td>Лет опыта</td>
<td class="table-cell">${years_of_exp}/td>
</tr>
<tr class="info">
<td>Спецификация</td>
<td class="table-cell">${specification}</td>
</tr>
<tr class="info">
<td>Навыки</td>
<td class="table-cell">${skills}</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<!--<script>-->
<!-- document.querySelectorAll(".table-cell").forEach(function(elm){-->
<!-- elm.addEventListener("mouseover", function(e){-->
<!-- e.target.style.backgroundColor = '#76d7c4';-->
<!-- var copyText = e.target.textContent;-->
<!-- const el = document.createElement('textarea');-->
<!-- el.value = copyText;-->
<!-- document.body.appendChild(el);-->
<!-- el.select();-->
<!-- document.execCommand('copy');-->
<!-- document.body.removeChild(el);-->
<!---->
<!-- /* Alert the copied text */-->
<!-- alert("Copied the text: " + el.value);-->
<!-- });-->
<!-- })-->
<!--</script>-->

View File

@ -0,0 +1,37 @@
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model backend\modules\card\models\ResumeTemplateSearch */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="resume-template-search">
<?php $form = ActiveForm::begin([
'action' => ['index'],
'method' => 'get',
]); ?>
<?= $form->field($model, 'id') ?>
<?= $form->field($model, 'title') ?>
<?= $form->field($model, 'created_at') ?>
<?= $form->field($model, 'updated_at') ?>
<?= $form->field($model, 'status') ?>
<?php // echo $form->field($model, 'template_body') ?>
<div class="form-group">
<?= Html::submitButton('Search', ['class' => 'btn btn-primary']) ?>
<?= Html::resetButton('Reset', ['class' => 'btn btn-default']) ?>
</div>
<?php ActiveForm::end(); ?>
</div>

View File

@ -0,0 +1,18 @@
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model backend\modules\card\models\ResumeTemplate */
$this->title = 'Создать шаблон резюме';
$this->params['breadcrumbs'][] = ['label' => 'Resume Templates', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="resume-template-create">
<?= $this->render('_form', [
'model' => $model,
]) ?>
</div>

View File

@ -0,0 +1,39 @@
<?php
use common\helpers\StatusHelper;
use yii\helpers\Html;
use yii\grid\GridView;
/* @var $this yii\web\View */
/* @var $searchModel backend\modules\card\models\ResumeTemplateSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = 'Шаблоны резюме';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="resume-template-index">
<p>
<?= Html::a('Создать шаблон', ['create'], ['class' => 'btn btn-success']) ?>
</p>
<?= GridView::widget([
'dataProvider' => $dataProvider,
'filterModel' => $searchModel,
'columns' => [
['class' => 'yii\grid\SerialColumn'],
'title',
[
'attribute' => 'status',
'format' => 'raw',
'filter' => StatusHelper::statusList(),
'value' => function($model){
return StatusHelper::statusLabel($model->status);
}
],
['class' => 'yii\grid\ActionColumn'],
],
]); ?>
</div>

View File

@ -0,0 +1,19 @@
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model backend\modules\card\models\ResumeTemplate */
$this->title = 'Изменить шаблон: ' . $model->title;
$this->params['breadcrumbs'][] = ['label' => 'Resume Templates', 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => $model->title, 'url' => ['view', 'id' => $model->id]];
$this->params['breadcrumbs'][] = 'Update';
?>
<div class="resume-template-update">
<?= $this->render('_form', [
'model' => $model,
]) ?>
</div>

View File

@ -0,0 +1,47 @@
<?php
use common\helpers\StatusHelper;
use yii\grid\GridView;
use yii\helpers\Html;
use yii\widgets\DetailView;
/* @var $this yii\web\View */
/* @var $model backend\modules\card\models\ResumeTemplate */
$this->title = $model->title;
$this->params['breadcrumbs'][] = ['label' => 'Resume Templates', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
\yii\web\YiiAsset::register($this);
?>
<div class="resume-template-view">
<p>
<?= Html::a('Список', ['index', 'id' => $model->id], ['class' => 'btn btn-primary']) ?>
<?= Html::a('Изменить', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?>
<?= Html::a('Удалить', ['delete', 'id' => $model->id], [
'class' => 'btn btn-danger',
'data' => [
'confirm' => 'Are you sure you want to delete this item?',
'method' => 'post',
],
]) ?>
</p>
<?= DetailView::widget([
'model' => $model,
'attributes' => [
'id',
'title',
'created_at',
'updated_at',
[
'attribute' => 'status',
'format' => 'raw',
'filter' => StatusHelper::statusList(),
'value' => StatusHelper::statusLabel($model->status),
],
'template_body:ntext'
],
]) ?>
</div>

View File

@ -0,0 +1,65 @@
<?php
use asmoday74\ckeditor5\EditorClassic;
use backend\modules\card\models\ResumeTemplate;
use common\helpers\StatusHelper;
use yii\helpers\Html;
use yii\helpers\Url;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model backend\modules\card\models\UserCard */
$this->title = 'Резюме: ' . $model->fio;
$this->params['breadcrumbs'][] = ['label' => 'Профили', 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => $model->id, 'url' => ['view', 'id' => $model->id]];
$this->params['breadcrumbs'][] = 'Резюме';
?>
<div class="resume-form">
<?php $form = ActiveForm::begin([
'id' => 'text-by-template-form',
'action' => Url::to(['user-card/resume-text-by-template', 'id' => $model->id]),
'options' => ['method' => 'post']])
?>
<?= Html::hiddenInput('id', $model->id); ?>
<?= $form->field($model, 'resumeTemplateId')->dropDownList(
ResumeTemplate::find()->where(['status' => StatusHelper::STATUS_ACTIVE])->select(['title', 'id'])->indexBy('id')->column(),
['prompt' => 'Выберите'])
?>
<div class="form-group">
<?= Html::submitButton('Сгенерировать резюме по шаблону', ['class' => 'btn btn-primary']) ?>
</div>
<?php ActiveForm::end(); ?>
</div>
<div class="resume-form">
<?php $form = ActiveForm::begin([
'id' => 'update-resume-text-form',
'action' => Url::to(['user-card/update-resume-text', 'id' => $model->id]),
'options' => ['method' => 'post']])
?>
<?= $form->field($model, 'resume_text')->widget(EditorClassic::className(), [
'clientOptions' => [
'language' => 'ru',
]
]); ?>
<div class="form-group">
<?= Html::submitButton('Сохраниить изменения', ['class' => 'btn btn-primary']) ?>
</div>
<?php ActiveForm::end(); ?>
</div>
<div class="resume-form">
<p>
<?= Html::a('Скачать pdf', ['download-resume-pdf', 'id' => $model->id], ['class' => 'btn btn-success']) ?>
<?= Html::a('Скачать docx', ['download-resume-docx', 'id' => $model->id], ['class' => 'btn btn-success']) ?>
</p>
</div>

View File

@ -24,6 +24,7 @@ $this->params['breadcrumbs'][] = $this->title;
<p> <p>
<?= Html::a('Список', ['index'], ['class' => 'btn btn-primary']) ?> <?= Html::a('Список', ['index'], ['class' => 'btn btn-primary']) ?>
<?= Html::a('Редактировать', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?> <?= Html::a('Редактировать', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?>
<?= Html::a('Резюме', ['user-card/resume', 'id' => $model->id], ['class' => 'btn btn-primary']) ?>
</p> </p>
<?= DetailView::widget([ <?= DetailView::widget([
@ -101,11 +102,6 @@ $this->params['breadcrumbs'][] = $this->title;
], ],
]) ?> ]) ?>
<p>
<?= Html::a('Resume pdf', ['download-resume', 'id' => $model->id, 'pdf' => true], ['class' => 'btn btn-primary']) ?>
<?= Html::a('Resume docx', ['download-resume', 'id' => $model->id], ['class' => 'btn btn-primary']) ?>
</p>
<h2>Навыки</h2> <h2>Навыки</h2>
<?php foreach ($skills as $skill) : ?> <?php foreach ($skills as $skill) : ?>
<span class="btn btn-default btn-sm"><?= $skill['skill']->name; ?></span> <span class="btn btn-default btn-sm"><?= $skill['skill']->name; ?></span>

View File

@ -65,7 +65,7 @@ class ManagerEmployeeController extends Controller
*/ */
public function actionCreate() public function actionCreate()
{ {
$post = $post = \Yii::$app->request->post('ManagerEmployee'); $post = \Yii::$app->request->post('ManagerEmployee');
if (!empty($post)) { if (!empty($post)) {
$user_card_id_arr = ArrayHelper::getValue($post,'user_card_id'); $user_card_id_arr = ArrayHelper::getValue($post,'user_card_id');

View File

@ -3,10 +3,12 @@
<?php <?php
$userStatuses = \common\models\Status::getStatusesArray(\common\models\UseStatus::USE_PROFILE); $userStatuses = \common\models\Status::getStatusesArray(\common\models\UseStatus::USE_PROFILE);
$menuItems = [['label' => 'Все', 'icon' => 'id-card', 'url' => ['/card/user-card']]]; $menuItems = [['label' => 'Все', 'icon' => 'id-card', 'url' => ['/card/user-card'], 'active' => \Yii::$app->controller->id == 'user-card',]];
foreach ($userStatuses as $key => $status) { foreach ($userStatuses as $key => $status) {
$menuItems[] = ['label' => $status, 'icon' => 'id-card', 'url' => ['/card/user-card?UserCardSearch[status]=' . $key]]; $menuItems[] = ['label' => $status, 'icon' => 'id-card', 'url' => ['/card/user-card?UserCardSearch[status]=' . $key], 'active' => \Yii::$app->controller->id == 'user-card',];
} }
$menuItems[] = ['label' => 'Шаблоны резюме', 'icon' => 'file', 'url' => ['/card/resume-template'], 'active' => \Yii::$app->controller->id == 'resume-template'];
$projectStatuses = \common\models\Status::getStatusesArray(\common\models\UseStatus::USE_PROJECT); $projectStatuses = \common\models\Status::getStatusesArray(\common\models\UseStatus::USE_PROJECT);
$projectItems = [['label' => 'Все', 'icon' => 'cubes', 'url' => ['/project/project'], 'active' => \Yii::$app->controller->id == 'project']]; $projectItems = [['label' => 'Все', 'icon' => 'cubes', 'url' => ['/project/project'], 'active' => \Yii::$app->controller->id == 'project']];
foreach ($projectStatuses as $key => $status) { foreach ($projectStatuses as $key => $status) {
@ -30,7 +32,7 @@
//'visible' => Yii::$app->user->can('confidential_information') //'visible' => Yii::$app->user->can('confidential_information')
], ],
[ [
'label' => 'Профили', 'icon' => 'address-book-o', 'url' => '#', 'active' => \Yii::$app->controller->id == 'user-card', 'label' => 'Профили', 'icon' => 'address-book-o', 'url' => '#', //'active' => \Yii::$app->controller->id == 'user-card',
'items' => $menuItems, 'items' => $menuItems,
//'visible' => Yii::$app->user->can('confidential_information') //'visible' => Yii::$app->user->can('confidential_information')
], ],

View File

@ -0,0 +1,108 @@
<?php
namespace common\models;
use Exception;
use yii\behaviors\TimestampBehavior;
use yii\db\Expression;
use yii\helpers\ArrayHelper;
/**
* This is the model class for table "resume_template".
*
* @property int $id
* @property string $title
* @property string $created_at
* @property string $updated_at
* @property int $status
* @property string $template_body
*/
class ResumeTemplate extends \yii\db\ActiveRecord
{
public static $fieldNamesAndSignature = [
'ФИО' => '${fio}',
'Паспорт' => '${passport}',
'Электронная почта' => '${email}',
'Пол' => '${gender}',
'Резюме' => '${resume}',
'Зароботная плата' => '${salary}',
'Позиция' => '${position_id}',
'Город' => '${city}',
'Ссылка ВК' => '${link_vk}',
'Ссылка Телграм' => '${link_telegram}',
'Резюме текст' => '${vc_text}',
'Уровень' => '${level}',
'Резюме короткий текст' => '${vc_text_short}',
'Лет опыта' => '${years_of_exp}',
'Спецификация' => '${specification}',
'Навыки' => '${skills}'
];
public static $fieldSignatureDbName = [
'${fio}'=> 'fio',
'${passport}'=> 'passport',
'${email}' => 'email',
'${gender}'=> 'gender',
'${resume}'=> 'resume',
'${salary}' => 'salary',
'${position_id}'=> 'position_id',
'${city}'=> 'city',
'${link_vk}' => 'link_vk',
'${link_telegram}' => 'link_telegram',
'${vc_text}' => 'vc_text',
'${level}'=> 'level',
'${vc_text_short}' => 'vc_text_short',
'${years_of_exp}' => 'years_of_exp',
'${specification}'=> 'specification',
'${skills}'=>'skills'
];
/**
* {@inheritdoc}
*/
public static function tableName()
{
return 'resume_template';
}
public function behaviors()
{
return [
[
'class' => TimestampBehavior::class,
'createdAtAttribute' => 'created_at',
'updatedAtAttribute' => 'updated_at',
'value' => new Expression('NOW()'),
],
];
}
/**
* {@inheritdoc}
*/
public function rules()
{
return [
[['title', 'status'], 'required'],
[['created_at', 'updated_at'], 'safe'],
[['status'], 'integer'],
[['template_body'], 'string'],
[['title'], 'string', 'max' => 255],
];
}
/**
* {@inheritdoc}
*/
public function attributeLabels()
{
return [
'id' => 'ID',
'title' => 'Название',
'created_at' => 'Created At',
'updated_at' => 'Updated At',
'status' => 'Статус',
'template_body' => 'Template Body'
];
}
}

View File

@ -38,6 +38,7 @@ use yii\helpers\ArrayHelper;
* @property int $level * @property int $level
* @property string $test_task_getting_date * @property string $test_task_getting_date
* @property string $test_task_complete_date * @property string $test_task_complete_date
* @property string $resume_text
* *
* @property FieldsValue[] $fieldsValues * @property FieldsValue[] $fieldsValues
* @property ProjectUser[] $projectUsers * @property ProjectUser[] $projectUsers
@ -55,6 +56,11 @@ class UserCard extends \yii\db\ActiveRecord
const LEVEL_MIDDLE_PLUS = 3; const LEVEL_MIDDLE_PLUS = 3;
const LEVEL_SENIOR = 4; const LEVEL_SENIOR = 4;
const SCENARIO_GENERATE_RESUME_TEXT = 'generate_resume_text';
const SCENARIO_UPDATE_RESUME_TEXT = 'update_resume_text';
public $resumeTemplateId;
/** /**
* @return string[] * @return string[]
*/ */
@ -111,6 +117,9 @@ class UserCard extends \yii\db\ActiveRecord
[['salary'], 'string', 'max' => 100], [['salary'], 'string', 'max' => 100],
[['position_id'], 'exist', 'skipOnError' => true, 'targetClass' => Position::class, 'targetAttribute' => ['position_id' => 'id']], [['position_id'], 'exist', 'skipOnError' => true, 'targetClass' => Position::class, 'targetAttribute' => ['position_id' => 'id']],
[['status'], 'exist', 'skipOnError' => true, 'targetClass' => Status::class, 'targetAttribute' => ['status' => 'id']], [['status'], 'exist', 'skipOnError' => true, 'targetClass' => Status::class, 'targetAttribute' => ['status' => 'id']],
['resumeTemplateId', 'required', 'on' => self::SCENARIO_GENERATE_RESUME_TEXT],
['resumeTemplateId', 'integer', 'on' => self::SCENARIO_GENERATE_RESUME_TEXT],
['resume_text', 'required', 'on' => self::SCENARIO_UPDATE_RESUME_TEXT],
]; ];
} }
@ -145,6 +154,8 @@ class UserCard extends \yii\db\ActiveRecord
'specification' => 'Спецификация', 'specification' => 'Спецификация',
'test_task_getting_date' => 'Дата получения тестового', 'test_task_getting_date' => 'Дата получения тестового',
'test_task_complete_date' => 'Дата выполнения тестового', 'test_task_complete_date' => 'Дата выполнения тестового',
'resumeTemplateId' => 'Шаблон резюме',
'resume_text' => 'Текст резюме'
]; ];
} }
@ -310,5 +321,4 @@ class UserCard extends \yii\db\ActiveRecord
return $userCard['id']; return $userCard['id'];
} }
} }

View File

@ -0,0 +1,32 @@
<?php
use yii\db\Migration;
/**
* Handles the creation of table `{{%resume_template}}`.
*/
class m221017_112513_create_resume_template_table extends Migration
{
/**
* {@inheritdoc}
*/
public function safeUp()
{
$this->createTable('{{%resume_template}}', [
'id' => $this->primaryKey(),
'title' => $this->string()->notNull(),
'created_at' => $this->dateTime(),
'updated_at' => $this->dateTime(),
'status' => $this->integer(2)->defaultValue(1),
'template_body' => $this->text(),
]);
}
/**
* {@inheritdoc}
*/
public function safeDown()
{
$this->dropTable('{{%resume_template}}');
}
}

View File

@ -0,0 +1,25 @@
<?php
use yii\db\Migration;
/**
* Handles adding columns to table `{{%user_card}}`.
*/
class m221101_133952_add_resume_text_column_to_user_card_table extends Migration
{
/**
* {@inheritdoc}
*/
public function safeUp()
{
$this->addColumn('user_card', 'resume_text', $this->text()->defaultValue(null));
}
/**
* {@inheritdoc}
*/
public function safeDown()
{
$this->dropColumn('user_card', 'resume_text');
}
}

View File

@ -97330,3 +97330,101 @@
127.0.0.1 - - [17/Mar/2022:14:34:36 +0300] "GET /api/user-questionnaire/get-points-number?user_questionnaire_uuid=d222f858-60fd-47fb-8731-dc9d5fc384c5 HTTP/1.1" 200 36 "-" "PostmanRuntime/7.28.4" 127.0.0.1 - - [17/Mar/2022:14:34:36 +0300] "GET /api/user-questionnaire/get-points-number?user_questionnaire_uuid=d222f858-60fd-47fb-8731-dc9d5fc384c5 HTTP/1.1" 200 36 "-" "PostmanRuntime/7.28.4"
127.0.0.1 - - [17/Mar/2022:14:34:46 +0300] "GET /api/user-questionnaire/get-question-number?user_questionnaire_uuid=d222f858-60fd-47fb-8731-dc9d5fc384c5 HTTP/1.1" 200 41 "-" "PostmanRuntime/7.28.4" 127.0.0.1 - - [17/Mar/2022:14:34:46 +0300] "GET /api/user-questionnaire/get-question-number?user_questionnaire_uuid=d222f858-60fd-47fb-8731-dc9d5fc384c5 HTTP/1.1" 200 41 "-" "PostmanRuntime/7.28.4"
127.0.0.1 - - [17/Mar/2022:14:40:27 +0300] "GET /api/user-questionnaire/questionnaires-list?user_id=1 HTTP/1.1" 200 1137 "-" "PostmanRuntime/7.28.4" 127.0.0.1 - - [17/Mar/2022:14:40:27 +0300] "GET /api/user-questionnaire/questionnaires-list?user_id=1 HTTP/1.1" 200 1137 "-" "PostmanRuntime/7.28.4"
127.0.0.1 - - [19/Oct/2022:14:27:47 +0300] "POST /api/user/login HTTP/1.1" 200 127 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:14:28:12 +0300] "GET /api/user-questionnaire/questionnaires-list?user_id=10 HTTP/1.1" 401 27483 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:14:28:23 +0300] "GET /api/user-questionnaire/questionnaires-list?user_id=10 HTTP/1.1" 404 168 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:14:34:09 +0300] "GET /api/user-questionnaire/questionnaires-list?user_id=10 HTTP/1.1" 404 168 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:14:34:49 +0300] "GET /api/profile/get-main-data?user_id=10 HTTP/1.1" 401 27483 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:14:35:15 +0300] "GET /api/profile/get-main-data?user_id=10 HTTP/1.1" 500 175 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:14:35:28 +0300] "GET /api/profile/get-main-data?user_id=10 HTTP/1.1" 500 171 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:14:36:33 +0300] "GET /api/profile/profile-with-report-permission?id=14 HTTP/1.1" 400 175 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:14:36:50 +0300] "GET /api/profile/profile-with-report-permission?id=14 HTTP/1.1" 400 171 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:14:42:50 +0300] "POST /api/profile/profile-with-report-permission?id=14 HTTP/1.1" 500 182 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:14:42:57 +0300] "GET /api/profile/profile-with-report-permission?id=14 HTTP/1.1" 500 182 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:14:44:40 +0300] "GET /api/profile/profile-with-report-permission?id=14 HTTP/1.1" 500 182 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:14:44:44 +0300] "POST /api/profile/profile-with-report-permission?id=14 HTTP/1.1" 500 182 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:14:44:53 +0300] "GET /api/user-questionnaire/questionnaires-list?user_id=10 HTTP/1.1" 404 168 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:14:44:57 +0300] "POST /api/user-questionnaire/questionnaires-list?user_id=10 HTTP/1.1" 405 235 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:14:47:55 +0300] "GET /api/user-questionnaire/questionnaire-completed?user_questionnaire_uuid=d222f858-60fd-47fb-8731-dc9d5fc384c5 HTTP/1.1" 401 27483 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:14:48:06 +0300] "GET /api/user-questionnaire/questionnaires-list?user_id=10 HTTP/1.1" 404 168 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:14:48:10 +0300] "GET /api/user-questionnaire/questionnaire-completed?user_questionnaire_uuid=d222f858-60fd-47fb-8731-dc9d5fc384c5 HTTP/1.1" 401 27483 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:14:48:14 +0300] "GET /api/user-questionnaire/questionnaire-completed?user_questionnaire_uuid=d222f858-60fd-47fb-8731-dc9d5fc384c5 HTTP/1.1" 404 185 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:14:48:56 +0300] "GET /api/user-questionnaire/get-points-number?user_questionnaire_uuid=d222f858-60fd-47fb-8731-dc9d5fc384c5 HTTP/1.1" 500 184 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:14:49:05 +0300] "POST /api/user-questionnaire/get-points-number?user_questionnaire_uuid=d222f858-60fd-47fb-8731-dc9d5fc384c5 HTTP/1.1" 405 235 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:14:49:15 +0300] "GET /api/user-questionnaire/get-question-number?user_questionnaire_uuid=d222f858-60fd-47fb-8731-dc9d5fc384c5 HTTP/1.1" 500 184 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:14:50:28 +0300] "GET /api/user-questionnaire/questionnaire-completed?user_questionnaire_uuid=d222f858-60fd-47fb-8731-dc9d5fc384c5 HTTP/1.1" 404 185 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:14:50:34 +0300] "GET /api/user-questionnaire/questionnaires-list?user_id=10 HTTP/1.1" 404 168 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:14:50:38 +0300] "GET /api/user-questionnaire/get-points-number?user_questionnaire_uuid=d222f858-60fd-47fb-8731-dc9d5fc384c5 HTTP/1.1" 500 184 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:14:50:50 +0300] "GET /api/user-questionnaire/get-points-number?user_questionnaire_uuid=d222f858-60fd-47fb-8731-dc9d5fc384c5 HTTP/1.1" 500 184 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:14:50:52 +0300] "GET /api/user-questionnaire/get-points-number?user_questionnaire_uuid=d222f858-60fd-47fb-8731-dc9d5fc384c5 HTTP/1.1" 500 184 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:14:52:58 +0300] "POST /api/user/login HTTP/1.1" 400 144 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:14:53:03 +0300] "POST /api/user/login HTTP/1.1" 400 188 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:14:53:17 +0300] "POST /api/user/login HTTP/1.1" 500 1411 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:14:54:37 +0300] "POST /api/user/login HTTP/1.1" 500 1265 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:14:55:16 +0300] "POST /api/user/login HTTP/1.1" 500 1139 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:14:55:35 +0300] "POST /api/user/login HTTP/1.1" 400 188 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:14:56:29 +0300] "POST /api/user/login HTTP/1.1" 500 1189 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:14:57:08 +0300] "POST /api/user/login HTTP/1.1" 500 1189 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:15:00:02 +0300] "POST /api/user/login HTTP/1.1" 500 1411 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:15:00:49 +0300] "POST /api/user/login HTTP/1.1" 400 188 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:15:00:54 +0300] "POST /api/user/login HTTP/1.1" 400 144 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:15:00:57 +0300] "POST /api/user/login HTTP/1.1" 400 188 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:15:01:02 +0300] "POST /api/user/login HTTP/1.1" 200 127 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:15:01:15 +0300] "POST /api/user/login HTTP/1.1" 400 144 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:15:02:35 +0300] "POST /api/user/login HTTP/1.1" 400 142 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:15:02:38 +0300] "POST /api/user/login HTTP/1.1" 400 142 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:15:02:40 +0300] "POST /api/user/login HTTP/1.1" 500 1189 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:15:04:58 +0300] "POST /api/user/login HTTP/1.1" 400 188 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:15:05:02 +0300] "POST /api/user/login HTTP/1.1" 200 127 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:15:05:13 +0300] "GET /api/profile/get-main-data?user_id=10 HTTP/1.1" 401 27483 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:15:05:17 +0300] "GET /api/profile/get-main-data?user_id=10 HTTP/1.1" 500 171 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:15:05:23 +0300] "POST /api/profile/get-main-data?user_id=10 HTTP/1.1" 500 171 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:15:05:54 +0300] "GET /api/profile/get-main-data?user_id=10 HTTP/1.1" 500 171 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:15:06:54 +0300] "GET /api/profile/get-main-data?user_id=10 HTTP/1.1" 500 171 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:15:06:59 +0300] "POST /api/profile/get-main-data?user_id=10 HTTP/1.1" 405 235 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:15:07:14 +0300] "GET /api/profile?id=1 HTTP/1.1" 401 27483 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:15:07:30 +0300] "GET /api/profile?id=1 HTTP/1.1" 401 27483 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:15:07:34 +0300] "POST /api/profile/profile-with-report-permission?id=14 HTTP/1.1" 401 27483 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:15:07:41 +0300] "POST /api/user/login HTTP/1.1" 200 127 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:15:07:52 +0300] "POST /api/profile/profile-with-report-permission?id=14 HTTP/1.1" 500 182 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:15:07:58 +0300] "GET /api/profile?id=1 HTTP/1.1" 200 14 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:15:08:08 +0300] "GET /api/profile/get-main-data?user_id=10 HTTP/1.1" 401 27483 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:15:08:15 +0300] "GET /api/profile/get-main-data?user_id=10 HTTP/1.1" 500 171 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:15:08:49 +0300] "GET /api/profile/get-main-data?user_id=10 HTTP/1.1" 500 171 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:15:08:52 +0300] "POST /api/profile/get-main-data?user_id=10 HTTP/1.1" 405 235 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:15:08:58 +0300] "POST /api/profile/profile-with-report-permission?id=14 HTTP/1.1" 500 182 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:15:09:04 +0300] "GET /api/profile?id=1 HTTP/1.1" 200 14 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:15:10:43 +0300] "GET /api/profile?id=1 HTTP/1.1" 200 14 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:15:10:59 +0300] "GET /api/profile?id=10 HTTP/1.1" 200 14 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:15:12:43 +0300] "GET /api/profile?id=10 HTTP/1.1" 200 14 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:15:12:44 +0300] "GET /api/profile?id=10 HTTP/1.1" 200 14 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:15:12:47 +0300] "GET /api/profile?id=1 HTTP/1.1" 200 14 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:15:12:48 +0300] "GET /api/profile?id=1 HTTP/1.1" 200 14 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:15:12:51 +0300] "GET /api/profile?id=1 HTTP/1.1" 200 14 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:15:12:52 +0300] "GET /api/profile?id=1 HTTP/1.1" 200 14 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:15:13:34 +0300] "GET /api/profile HTTP/1.1" 500 5077 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:15:14:10 +0300] "GET /api/profile?id=1 HTTP/1.1" 200 14 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:15:14:15 +0300] "GET /api/profile HTTP/1.1" 500 5077 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:15:15:29 +0300] "POST /api/profile/profile-with-report-permission?id=14 HTTP/1.1" 500 182 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:15:15:36 +0300] "GET /api/profile/get-main-data?user_id=10 HTTP/1.1" 500 171 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:15:15:40 +0300] "GET /api/profile HTTP/1.1" 500 5077 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:15:16:44 +0300] "GET /api/profile HTTP/1.1" 500 5077 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:15:19:50 +0300] "GET /api/profile?id=1 HTTP/1.1" 200 14 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:15:19:57 +0300] "GET /api/profile HTTP/1.1" 500 5077 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:15:20:10 +0300] "GET /api/profile HTTP/1.1" 200 12 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:15:20:34 +0300] "GET /api/profile?id=1 HTTP/1.1" 200 14 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:15:21:12 +0300] "GET /api/profile?id=1 HTTP/1.1" 200 14 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:15:21:13 +0300] "GET /api/profile?id=1 HTTP/1.1" 200 14 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:15:21:14 +0300] "GET /api/profile?id=1 HTTP/1.1" 200 14 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:15:21:16 +0300] "GET /api/profile?id=1 HTTP/1.1" 200 14 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:15:21:25 +0300] "GET /api/profile?id=1 HTTP/1.1" 200 14 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:15:22:39 +0300] "GET /api/profile?id=1 HTTP/1.1" 200 14 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:15:22:40 +0300] "GET /api/profile?id=1 HTTP/1.1" 200 14 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:15:22:41 +0300] "GET /api/profile?id=1 HTTP/1.1" 200 14 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:15:22:42 +0300] "GET /api/profile?id=1 HTTP/1.1" 200 14 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:15:22:43 +0300] "GET /api/profile?id=1 HTTP/1.1" 200 14 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:15:26:07 +0300] "GET /api/profile?id=1 HTTP/1.1" 404 157 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:15:26:23 +0300] "GET /api/profile?id=1 HTTP/1.1" 404 156 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:15:27:04 +0300] "GET /api/profile?id=1 HTTP/1.1" 404 156 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:15:27:11 +0300] "GET /api/profile/get-main-data?user_id=10 HTTP/1.1" 500 171 "-" "PostmanRuntime/7.29.2"
127.0.0.1 - - [19/Oct/2022:15:27:14 +0300] "POST /api/profile/profile-with-report-permission?id=14 HTTP/1.1" 500 182 "-" "PostmanRuntime/7.29.2"

View File

@ -15535,3 +15535,101 @@ Stack trace:
2022/03/17 14:34:36 [error] 831#831: *253 FastCGI sent in stderr: "PHP 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/user-questionnaire/get-points-number?user_questionnaire_uuid=d222f858-60fd-47fb-8731-dc9d5fc384c5 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc" 2022/03/17 14:34:36 [error] 831#831: *253 FastCGI sent in stderr: "PHP 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/user-questionnaire/get-points-number?user_questionnaire_uuid=d222f858-60fd-47fb-8731-dc9d5fc384c5 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/03/17 14:34:46 [error] 831#831: *253 FastCGI sent in stderr: "PHP 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/user-questionnaire/get-question-number?user_questionnaire_uuid=d222f858-60fd-47fb-8731-dc9d5fc384c5 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc" 2022/03/17 14:34:46 [error] 831#831: *253 FastCGI sent in stderr: "PHP 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/user-questionnaire/get-question-number?user_questionnaire_uuid=d222f858-60fd-47fb-8731-dc9d5fc384c5 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/03/17 14:40:27 [error] 831#831: *258 FastCGI sent in stderr: "PHP 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/user-questionnaire/questionnaires-list?user_id=1 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc" 2022/03/17 14:40:27 [error] 831#831: *258 FastCGI sent in stderr: "PHP 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/user-questionnaire/questionnaires-list?user_id=1 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 14:27:47 [error] 3293#3293: *1 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/user/login HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 14:28:12 [error] 3293#3293: *1 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/user-questionnaire/questionnaires-list?user_id=10 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 14:28:23 [error] 3293#3293: *1 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/user-questionnaire/questionnaires-list?user_id=10 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 14:34:09 [error] 3293#3293: *5 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/user-questionnaire/questionnaires-list?user_id=10 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 14:34:49 [error] 3293#3293: *5 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/profile/get-main-data?user_id=10 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 14:35:15 [error] 3293#3293: *5 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/profile/get-main-data?user_id=10 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 14:35:28 [error] 3293#3293: *5 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/profile/get-main-data?user_id=10 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 14:36:33 [error] 3293#3293: *5 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/profile/profile-with-report-permission?id=14 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 14:36:50 [error] 3293#3293: *5 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/profile/profile-with-report-permission?id=14 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 14:42:50 [error] 3293#3293: *12 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/profile/profile-with-report-permission?id=14 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 14:42:57 [error] 3293#3293: *12 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/profile/profile-with-report-permission?id=14 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 14:44:40 [error] 3293#3293: *15 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/profile/profile-with-report-permission?id=14 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 14:44:44 [error] 3293#3293: *15 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/profile/profile-with-report-permission?id=14 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 14:44:53 [error] 3293#3293: *15 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/user-questionnaire/questionnaires-list?user_id=10 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 14:44:57 [error] 3293#3293: *15 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/user-questionnaire/questionnaires-list?user_id=10 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 14:47:55 [error] 3293#3293: *20 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/user-questionnaire/questionnaire-completed?user_questionnaire_uuid=d222f858-60fd-47fb-8731-dc9d5fc384c5 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 14:48:06 [error] 3293#3293: *20 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/user-questionnaire/questionnaires-list?user_id=10 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 14:48:10 [error] 3293#3293: *20 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/user-questionnaire/questionnaire-completed?user_questionnaire_uuid=d222f858-60fd-47fb-8731-dc9d5fc384c5 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 14:48:14 [error] 3293#3293: *20 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/user-questionnaire/questionnaire-completed?user_questionnaire_uuid=d222f858-60fd-47fb-8731-dc9d5fc384c5 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 14:48:56 [error] 3293#3293: *20 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/user-questionnaire/get-points-number?user_questionnaire_uuid=d222f858-60fd-47fb-8731-dc9d5fc384c5 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 14:49:05 [error] 3293#3293: *20 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/user-questionnaire/get-points-number?user_questionnaire_uuid=d222f858-60fd-47fb-8731-dc9d5fc384c5 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 14:49:15 [error] 3293#3293: *20 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/user-questionnaire/get-question-number?user_questionnaire_uuid=d222f858-60fd-47fb-8731-dc9d5fc384c5 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 14:50:28 [error] 3293#3293: *20 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/user-questionnaire/questionnaire-completed?user_questionnaire_uuid=d222f858-60fd-47fb-8731-dc9d5fc384c5 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 14:50:34 [error] 3293#3293: *20 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/user-questionnaire/questionnaires-list?user_id=10 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 14:50:38 [error] 3293#3293: *20 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/user-questionnaire/get-points-number?user_questionnaire_uuid=d222f858-60fd-47fb-8731-dc9d5fc384c5 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 14:50:50 [error] 3293#3293: *20 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/user-questionnaire/get-points-number?user_questionnaire_uuid=d222f858-60fd-47fb-8731-dc9d5fc384c5 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 14:50:52 [error] 3293#3293: *20 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/user-questionnaire/get-points-number?user_questionnaire_uuid=d222f858-60fd-47fb-8731-dc9d5fc384c5 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 14:52:58 [error] 3293#3293: *33 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/user/login HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 14:53:03 [error] 3293#3293: *33 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/user/login HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 14:53:17 [error] 3293#3293: *33 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/user/login HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 14:54:37 [error] 3293#3293: *37 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/user/login HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 14:55:16 [error] 3293#3293: *37 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/user/login HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 14:55:35 [error] 3293#3293: *37 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/user/login HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 14:56:29 [error] 3293#3293: *37 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/user/login HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 14:57:08 [error] 3293#3293: *37 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/user/login HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 15:00:02 [error] 3293#3293: *43 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/user/login HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 15:00:49 [error] 3293#3293: *43 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/user/login HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 15:00:54 [error] 3293#3293: *43 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/user/login HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 15:00:57 [error] 3293#3293: *43 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/user/login HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 15:01:02 [error] 3293#3293: *43 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/user/login HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 15:01:15 [error] 3293#3293: *43 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/user/login HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 15:02:35 [error] 3293#3293: *50 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/user/login HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 15:02:38 [error] 3293#3293: *50 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/user/login HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 15:02:40 [error] 3293#3293: *50 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/user/login HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 15:04:58 [error] 3293#3293: *54 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/user/login HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 15:05:02 [error] 3293#3293: *54 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/user/login HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 15:05:13 [error] 3293#3293: *54 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/profile/get-main-data?user_id=10 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 15:05:17 [error] 3293#3293: *54 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/profile/get-main-data?user_id=10 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 15:05:23 [error] 3293#3293: *54 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/profile/get-main-data?user_id=10 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 15:05:54 [error] 3293#3293: *54 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/profile/get-main-data?user_id=10 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 15:06:54 [error] 3293#3293: *54 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/profile/get-main-data?user_id=10 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 15:06:59 [error] 3293#3293: *54 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/profile/get-main-data?user_id=10 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 15:07:14 [error] 3293#3293: *54 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/profile?id=1 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 15:07:30 [error] 3293#3293: *54 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/profile?id=1 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 15:07:34 [error] 3293#3293: *54 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/profile/profile-with-report-permission?id=14 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 15:07:41 [error] 3293#3293: *54 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/user/login HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 15:07:52 [error] 3293#3293: *54 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/profile/profile-with-report-permission?id=14 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 15:07:58 [error] 3293#3293: *54 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/profile?id=1 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 15:08:08 [error] 3293#3293: *54 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/profile/get-main-data?user_id=10 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 15:08:15 [error] 3293#3293: *54 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/profile/get-main-data?user_id=10 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 15:08:49 [error] 3293#3293: *54 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/profile/get-main-data?user_id=10 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 15:08:52 [error] 3293#3293: *54 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/profile/get-main-data?user_id=10 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 15:08:58 [error] 3293#3293: *54 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/profile/profile-with-report-permission?id=14 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 15:09:04 [error] 3293#3293: *54 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/profile?id=1 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 15:10:43 [error] 3293#3293: *75 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/profile?id=1 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 15:10:59 [error] 3293#3293: *75 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/profile?id=10 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 15:12:43 [error] 3293#3293: *78 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/profile?id=10 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 15:12:44 [error] 3293#3293: *78 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/profile?id=10 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 15:12:47 [error] 3293#3293: *78 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/profile?id=1 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 15:12:48 [error] 3293#3293: *78 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/profile?id=1 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 15:12:51 [error] 3293#3293: *78 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/profile?id=1 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 15:12:52 [error] 3293#3293: *78 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/profile?id=1 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 15:13:34 [error] 3293#3293: *78 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/profile HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 15:14:10 [error] 3293#3293: *78 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/profile?id=1 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 15:14:15 [error] 3293#3293: *78 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/profile HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 15:15:29 [error] 3293#3293: *78 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/profile/profile-with-report-permission?id=14 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 15:15:36 [error] 3293#3293: *78 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/profile/get-main-data?user_id=10 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 15:15:40 [error] 3293#3293: *78 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/profile HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 15:16:44 [error] 3293#3293: *78 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/profile HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 15:19:50 [error] 3293#3293: *92 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/profile?id=1 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 15:19:57 [error] 3293#3293: *92 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/profile HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 15:20:10 [error] 3293#3293: *92 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/profile HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 15:20:34 [error] 3293#3293: *92 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/profile?id=1 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 15:21:12 [error] 3293#3293: *92 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/profile?id=1 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 15:21:13 [error] 3293#3293: *92 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/profile?id=1 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 15:21:14 [error] 3293#3293: *92 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/profile?id=1 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 15:21:16 [error] 3293#3293: *92 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/profile?id=1 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 15:21:25 [error] 3293#3293: *92 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/profile?id=1 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 15:22:39 [error] 3293#3293: *92 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/profile?id=1 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 15:22:40 [error] 3293#3293: *92 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/profile?id=1 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 15:22:41 [error] 3293#3293: *92 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/profile?id=1 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 15:22:42 [error] 3293#3293: *92 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/profile?id=1 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 15:22:43 [error] 3293#3293: *92 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/profile?id=1 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 15:26:07 [error] 3293#3293: *107 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/profile?id=1 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 15:26:23 [error] 3293#3293: *107 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/profile?id=1 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 15:27:04 [error] 3293#3293: *107 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/profile?id=1 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 15:27:11 [error] 3293#3293: *107 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/profile/get-main-data?user_id=10 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
2022/10/19 15:27:14 [error] 3293#3293: *107 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "telegramBotToken" in /var/www/guild/frontend/config/main.php on line 102PHP message: PHP Warning: Undefined array key "telegramBotChatId" in /var/www/guild/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/profile/profile-with-report-permission?id=14 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"