menu
#4220165 Undefined offset: 0

Submitted by PocketMine-MP 3.12.2

General information

Version: 3.12.2
Git commit: 9b6b3f50
Plugin involvement: Direct
Report date: 2020-05-23 03:42:16 +0000 UTC

System Information

PHP version: 7.3.14
Operating system: win
System banner: Windows NT DESKTOP-N02209I 10.0 build 18363 (Windows 10) AMD64

Error information

Warning: the CustomQuery plugin was directly involved in this crash. Please contact the plugin author.
Message: Undefined offset: 0
File: plugins/CustomQuery.phar/src/CustomQuery/iZeaoGamer/commands/CustomQueryCommand
Line: #34
Error level: ErrorException
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
        $sender->sendMessage(TextFormat::colorize("&cYou don't have permission to use this command."));
return false;
}
}
if(!isset($args[0])){
$sender->sendMessage(TextFormat::colorize("&aUsage incorrect. Please use: &b/$label <setting> <value>"));
return true;
}
}
if($args[0] === null){
$sender->sendMessage(TextFormat::colorize("&cInvalid setting &4" . $args[0] . "&c Type: /$label help for a list of helpful commands."));
return true;
}
if($args[0] === "help"){
$sender->sendMessage(TextFormat::colorize("&aHelp page:"));
$sender->sendMessage(TextFormat::colorize("&b/$label reload &7- Reload config."));
$sender->sendMessage(TextFormat::colorize("&b/$label <settings> <value> &7- Setting the config options."));//to-do see if we should add all command arguments to /customquery help.
return true;
}
if($args[0] === "reload"){
#0 plugins/CustomQuery.phar/src/CustomQuery/iZeaoGamer/commands/CustomQueryCommand(34): pocketmine\utils\Utils::errorExceptionHandler(integer 8, string[19] Undefined offset: 0, string[128] phar://C:/Users/ZaeLoki/Documents/pocketmine/plugins/CustomQuery.phar/src/Custom, integer 34, array[4])
#1 src/pocketmine/command/SimpleCommandMap(248): CustomQuery\iZeaoGamer\commands\CustomQueryCommand->execute(object pocketmine\command\ConsoleCommandSender, string[5] query, array[0])
#2 src/pocketmine/Server(1807): pocketmine\command\SimpleCommandMap->dispatch(object pocketmine\command\ConsoleCommandSender, string[5] query)
#3 src/pocketmine/Server(1419): pocketmine\Server->dispatchCommand(object pocketmine\command\ConsoleCommandSender, string[5] query)
#4 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\Server->pocketmine\{closure}()
#5 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications()
#6 src/pocketmine/Server(2146): pocketmine\snooze\SleeperHandler->sleepUntil(double 1590205335.9548)
#7 src/pocketmine/Server(1990): pocketmine\Server->tickProcessor()
#8 src/pocketmine/Server(1584): pocketmine\Server->start()
#9 src/pocketmine/PocketMine(272): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[38] C:\Users\ZaeLoki\Documents\pocketmine\, string[46] C:\Users\ZaeLoki\Documents\pocketmine\plugins\)
#10 src/pocketmine/PocketMine(295): pocketmine\server()
#11 (11): require(string[93] phar://C:/Users/ZaeLoki/Documents/pocketmine/PocketMine-MP.phar/src/pocketmine/P)

Loaded Plugins

  • Show

Server Settings

  • Show