TorrentPier Cattle. Версия 2.4.0-beta1 🦊

belomaxorka

Разработчик
Администратор
TorrentPier Cattle. Версия 2.4.0-beta1

logos-hexagon-green&blue@0,5x.png

Ссылка:

Please Login or Register to view hidden text.



Чейнджлог:

Please Login or Register to view hidden text.



Основные изменения:
Для обновления на версию не нужно выполнять дополнительные запросы к базе данных.
 

nexo

Пользователь
После установки не могу создать новую тему, ошибка
Код:
Creation of dynamic property TorrentPier\Legacy\AttachPosting::$attachment_id_list is deprecated

/src/Legacy/Attach.php43

torrentpier/src/Legacy/Attach.php
 
 
42        $this->file_comment = get_var('filecomment', '');
43        $this->attachment_id_list = get_var('attach_id_list', [0]);
44       $this->attachment_comment_list = get_var('comment_list', ['']);
php 8.2 - nginx - Установил через composer
Причем терминал с ошибкой у всех пользователей вспльівает, а не только у админа, как в версии 2.3.0
 
Последнее редактирование:

nexo

Пользователь
php_whoops.log
Код:
Stack trace:
  1. Whoops\Exception\ErrorException->() /var/www/html/torrentpier/src/Legacy/Attach.php:43
  2. Whoops\Run->handleError() /var/www/html/torrentpier/src/Legacy/Attach.php:43
  3. TorrentPier\Legacy\Attach->__construct() /var/www/html/torrentpier/src/Legacy/AttachPosting.php:23
  4. TorrentPier\Legacy\AttachPosting->__construct() /var/www/html/torrentpier/library/attach_mod/posting_attachments.php:27
  5. execute_posting_attachment_handling() /var/www/html/torrentpier/posting.php:263
 [] []
 

belomaxorka

Разработчик
Администратор
После установки не могу создать новую тему, ошибка
Код:
Creation of dynamic property TorrentPier\Legacy\AttachPosting::$attachment_id_list is deprecated

/src/Legacy/Attach.php43

torrentpier/src/Legacy/Attach.php
 
 
42        $this->file_comment = get_var('filecomment', '');
43        $this->attachment_id_list = get_var('attach_id_list', [0]);
44       $this->attachment_comment_list = get_var('comment_list', ['']);
php 8.2 - nginx - Установил через composer
Причем терминал с ошибкой у всех пользователей вспльівает, а не только у админа, как в версии 2.3.0
Спасибо за отчёт. В качестве временного решения попробуйте запустить движок на PHP 8.1. Поддержка 8.2.0 пока что не полная
 

belomaxorka

Разработчик
Администратор
После установки не могу создать новую тему, ошибка
Код:
Creation of dynamic property TorrentPier\Legacy\AttachPosting::$attachment_id_list is deprecated

/src/Legacy/Attach.php43

torrentpier/src/Legacy/Attach.php
 
 
42        $this->file_comment = get_var('filecomment', '');
43        $this->attachment_id_list = get_var('attach_id_list', [0]);
44       $this->attachment_comment_list = get_var('comment_list', ['']);
php 8.2 - nginx - Установил через composer
Причем терминал с ошибкой у всех пользователей вспльівает, а не только у админа, как в версии 2.3.0
Да, начиная с этой версии ошибка при включенном дебаге будет появляться у всех пользователей.

Настраивается дебаг в .env, переменная APP_ENV.

Так же в defines.php всё что ниже
PHP:
// Debug
 
Последнее редактирование:
Сверху