menu
#3547915 Undefined index: alread-banned

Submitted by PocketMine-MP 3.11.1

General information

Version: 3.11.1
Git commit: 40a2211a
Plugin involvement: Direct
Report date: 2020-01-13 21:06:06 +0000 UTC

System Information

PHP version: 7.3.11
Operating system: linux
System banner: Linux vps762879 4.15.0-72-generic #81-Ubuntu SMP Tue Nov 26 12:20:02 UTC 2019 x86_64

Error information

Warning: the cucumber plugin was directly involved in this crash. Please contact the plugin author.
Message: Undefined index: alread-banned
File: plugins/cucumber.phar/src/adeynes/cucumber/mod/PunishmentManager
Line: #274
Error level: ErrorException
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
    {
if (is_null($reason)) {
$reason = $this->getPlugin()->getMessage('moderation.ban.default-reason');
}
if (is_null($expiration)) {
$expiration = 0x7FFFFFFF;
}

if ($this->getBan($name) && !$override) {
throw new CucumberException($this->messages['ban']['alread-banned'], ['player' => $name]);
}

$ban = new Ban($name, $reason, $expiration, $moderator);
$this->bans[$name] = $ban;
$this->getPlugin()->getConnector()->executeInsert(Queries::CUCUMBER_PUNISH_BAN, $ban->getData());

return $ban;
}

/**
#0 plugins/cucumber.phar/src/adeynes/cucumber/mod/PunishmentManager(274): pocketmine\utils\Utils::errorExceptionHandler(integer 8, string[30] Undefined index: alread-banned, string[95] phar:///home/host/skyblock/plugins/cucumber.phar/src/adeynes/cucumber/mod/Punish, integer 274, array[5])
#1 plugins/cucumber.phar/src/adeynes/cucumber/command/BanCommand(40): adeynes\cucumber\mod\PunishmentManager->ban(string[15] caninespider181, string[40] You have broken the rules of this server, integer 2147483647, string[11] matt14young)
#2 plugins/cucumber.phar/src/adeynes/cucumber/command/CucumberCommand(45): adeynes\cucumber\command\BanCommand->adeynes\cucumber\command\{closure}(array[1])
#3 plugins/cucumber.phar/src/adeynes/cucumber/libs/poggit/libasynql/base/DataConnectorImpl(130): adeynes\cucumber\command\CucumberCommand->adeynes\cucumber\command\{closure}(array[1], array[5])
#4 plugins/cucumber.phar/src/adeynes/cucumber/libs/poggit/libasynql/base/DataConnectorImpl(143): adeynes\cucumber\libs\poggit\libasynql\base\DataConnectorImpl->adeynes\cucumber\libs\poggit\libasynql\base\{closure}(object adeynes\cucumber\libs\poggit\libasynql\result\SqlSelectResult)
#5 plugins/cucumber.phar/src/adeynes/cucumber/libs/poggit/libasynql/base/SqlThreadPool(91): adeynes\cucumber\libs\poggit\libasynql\base\DataConnectorImpl->adeynes\cucumber\libs\poggit\libasynql\base\{closure}(object adeynes\cucumber\libs\poggit\libasynql\result\SqlSelectResult)
#6 plugins/cucumber.phar/src/adeynes/cucumber/libs/poggit/libasynql/base/DataConnectorImpl(227): adeynes\cucumber\libs\poggit\libasynql\base\SqlThreadPool->readResults(array[1])
#7 plugins/cucumber.phar/src/adeynes/cucumber/libs/poggit/libasynql/CallbackTask(36): adeynes\cucumber\libs\poggit\libasynql\base\DataConnectorImpl->checkResults()
#8 src/pocketmine/scheduler/TaskHandler(159): adeynes\cucumber\libs\poggit\libasynql\CallbackTask->onRun(integer 53830)
#9 src/pocketmine/scheduler/TaskScheduler(199): pocketmine\scheduler\TaskHandler->run(integer 53830)
#10 src/pocketmine/plugin/PluginManager(682): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 53830)
#11 src/pocketmine/Server(2567): pocketmine\plugin\PluginManager->tickSchedulers(integer 53830)
#12 src/pocketmine/Server(2343): pocketmine\Server->tick()
#13 src/pocketmine/Server(2203): pocketmine\Server->tickProcessor()
#14 src/pocketmine/Server(1785): pocketmine\Server->start()
#15 src/pocketmine/PocketMine(272): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[20] /home/host/skyblock/, string[28] /home/host/skyblock/plugins/)
#16 src/pocketmine/PocketMine(295): pocketmine\server()
#17 (1): require(string[75] phar:///home/host/skyblock/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show