menu
#5776994 Uninitialized string offset 0

Submitted by PocketMine-MP 4.0.6

General information

Version: 4.0.6
Git commit: f7d25f25
Plugin involvement: Direct
Report date: 2022-01-14 21:20:47 +0000 UTC
Server uptime: 0 days 0 hours 10 minutes 38 seconds

System Information

PHP version: 8.0.13
Operating system: linux
System banner: Linux 2097ad6d83b2 5.4.0-77-generic #86-Ubuntu SMP Thu Jun 17 02:35:03 UTC 2021 x86_64

Error information

Warning: the JailMate plugin was directly involved in this crash. Please contact the plugin author.
Message: Uninitialized string offset 0
File: plugins/JailMate.phar/src/J0k3rrWild/JailMate/Main
Line: #72
Error level: ErrorException
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82

}

public function onCommandJailed(PlayerCommandPreprocessEvent $e){
if(in_array($e->getPlayer()->getName(), $this->deco)){
$e->getPlayer()->sendMessage(TF::RED."[JailMate] > You cannot use commands during questioning");
$command = explode(" ", strtolower($e->getMessage()));
$this->acronym = "";
foreach ($command as $w) {
$this->acronym .= $w[0];

}

if($this->acronym === "/"){
$e->cancel();
}
}
}

public function RageQuitBan(PlayerQuitEvent $e){
#0 plugins/JailMate.phar/src/J0k3rrWild/JailMate/Main(72): pocketmine\errorhandler\ErrorToExceptionHandler::handle(integer 2, string[29] Uninitialized string offset 0, string[69] phar:///server/plugins/JailMate.phar/src/J0k3rrWild/JailMate/Main.php, integer 72)
#1 pmsrc/src/event/RegisteredListener(75): J0k3rrWild\JailMate\Main->onCommandJailed(object pocketmine\event\player\PlayerCommandPreprocessEvent#114561)
#2 pmsrc/src/event/Event(62): pocketmine\event\RegisteredListener->callEvent(object pocketmine\event\player\PlayerCommandPreprocessEvent#114561)
#3 pmsrc/src/player/Player(1334): pocketmine\event\Event->call()
#4 pmsrc/src/network/mcpe/handler/InGamePacketHandler(155): pocketmine\player\Player->chat(string[2] f)
#5 pmsrc/vendor/pocketmine/bedrock-protocol/src/TextPacket(176): pocketmine\network\mcpe\handler\InGamePacketHandler->handleText(object pocketmine\network\mcpe\protocol\TextPacket#128268)
#6 pmsrc/src/network/mcpe/NetworkSession(395): pocketmine\network\mcpe\protocol\TextPacket->handle(object pocketmine\network\mcpe\handler\InGamePacketHandler#94802)
#7 pmsrc/src/network/mcpe/NetworkSession(358): pocketmine\network\mcpe\NetworkSession->handleDataPacket(object pocketmine\network\mcpe\protocol\TextPacket#128268, string[36] ....CJWsniper09. f.2535413609293524.)
#8 pmsrc/src/network/mcpe/raklib/RakLibInterface(192): pocketmine\network\mcpe\NetworkSession->handleEncoded(string[39] S.dd.v../..,H-2.dRH.025651463.4.4652a..)
#9 pmsrc/vendor/pocketmine/raklib-ipc/src/RakLibToUserThreadMessageReceiver(42): pocketmine\network\mcpe\raklib\RakLibInterface->onPacketReceive(integer 2, string[48] .i..A....^I.g....*.....[..Wp!....~.S....3..w=u59)
#10 pmsrc/src/network/mcpe/raklib/RakLibInterface(122): raklib\server\ipc\RakLibToUserThreadMessageReceiver->handle(object pocketmine\network\mcpe\raklib\RakLibInterface#23676)
#11 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\raklib\RakLibInterface->pocketmine\network\mcpe\raklib\{closure}()
#12 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(82): pocketmine\snooze\SleeperHandler->processNotifications()
#13 pmsrc/src/Server(1657): pocketmine\snooze\SleeperHandler->sleepUntil(double 1642195247.3318)
#14 pmsrc/src/Server(1044): pocketmine\Server->tickProcessor()
#15 pmsrc/src/PocketMine(303): pocketmine\Server->__construct(object BaseClassLoader#3, object pocketmine\utils\MainLogger#2, string[8] /server/, string[16] /server/plugins/)
#16 pmsrc/src/PocketMine(326): pocketmine\server()
#17 pmsrc(11): require(string[45] phar:///server/server.phar/src/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed PHP Extensions

  • Show