Warning (2): Trying to access array offset on value of type bool [APP/Plugin/Forum/Controller/ForumAppController.php, line 112]Code Context if($role[$idForum] == 'everyone')
return true;
if(isset($role[$idForum][$viewer['Role']['id']]))
ForumAppController::permissionForum() - APP/Plugin/Forum/Controller/ForumAppController.php, line 112
ForumAppController::checkPermissionForum() - APP/Plugin/Forum/Controller/ForumAppController.php, line 42
ForumsController::view() - APP/Plugin/Forum/Controller/ForumsController.php, line 379
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 80
Warning (2): Trying to access array offset on value of type null [APP/Plugin/Forum/Controller/ForumAppController.php, line 112]Code Context if($role[$idForum] == 'everyone')
return true;
if(isset($role[$idForum][$viewer['Role']['id']]))
ForumAppController::permissionForum() - APP/Plugin/Forum/Controller/ForumAppController.php, line 112
ForumAppController::checkPermissionForum() - APP/Plugin/Forum/Controller/ForumAppController.php, line 42
ForumsController::view() - APP/Plugin/Forum/Controller/ForumsController.php, line 379
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 80