menu
#7034730 Undefined property: Drikk4798\MC24\RG\API\RG_Manager::$Main

Submitted by PocketMine-MP 4.4.2

General information

Version: 4.4.2
Git commit: bcb0e2ff
Plugin involvement: Direct
Report date: 2022-06-23 13:20:34 +0000 UTC
Server uptime: 0 days 0 hours 17 minutes 43 seconds

System Information

PHP version: 8.0.19
Operating system: linux
System banner: Linux 6d7940bb-49c3-4348-8be2-2546637711b2 4.19.0-18-amd64 #1 SMP Debian 4.19.208-1 (2021-09-29) x86_64

Error information

Warning: the MC24 plugin was directly involved in this crash. Please contact the plugin author.
Message: Undefined property: Drikk4798\MC24\RG\API\RG_Manager::$Main
File: plugins/MC24.phar/src/Drikk4798/MC24/RG/API/RG_Manager
Line: #368
Error level: ErrorException
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
            return;
}

$Cors = $RgInfo["Positions"];

$Pos = new Vector3($Cors["pos1"]["x"], "100", $Cors["pos1"]["z"]);

$Player->teleport($Pos);

$Player->sendMessage($this->Main::MainPrefix ."Телепортация к региону §a" . $RgName . "§r прошла успешно!");
}

public function do_RG_Members(Player $Player, string $RgName): void
{

$RgInfo = $this->API->SQL->RegInfo($RgName);

if ($RgInfo == null) {
$Player->sendMessage($this->Main::MainPrefix ."Регион §a" . $RgName . "§r не найден");
return;
#0 plugins/MC24.phar/src/Drikk4798/MC24/RG/API/RG_Manager(368): pocketmine\errorhandler\ErrorToExceptionHandler::handle(int 2, string[59] Undefined property: Drikk4798\MC24\RG\API\RG_Manager::$Main, string[81] phar:///home/container/plugins/MC24.phar/src/Drikk4798/MC24/RG/API/RG_Manager.ph, int 368)
#1 plugins/MC24.phar/src/Drikk4798/MC24/RG/Forms/Form_Card(139): Drikk4798\MC24\RG\API\RG_Manager->do_RG_TpTo(object pocketmine\player\Player#206315, string[22] ..l..........c(pvp)..r)
#2 plugins/MC24.phar/src/Drikk4798/MC24/RG/Forms/Form_Card(45): Drikk4798\MC24\RG\Forms\Form_Card->onResponse(object pocketmine\player\Player#206315, object FormAPI\elements\Button#204006)
#3 plugins/FormAPI.phar/src/FormAPI/window/SimpleWindowForm(92): Drikk4798\MC24\RG\Forms\Form_Card->Drikk4798\MC24\RG\Forms\{closure}(object pocketmine\player\Player#206315, object FormAPI\elements\Button#204006)
#4 pmsrc/src/player/Player(2011): FormAPI\window\SimpleWindowForm->handleResponse(object pocketmine\player\Player#206315, int 0)
#5 pmsrc/src/network/mcpe/handler/InGamePacketHandler(881): pocketmine\player\Player->onFormSubmit(int 2, int 0)
#6 pmsrc/vendor/pocketmine/bedrock-protocol/src/ModalFormResponsePacket(46): pocketmine\network\mcpe\handler\InGamePacketHandler->handleModalFormResponse(object pocketmine\network\mcpe\protocol\ModalFormResponsePacket#209650)
#7 pmsrc/src/network/mcpe/NetworkSession(388): pocketmine\network\mcpe\protocol\ModalFormResponsePacket->handle(object pocketmine\network\mcpe\handler\InGamePacketHandler#147632)
#8 pmsrc/src/network/mcpe/NetworkSession(351): pocketmine\network\mcpe\NetworkSession->handleDataPacket(object pocketmine\network\mcpe\protocol\ModalFormResponsePacket#209650, string[5] e..0.)
#9 pmsrc/src/network/mcpe/raklib/RakLibInterface(182): pocketmine\network\mcpe\NetworkSession->handleEncoded(string[8] cMeb2...)
#10 pmsrc/vendor/pocketmine/raklib-ipc/src/RakLibToUserThreadMessageReceiver(42): pocketmine\network\mcpe\raklib\RakLibInterface->onPacketReceive(int 1, string[17] .j6...i+.........)
#11 pmsrc/src/network/mcpe/raklib/RakLibInterface(112): raklib\server\ipc\RakLibToUserThreadMessageReceiver->handle(object pocketmine\network\mcpe\raklib\RakLibInterface#101821)
#12 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\raklib\RakLibInterface->pocketmine\network\mcpe\raklib\{closure}()
#13 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(82): pocketmine\snooze\SleeperHandler->processNotifications()
#14 pmsrc/src/Server(1703): pocketmine\snooze\SleeperHandler->sleepUntil(float 1655990433.9777)
#15 pmsrc/src/Server(1063): pocketmine\Server->tickProcessor()
#16 pmsrc/src/PocketMine(304): pocketmine\Server->__construct(object BaseClassLoader#2, object pocketmine\utils\MainLogger#3, string[16] /home/container/, string[24] /home/container/plugins/)
#17 pmsrc/src/PocketMine(327): pocketmine\server()
#18 pmsrc(11): require(string[60] phar:///home/container/PocketMine-MP.phar/src/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed PHP Extensions

  • Show