Topic: Errors with PHP 7.0

Hello, when i switch from php 5.6 to php 7.0 i get these errors on the top of the forum :
"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 /xxx.com/punbb/include/dblayer/mysqli.php on line 16 Warning: Cannot modify header information - headers already sent by (output started at /xxx.com/punbb/include/dblayer/mysqli.php:16) in /xxx.com/punbb/header.php on line 16 Warning: Cannot modify header information - headers already sent by (output started at /xxx.com/punbb/include/dblayer/mysqli.php:16) in /xxx.com/punbb/header.php on line 17 Warning: Cannot modify header information - headers already sent by (output started at /xxx.com/punbb/include/dblayer/mysqli.php:16) in /xxx.com/punbb/header.php on line 18 Warning: Cannot modify header information - headers already sent by (output started at /xxx.com/punbb/include/dblayer/mysqli.php:16) in /xxx.com/punbb/header.php on line 19 Warning: Cannot modify header information - headers already sent by (output started at /xxx.com/punbb/include/dblayer/mysqli.php:16) in /xxx.com/punbb/header.php on line 22"

and at the beginning of the topics list in a forum, these errors :
"Warning: gmdate() expects parameter 2 to be integer, float given in /xxx.com/punbb/include/functions.php on line 453 Warning: gmdate() expects parameter 2 to be integer, float given in /xxx.com/punbb/include/functions.php on line 457 Warning: gmdate() expects parameter 2 to be integer, float given in /xxx.com/punbb/include/functions.php on line 472"

These errors will be fixed in the next version ? Anyway to fix it ?
Thanks,

Pierre

Re: Errors with PHP 7.0

http://punbb.ru/post46186.html#p46186

Parserus - BBCode parser
I speak only Russian  :P

3 (edited by susanalbert247 2016-11-16 07:33)

Re: Errors with PHP 7.0

i am getting same kind of error and don't know how to fix it!
Fordyce

Re: Errors with PHP 7.0

Maybe you could find here is the soluce in English : http://punbb.informer.com/forums/post/155990/#p155990

Re: Errors with PHP 7.0

Thanks MaraKat, it works fine with php 7.1 now smile