0

У меня выходит вот такая вот ошибка возможно связано с переходом на php 7.4.14, раньше все работало

2021/01/23 06:57:50 [error] 2824#2824: *1983 FastCGI sent in stderr: "PHP message: PHP Notice:  Trying to get property 'id' of non-object in 
/var/www/html/engine/classes/Main.class.php on line 110" while reading response header from upstream

Вот Main.class

$order = $this->order((int)$account->id);
1

1 ответ 1

0

Твой $account не объект , возможно там массив или null, если массив, используй $account['id']

Ваш ответ

By clicking “Отправить ответ”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Всё ещё ищете ответ? Посмотрите другие вопросы с метками или задайте свой вопрос.