1

Topic: Ошибки в шапке форума после перехода с php5.6 на php7.0

День добрый! Подскажите что делать? При переходе с php5.6 на php 7.0 в шапке форума, в самом верху, появляются такие предупреждения.

Spoiler
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; 
DBLayer has a deprecated constructor in /public_html/forum/include/dblayer/mysqli.php on line 16 
 Warning: session_cache_limiter(): Cannot change cache limiter when headers already sent in /public_html/forum/include/functions.php on line 47
 Warning: session_start(): Cannot start session when headers already sent in /public_html/forum/include/functions.php on line 63 
 Warning: session_regenerate_id(): Cannot regenerate session id - session is not active in /public_html/forum/include/functions.php on line 66
 Warning: Cannot modify header information - headers already sent by (output started at /public_html/forum/include/dblayer/mysqli.php:16) in /public_html/forum/include/functions.php on line 215 
 Warning: Cannot modify header information - headers already sent by (output started at /public_html/forum/include/dblayer/mysqli.php:16) in /public_html/forum/include/functions.php on line 218 
 Warning: Cannot modify header information - headers already sent by (output started at /public_html/forum/include/dblayer/mysqli.php:16) in /public_html/forum/header.php on line 16
 Warning: Cannot modify header information - headers already sent by (output started at /public_html/forum/include/dblayer/mysqli.php:16) in /public_html/forum/header.php on line 17 
 Warning: Cannot modify header information - headers already sent by (output started at /public_html/forum/include/dblayer/mysqli.php:16) in /public_html/forum/header.php on line 18
 Warning: Cannot modify header information - headers already sent by (output started at /public_html/forum/include/dblayer/mysqli.php:16) in /public_html/forum/header.php on line 19
 Warning: Cannot modify header information - headers already sent by (output started at /public_html/forum/include/dblayer/mysqli.php:16) in /public_html/forum/header.php on line 22

Так понимаю, что ошибки в файлах mysqli.php, include/functions.php, forum/header.php?
Приложил их в архиве. Помогите, пожалуйста  PunBB_INFO_ICQ/help
This content is available only to registered users.

2

Re: Ошибки в шапке форума после перехода с php5.6 на php7.0

@pervik, сам движок тоже обновлен?
https://punbb.softplaza.net/t-1250.html

1

3

Re: Ошибки в шапке форума после перехода с php5.6 на php7.0

@PunBB, спасибо, да сегодня после обновления движка переход на php7 прошел хорошо.
Обновлял недавно файлы, но видимо что то упустил из виду и из за этого ошибки полезли.
Извините за беспокойство PunBB_INFO_ICQ/smile