menu
#3548488 Call to undefined method FactionsPro\FactionMain::getFactionPower()

Submitted by PocketMine-MP 3.11.3

General information

Version: 3.11.3
Git commit: 0d5704b1
Plugin involvement: Indirect
Report date: 2020-01-13 23:14:29 +0000 UTC

System Information

PHP version: 7.3.7
Operating system: linux
System banner: Linux 082e24043b2e 4.15.0-55-generic #60-Ubuntu SMP Tue Jul 2 18:22:20 UTC 2019 x86_64

Error information

Warning: the ScoreHud plugin was indirectly involved in this crash. This may be a false positive. Please contact the plugin author before opening a bug ticket.
Message: Call to undefined method FactionsPro\FactionMain::getFactionPower()
File: /home/gs-41773/plugin_data/ScoreHud/addons/FactionsProAddon
Line: #64
Error level: Error
55
56
57
58
59
60
61
62
63
64
65
66
67
		 */
public function getFactionPower(Player $player){
$factionsPro = $this->factionsPro;
$factionName = $factionsPro->getPlayerFaction($player->getName());

if($factionName === null){
return "No Faction";
}

return $factionsPro->getFactionPower($factionName);
}
}
}
#0 /home/gs-41773/plugin_data/ScoreHud/addons/FactionsProAddon(33): JackMD\ScoreHud\Addons\FactionsProAddon->getFactionPower(object pocketmine\Player)
#1 plugins/ScoreHud.phar/src/JackMD/ScoreHud/ScoreHud(229): JackMD\ScoreHud\Addons\FactionsProAddon->getProcessedTags(object pocketmine\Player)
#2 plugins/ScoreHud.phar/src/JackMD/ScoreHud/ScoreHud(264): JackMD\ScoreHud\ScoreHud->process(object pocketmine\Player, string[26] ..aPlayer: {display_name})
#3 plugins/ScoreHud.phar/src/JackMD/ScoreHud/ScoreHud(208): JackMD\ScoreHud\ScoreHud->displayDefaultScoreboard(object pocketmine\Player)
#4 plugins/ScoreHud.phar/src/JackMD/ScoreHud/ScoreHud(171): JackMD\ScoreHud\ScoreHud->updateScore(object pocketmine\Player)
#5 plugins/ScoreHud.phar/src/JackMD/ScoreHud/task/ScoreUpdateTask(77): JackMD\ScoreHud\ScoreHud->addScore(object pocketmine\Player, string[24] ..l..aVanilla..dFactions)
#6 src/pocketmine/scheduler/TaskHandler(159): JackMD\ScoreHud\task\ScoreUpdateTask->onRun(integer 42766)
#7 src/pocketmine/scheduler/TaskScheduler(199): pocketmine\scheduler\TaskHandler->run(integer 42766)
#8 src/pocketmine/plugin/PluginManager(682): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 42766)
#9 src/pocketmine/Server(2570): pocketmine\plugin\PluginManager->tickSchedulers(integer 42766)
#10 src/pocketmine/Server(2346): pocketmine\Server->tick()
#11 src/pocketmine/Server(2203): pocketmine\Server->tickProcessor()
#12 src/pocketmine/Server(1785): pocketmine\Server->start()
#13 src/pocketmine/PocketMine(268): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[15] /home/gs-41773/, string[23] /home/gs-41773/plugins/)
#14 src/pocketmine/PocketMine(291): pocketmine\server()
#15 (1): require(string[94] phar:///pro/bin/mcpe/pocketmine-stable-1.14.0/PocketMine-MP.phar/src/pocketmine/)

Loaded Plugins

  • Show

Server Settings

  • Show