Since I have implemented this I get the following error on the popup where you click on the user's name
Code:
Error Info
ErrorException: Argument 1 passed to XenForo_Permission::hasPermission() must be of the type array, boolean given, called in /home/skyblues/public_html/library/NFLJ/Sportsbook/XenForo/ControllerPublic/Member.php on line 23 and defined - library/XenForo/Permission.php:27
Generated By: Cookie, 10 minutes ago
Stack Trace
#0 /home/skyblues/public_html/library/XenForo/Permission.php(27): XenForo_Application::handlePhpError(4096, 'Argument 1 pass...', '/home/skyblues/...', 27, Array)
#1 /home/skyblues/public_html/library/NFLJ/Sportsbook/XenForo/ControllerPublic/Member.php(23): XenForo_Permission::hasPermission(false, 'nfljsb', 'viewBettingExch...')
#2 /home/skyblues/public_html/library/XenForo/FrontController.php(351): NFLJ_Sportsbook_XenForo_ControllerPublic_Member->actionMember()
#3 /home/skyblues/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#4 /home/skyblues/public_html/index.php(13): XenForo_FrontController->run()
#5 {main}