menu
#2580767 Undefined variable: thespawn

Submitted by PocketMine-MP 3.8.6

General information

Version: 3.8.6
Git commit: 1bfd6f2a
Plugin involvement: Direct
Report date: 2019-07-11 18:19:54 +0000 UTC

System Information

PHP version: 7.3.6
Operating system: linux
System banner: Linux ih1633776.vds.myihor.ru 4.15.0-38-generic #41-Ubuntu SMP Wed Oct 10 10:59:38 UTC 2018 x86_64

Error information

Warning: the GunWars plugin was directly involved in this crash. Please contact the plugin author.
Message: Undefined variable: thespawn
File: plugins/CS:GO.phar/src/gw/gw
Line: #920
Error level: ErrorException
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
                                                                        {
$thespawn = $config->get($arena . "Spawn1");
}
elseif($slots->get("slot16".$arena)==$pla->getName())
{
$thespawn = $config->get($arena . "Spawn2");
}


$spawn = new Position($thespawn[0]+0.5,$thespawn[1],$thespawn[2]+0.5,$levelArena);
$pla->teleport($spawn,0,0);
}
}


$config->set($arena . "StartTime", $timeToStart);
}
else
{
$colors = array();
#0 plugins/CS:GO.phar/src/gw/gw(920): pocketmine\utils\Utils::errorExceptionHandler(integer 8, string[28] Undefined variable: thespawn, string[54] phar:///root/myserver/plugins/CS:GO.phar/src/gw/gw.php, integer 920, array[11])
#1 src/pocketmine/scheduler/TaskHandler(159): gw\GameSender->onRun(integer 4841)
#2 src/pocketmine/scheduler/TaskScheduler(199): pocketmine\scheduler\TaskHandler->run(integer 4841)
#3 src/pocketmine/plugin/PluginManager(689): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 4841)
#4 src/pocketmine/Server(2569): pocketmine\plugin\PluginManager->tickSchedulers(integer 4841)
#5 src/pocketmine/Server(2345): pocketmine\Server->tick()
#6 src/pocketmine/Server(2205): pocketmine\Server->tickProcessor()
#7 src/pocketmine/Server(1784): pocketmine\Server->start()
#8 src/pocketmine/PocketMine(274): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[15] /root/myserver/, string[23] /root/myserver/plugins/)
#9 (1): require(string[70] phar:///root/myserver/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show