MyBB Community Forums

Full Version: Some people have error while using bankpipe
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey guys, people recently reported to me issue that says (link: forum/usercp.php?action=manage&env=bankpipe): "Fatal error: Uncaught Exception: You are not allowed to use this functionality. Please contact an administrator to ask for permissions. in path/bankpipe/Usercp/Manage.php:20 Stack trace: #0 path/bankpipe/Usercp/Usercp.php(34): BankPipe\Usercp\Manage->__construct() #1 path/inc/plugins/bankpipe.php(1005): BankPipe\Usercp\Usercp->__construct() #2 path/inc/class_plugins.php(142): bankpipe_panel() #3 path/usercp.php(70): pluginSystem->run_hooks() #4 {main} thrown in path/bankpipe/Usercp/Manage.php on line 20"

And i have checked whats on line 20 of bankpipe/Usercp.php
if (!$permissions->simpleCheck(['manage'])) {
  throw new \Exception($this->lang->bankpipe_error_functionality_not_allowed);
}
Im not sure where i should comment this error out (it works when i comment it but not sure if its required overall)

Any clue?