Closed robertkendrick closed 2 years ago
I believe even ci4 doesn't support version 8.1.x at the moment. Bonfire2 "follows" him on this subject.
Yes, its runs better on PHP 7.4 with fewer problems. I'm sure it will just keep getting better and better. By the by, Github Codeigniter 4 says required PHP is 7.4 or higher. Github Bonfire2 says required PHP is same as Codeigniter 4.
My apologies. I don't checked before answer. You are right: https://github.com/codeigniter4/CodeIgniter4/pull/4883
I solved it this way:
$cookie = get_cookie('bf_consent');
if($cookie!=null) {
$permissions = json_decode($cookie, true);
}
Great work Lonnie PHP: 8.1.4 File: ConsentFilter.php
Presume just need to check for null and if so go straight to consent form