menu
#4530716 Undefined variable: t2

Submitted by PocketMine-MP 3.15.1

General information

Version: 3.15.1
Git commit: 9f604842
Plugin involvement: Direct
Report date: 2020-09-15 23:15:54 +0000 UTC

System Information

PHP version: 7.3.22
Operating system: linux
System banner: Linux fbc1e458-fe43-4fba-9635-76b0ec3749c5 3.10.0-1127.19.1.el7.x86_64 #1 SMP Tue Aug 25 17:23:54 UTC 2020 x86_64

Error information

Warning: the EconomyAPI plugin was directly involved in this crash. Please contact the plugin author.
Message: Undefined variable: t2
File: plugins/EconomyAPI_v1.0.0.phar/src/onebone/economyapi/EconomyAPI
Line: #300
Error level: ErrorException
291
292
293
294
295
296
297
298
299
300
301
302
303
304
		if($old_magnata == "ninguem"){
$this->plugin->magnata["player"] = $t1;
return true;
}
if($old_magnata == $t1){
return true;
}
$this->plugin->magnata["player"] = $t1;
$this->plugin->getServer()->broadcastMessage(" ");
$this->plugin->getServer()->broadcastMessage("§r§e Os 3 jogadores:\n §a{$this->plugin->nick->get($t1)}§r\n §a{$this->plugin->nick->get($t2)}§r\n §a{$this->plugin->nick->get($t3)}§r§e são os novos magnatas do servidor§r");
$this->plugin->getServer()->broadcastMessage(" ");
}
}

#0 plugins/EconomyAPI_v1.0.0.phar/src/onebone/economyapi/EconomyAPI(300): pocketmine\utils\Utils::errorExceptionHandler(integer 8, string[22] Undefined variable: t2, string[91] phar:///home/container/plugins/EconomyAPI_v1.0.0.phar/src/onebone/economyapi/Eco, integer 300, array[3])
#1 src/pocketmine/scheduler/TaskHandler(137): onebone\economyapi\Magnata->onRun(integer 801)
#2 src/pocketmine/scheduler/TaskScheduler(179): pocketmine\scheduler\TaskHandler->run(integer 801)
#3 src/pocketmine/plugin/PluginManager(654): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 801)
#4 src/pocketmine/Server(2391): pocketmine\plugin\PluginManager->tickSchedulers(integer 801)
#5 src/pocketmine/Server(2154): pocketmine\Server->tick()
#6 src/pocketmine/Server(1994): pocketmine\Server->tickProcessor()
#7 src/pocketmine/Server(1588): pocketmine\Server->start()
#8 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/container/, string[24] /home/container/plugins/)
#9 src/pocketmine/PocketMine(304): pocketmine\server()
#10 (11): require(string[71] phar:///home/container/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed Composer Dependencies