Same problem on my page also using PHP 7.1 latest version of bbPress and SSL with valid certificate and also use forced SSL over cloudflare hope there will be a fix soon.
EDIT: Downgrading to PHP 7.0 will solve the problem for now, but anyway I hope PHP 7.1 support will be there soon.