menu
#5777535 Undefined array key 2

Submitted by PocketMine-MP 4.0.6

General information

Version: 4.0.6
Git commit: f7d25f25
Plugin involvement: Direct
Report date: 2022-01-14 23:45:39 +0000 UTC
Server uptime: 0 days 0 hours 0 minutes 0 seconds

System Information

PHP version: 8.0.13
Operating system: win
System banner: Windows NT DESKTOP-FNP8K1D 10.0 build 22000 (Windows 10) AMD64

Error information

Warning: the NaviCompass plugin was directly involved in this crash. Please contact the plugin author.
Message: Undefined array key 2
File: plugins/NaviCompass.phar/src/Xenophilicy/NaviCompass/NaviCompass
Line: #134
Error level: ErrorException
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
        foreach(self::$settings["List"] as $target) {
unset($search);
$value = explode(":", $target);
$mode = strtolower($value[0]);
switch($mode) {
case "ext":
if (isset($value[4])) {
$search = $value[4];
}
$this->queryResults[$value[2] . ":" . $value[3]] = [];
$this->startQueryTask($value[2], (int)$value[3]);
break;
case "int":
case "wd":
if (isset($value[3])) {
$search = $value[3];
if (!isset($value[4]) || $value[4] === "") {
$this->getLogger()->warning("Invalid path/URL! Input: " . $value[1]);
continue 2;
}
#0 plugins/NaviCompass.phar/src/Xenophilicy/NaviCompass/NaviCompass(134): pocketmine\errorhandler\ErrorToExceptionHandler::handle(integer 2, string[21] Undefined array key 2, string[112] phar://C:/Users/schmi/Desktop/pocketmine mp/plugins/NaviCompass.phar/src/Xenophi, integer 134)
#1 pmsrc/src/plugin/PluginBase(137): Xenophilicy\NaviCompass\NaviCompass->onEnable()
#2 pmsrc/src/plugin/PluginManager(438): pocketmine\plugin\PluginBase->onEnableStateChange(true)
#3 pmsrc/src/Server(1383): pocketmine\plugin\PluginManager->enablePlugin(object Xenophilicy\NaviCompass\NaviCompass#23499)
#4 pmsrc/src/Server(1009): pocketmine\Server->enablePlugins(object pocketmine\plugin\PluginEnableOrder#23436)
#5 pmsrc/src/PocketMine(303): pocketmine\Server->__construct(object BaseClassLoader#2, object pocketmine\utils\MainLogger#3, string[37] C:\Users\schmi\Desktop\pocketmine mp\, string[45] C:\Users\schmi\Desktop\pocketmine mp\plugins\)
#6 pmsrc/src/PocketMine(326): pocketmine\server()
#7 pmsrc(11): require(string[81] phar://C:/Users/schmi/Desktop/pocketmine mp/PocketMine-MP.phar/src/PocketMine.ph)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed PHP Extensions

  • Show