menu
#4583137 Undefined variable: olmbr

Submitted by PocketMine-MP 3.15.2

General information

Version: 3.15.2
Git commit: d7a66ad7
Plugin involvement: Indirect
Report date: 2020-10-17 19:50:57 +0000 UTC

System Information

PHP version: 7.3.14
Operating system: linux
System banner: Linux Shosting 4.15.0-118-generic #119-Ubuntu SMP Tue Sep 8 12:30:01 UTC 2020 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: Undefined variable: olmbr
File: /root/faction/plugin_data/ScoreHud/addons/PiggyFactionsAddon
Line: #74
Error level: ErrorException
65
66
67
68
69
70
71
72
73
74
75
76
77
		}

public function getRole(Player $player){
$target = $this->pf->getPlayerManager()->getPlayerByName($player->getName());
if($this->pf->getPlayerManager()->getPlayerFaction($player->getUniqueId()) === null){
$role = "§cNo Factions";
}else{
$role = "§a".$target->getRole();
}
return $olmbr;
}
}
}
#0 /root/faction/plugin_data/ScoreHud/addons/PiggyFactionsAddon(74): pocketmine\utils\Utils::errorExceptionHandler(integer 8, string[25] Undefined variable: olmbr, string[64] /root/faction/plugin_data/ScoreHud/addons/PiggyFactionsAddon.php, integer 74, array[3])
#1 /root/faction/plugin_data/ScoreHud/addons/PiggyFactionsAddon(35): JackMD\ScoreHud\Addons\PiggyFactionsAddon->getRole(object pocketmine\Player)
#2 plugins/ScoreHud_v5.0.0.phar/src/JackMD/ScoreHud/ScoreHud(247): JackMD\ScoreHud\Addons\PiggyFactionsAddon->getProcessedTags(object pocketmine\Player)
#3 plugins/ScoreHud_v5.0.0.phar/src/JackMD/ScoreHud/ScoreHud(233): JackMD\ScoreHud\ScoreHud->process(object pocketmine\Player, string[8] ..a ..b)
#4 plugins/ScoreHud_v5.0.0.phar/src/JackMD/ScoreHud/ScoreHud(208): JackMD\ScoreHud\ScoreHud->displayDefaultScoreboard(object pocketmine\Player)
#5 plugins/ScoreHud_v5.0.0.phar/src/JackMD/ScoreHud/ScoreHud(171): JackMD\ScoreHud\ScoreHud->updateScore(object pocketmine\Player)
#6 plugins/ScoreHud_v5.0.0.phar/src/JackMD/ScoreHud/task/ScoreUpdateTask(77): JackMD\ScoreHud\ScoreHud->addScore(object pocketmine\Player, string[26] ..cIndo..fCraft ..6Faction)
#7 src/pocketmine/scheduler/TaskHandler(137): JackMD\ScoreHud\task\ScoreUpdateTask->onRun(integer 1561)
#8 src/pocketmine/scheduler/TaskScheduler(179): pocketmine\scheduler\TaskHandler->run(integer 1561)
#9 src/pocketmine/plugin/PluginManager(654): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 1561)
#10 src/pocketmine/Server(2391): pocketmine\plugin\PluginManager->tickSchedulers(integer 1561)
#11 src/pocketmine/Server(2154): pocketmine\Server->tick()
#12 src/pocketmine/Server(1994): pocketmine\Server->tickProcessor()
#13 src/pocketmine/Server(1588): pocketmine\Server->start()
#14 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[14] /root/faction/, string[22] /root/faction/plugins/)
#15 src/pocketmine/PocketMine(304): pocketmine\server()
#16 (11): require(string[69] phar:///root/faction/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed Composer Dependencies