сервер ответил: <pre>Array
(
[2] => RedBeanPHP\OODBBean Object
(
[properties:protected] => Array
(
[id] => 2
[user] => koko234@mail.com
[friend] => lopolop2223@yandex.ru
)
[__info:protected] => Array
(
[type] => friends
[sys.id] => id
[sys.orig] => Array
(
[id] => 2
[user] => koko234@mail.com
[friend] => lopolop2223@yandex.ru
)
[tainted] =>
[changed] =>
[changelist] => Array
(
)
[model] =>
[data.bundle] => Array
(
)
)
[beanHelper:protected] => RedBeanPHP\BeanHelper\SimpleFacadeBeanHelper Object
(
)
[fetchType:protected] =>
[withSql:protected] =>
[withParams:protected] => Array
(
)
[aliasName:protected] =>
[via:protected] =>
[noLoad:protected] =>
[all:protected] =>
[castProperty:protected] =>
)
[3] => RedBeanPHP\OODBBean Object
(
[properties:protected] => Array
(
[id] => 3
[user] => koko234@mail.com
[friend] => aboba121@mail.com
)
[__info:protected] => Array
(
[type] => friends
[sys.id] => id
[sys.orig] => Array
(
[id] => 3
[user] => koko234@mail.com
[friend] => aboba121@mail.com
)
[tainted] =>
[changed] =>
[changelist] => Array
(
)
[model] =>
[data.bundle] => Array
(
)
)
[beanHelper:protected] => RedBeanPHP\BeanHelper\SimpleFacadeBeanHelper Object
(
)
[fetchType:protected] =>
[withSql:protected] =>
[withParams:protected] => Array
(
)
[aliasName:protected] =>
[via:protected] =>
[noLoad:protected] =>
[all:protected] =>
[castProperty:protected] =>
)
)
[SerializeField] private GameObject taskPrefab;
[SerializeField] private float indent;
[SerializeField] private float spawnPos;
[SerializeField] private GameObject tasksPanel;
public List<TaskInfo> tasks;
private byte _countCompleteTasks = 0;
private void Start()
{
RectTransform panel = tasksPanel.GetComponent<RectTransform>();
panel.sizeDelta = new Vector2(0, indent * tasks.Count);
for (int i = 0; i < tasks.Count; i++)
{
var task = Instantiate(taskPrefab,transform.position, Quaternion.identity,tasksPanel.transform);
task.transform.localPosition = new Vector3(0,spawnPos,0);
spawnPos -= indent;
var taskComponent = task.GetComponent<Task>();
taskComponent.taskName = tasks[i].taskName;
}
}
}
Stack trace:
#0 {main}
thrown in /var/www/biten_tech_usr/data/www/biten.tech/emailt.php on line 14" while reading response header from upstream, client: 87.201.97.180, server: biten.tech, request: "GET /emailt.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/biten.tech.sock:", host: "biten.tech"
2022/08/28 00:37:48 [error] 1267682#1267682: *49373 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 87.201.97.180, server: biten.tech, request: "GET /emailt.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/biten.tech.sock", host: "biten.tech"
2022/08/28 00:45:52 [error] 1267682#1267682: *49380 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 87.201.97.180, server: biten.tech, request: "GET /emailt.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/biten.tech.sock", host: "biten.tech"
2022/08/28 11:14:19 [error] 1267682#1267682: *49657 FastCGI sent in stderr: "PHP message: PHP Fatal error: Cannot use try without catch or finally in /var/www/biten_tech_usr/data/www/biten.tech/emailt.php on line 14" while reading response header from upstream, client: 87.201.97.180, server: biten.tech, request: "GET /emailt.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/biten.tech.sock:", host: "biten.tech"
2022/08/28 11:30:55 [error] 1267682#1267682: *49667 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 87.201.97.180, server: biten.tech, request: "GET /emailt.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/biten.tech.sock", host: "biten.tech"
в том плане если тут буду вопросы задавать, много кто шарит?