menu
#7034507 jp\mcbe\fuyutsuki\Texter\data\FloatingTextData::getInstance(): Argument #1 ($key) must be of type string, int given, called in phar:///home/Handyserver/plugins/Texter (1).phar/src/jp/mcbe/fuyutsuki/Texter/data/OldFloatingTextData.php on line 49

Submitted by PocketMine-MP 4.5.1

General information

Version: 4.5.1
Git commit: d641812c
Plugin involvement: Direct
Report date: 2022-06-23 12:11:05 +0000 UTC
Server uptime: 0 days 0 hours 0 minutes 1 seconds

System Information

PHP version: 8.0.19
Operating system: linux
System banner: Linux 9199 4.15.0-187-generic #198-Ubuntu SMP Tue Jun 14 03:23:51 UTC 2022 x86_64

Error information

Warning: a plugin was directly involved in this crash. Please contact the plugin author.
Message: jp\mcbe\fuyutsuki\Texter\data\FloatingTextData::getInstance(): Argument #1 ($key) must be of type string, int given, called in phar:///home/Handyserver/plugins/Texter (1).phar/src/jp/mcbe/fuyutsuki/Texter/data/OldFloatingTextData.php on line 49
File: plugins/Texter (1).phar/src/jp/mcbe/fuyutsuki/Texter/util/StringArrayMultiton
Line: #16
Error level: TypeError
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
trait StringArrayMultiton {

/** @var static[] */
protected static array $instances = [];

final public function __construct(string $key) {
static::$instances[$key] = $this;
}

final public static function getInstance(string $key): ?static {
return static::$instances[$key] ?? null;
}

final public static function removeInstance(string $key): void {
unset(static::$instances[$key]);
}

}
#0 plugins/Texter (1).phar/src/jp/mcbe/fuyutsuki/Texter/data/OldFloatingTextData(49): jp\mcbe\fuyutsuki\Texter\data\FloatingTextData::getInstance(int 2)
#1 plugins/Texter (1).phar/src/jp/mcbe/fuyutsuki/Texter/Main(139): jp\mcbe\fuyutsuki\Texter\data\OldFloatingTextData->convert()
#2 plugins/Texter (1).phar/src/jp/mcbe/fuyutsuki/Texter/Main(67): jp\mcbe\fuyutsuki\Texter\Main->loadFloatingTexts()
#3 pmsrc/src/plugin/PluginBase(75): jp\mcbe\fuyutsuki\Texter\Main->onLoad()
#4 pmsrc/src/plugin/PluginManager(213): pocketmine\plugin\PluginBase->__construct(object pocketmine\plugin\PharPluginLoader#25724, object pocketmine\Server#10, object pocketmine\plugin\PluginDescription#25764, string[36] /home/Handyserver/plugin_data/Texter, string[48] phar:///home/Handyserver/plugins/Texter (1).phar, object pocketmine\plugin\DiskResourceProvider#28962)
#5 pmsrc/src/plugin/PluginManager(362): pocketmine\plugin\PluginManager->internalLoadPlugin(string[41] /home/Handyserver/plugins/Texter (1).phar, object pocketmine\plugin\PharPluginLoader#25724, object pocketmine\plugin\PluginDescription#25764)
#6 pmsrc/src/Server(1007): pocketmine\plugin\PluginManager->loadPlugins(string[26] /home/Handyserver/plugins/, int 65)
#7 pmsrc/src/PocketMine(304): pocketmine\Server->__construct(object BaseClassLoader#3, object pocketmine\utils\MainLogger#2, string[18] /home/Handyserver/, string[26] /home/Handyserver/plugins/)
#8 pmsrc/src/PocketMine(327): pocketmine\server()
#9 pmsrc(11): require(string[62] phar:///home/Handyserver/PocketMine-MP.phar/src/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed PHP Extensions

  • Show