To fix the error "PHP Warning: A non-numeric value encountered in..." with PHP 7.1.26
admincp/arcade.php
Find:
Code:
if (substr($bbuserinfo['tzoffset'],1,0) == "+")
{
$temptime = $temptime + strval(substr($bbuserinfo['tzoffset'],1)) * 3600;
}
else
{
$temptime = $temptime - strval(substr($bbuserinfo['tzoffset'],1)) * 3600;
}
change to
Code:
if (substr($bbuserinfo['tzoffset'],1,0) == "+")
{
$temptime = $temptime + strval((int)substr($bbuserinfo['tzoffset'],1)) * 3600;
}
else
{
$temptime = $temptime - strval((int)substr($bbuserinfo['tzoffset'],1)) * 3600;
}