menu
#2825314 Argument 1 passed to tokyo\pmmp\Texter\TexterApi::removeFtByLevelName() must be of the type string, object given

Submitted by PocketMine-MP 3.9.4

General information

Version: 3.9.4
Git commit: 1be6783c
Plugin involvement: Direct
Report date: 2019-09-11 17:54:50 +0000 UTC

System Information

PHP version: 7.3.8
Operating system: mac
System banner: Darwin Macs-MacBook-Pro.local 18.7.0 Darwin Kernel Version 18.7.0: Tue Aug 20 16:57:14 PDT 2019; root:xnu-4903.271.2~2/RELEASE_X86_64 x86_64

Error information

Warning: the Texter plugin was directly involved in this crash. Please contact the plugin author.
Message: Argument 1 passed to tokyo\pmmp\Texter\TexterApi::removeFtByLevelName() must be of the type string, object given
File: plugins/Texter.phar/src/tokyo/pmmp/Texter/TexterApi
Line: #207
Error level: TypeError
198
199
200
201
202
203
204
205
206
207
208
209
210
211
    }
return false;
}

/**
* @param string $levelName
* @param string $name
* @return bool
*/
public static function removeFtByLevelName(string $levelName, string $name): bool {
$level = Server::getInstance()->getLevelByName($levelName);
return isset($level) ? self::removeFtByLevel($level, $name) : false;
}
}
#0 plugins/BedWars-HiveMC/src/mlsdmitry/BedWars/Arena/Arena(111): tokyo\pmmp\Texter\TexterApi::removeFtByLevelName(object pocketmine\level\Level, string[10] generator3)
#1 plugins/BedWars-HiveMC/src/mlsdmitry/BedWars/Arena/ArenaEntity(84): mlsdmitry\BedWars\Arena\Arena->changeFTText(object pocketmine\level\Position, string[8] new text)
#2 plugins/BedWars-HiveMC/src/mlsdmitry/BedWars/Arena/Task/WaitTask(26): mlsdmitry\BedWars\Arena\ArenaEntity->startGame()
#3 src/pocketmine/scheduler/TaskHandler(159): mlsdmitry\BedWars\Arena\Task\WaitTask->onRun(integer 866)
#4 src/pocketmine/scheduler/TaskScheduler(199): pocketmine\scheduler\TaskHandler->run(integer 866)
#5 src/pocketmine/plugin/PluginManager(681): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 866)
#6 src/pocketmine/Server(2569): pocketmine\plugin\PluginManager->tickSchedulers(integer 866)
#7 src/pocketmine/Server(2345): pocketmine\Server->tick()
#8 src/pocketmine/Server(2205): pocketmine\Server->tickProcessor()
#9 src/pocketmine/Server(1784): pocketmine\Server->start()
#10 src/pocketmine/PocketMine(275): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[36] /Users/macuser/Documents/pocketmine/, string[44] /Users/macuser/Documents/pocketmine/plugins/)
#11 src/pocketmine/PocketMine(299): pocketmine\server()
#12 (1): require(string[91] phar:///Users/macuser/Documents/pocketmine/PocketMine-MP.phar/src/pocketmine/Poc)

Loaded Plugins

  • Show

Server Settings

  • Show