menu
#10626084 Undefined array key "TITANE"

Submitted by PocketMine-MP 5.13.0

General information

Version: 5.13.0
Git commit: f193a990
Plugin involvement: Indirect
Report date: 2024-04-03 06:07:41 +0000 UTC
Server uptime: 0 days 0 hours 0 minutes 2 seconds

System Information

PHP version: 8.2.13
JIT status: Not available
Operating system: linux
System banner: Linux b4f7ae84-d189-4ee7-8895-b9811f2b8ff3 5.15.0-100-generic #110-Ubuntu SMP Wed Feb 7 13:27:48 UTC 2024 x86_64

Error information

Warning: the EndioriteCoreV3.5 plugin was indirectly involved in this crash. This may be a false positive. Please contact the plugin author before opening a bug ticket.
Thread: Main
Message: Undefined array key "TITANE"
File: pmsrc/src/utils/LegacyEnumShimTrait
Line: #45
Type: ErrorException
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
trait LegacyEnumShimTrait{

/**
* @param mixed[] $arguments
*/
public static function __callStatic(string $name, array $arguments) : self{
if(count($arguments) > 0){
throw new \ArgumentCountError("Expected exactly 0 arguments, " . count($arguments) . " passed");
}
return self::getAll()[mb_strtoupper($name)];
}

/**
* Returns a list of all cases, indexed by name.
*
* @return self[]
* @phpstan-return array<string, self>
*/
public static function getAll() : array{
/** @var array<string, self>|null $result */
#0 pmsrc/src/utils/LegacyEnumShimTrait(45): pocketmine\errorhandler\ErrorToExceptionHandler::handle(int 2, string[28] Undefined array key "TITANE", string[75] phar:///home/container/PocketMine-MP.phar/src/utils/LegacyEnumShimTrait.php, int 45)
#1 plugins/EndioriteCoreV3.5-pm5/src/Endiorite/Items/Swords/Titane/TitaneSword(36): pocketmine\item\ToolTier::__callStatic(string[6] TITANE, array[0])
#2 plugins/Customies-master/src/item/CustomiesItemFactory(75): Endiorite\Items\Swords\Titane\TitaneSword->__construct(object pocketmine\item\ItemIdentifier#145756, string[12] Titane Sword)
#3 plugins/EndioriteCoreV3.5-pm5/src/Endiorite/Utils/Loader/Items(244): customiesdevs\customies\item\CustomiesItemFactory->registerItem(string[41] Endiorite\Items\Swords\Titane\TitaneSword, string[22] endiorite:titane_sword, string[12] Titane Sword)
#4 plugins/EndioriteCoreV3.5-pm5/src/Endiorite/Utils/Loader(71): Endiorite\Utils\Loader\Items::loadItems()
#5 plugins/EndioriteCoreV3.5-pm5/src/Endiorite/Main(95): Endiorite\Utils\Loader::loadItems()
#6 pmsrc/src/plugin/PluginBase(119): Endiorite\Main->onEnable()
#7 pmsrc/src/plugin/PluginManager(454): pocketmine\plugin\PluginBase->onEnableStateChange(true)
#8 pmsrc/src/Server(1404): pocketmine\plugin\PluginManager->enablePlugin(object Endiorite\Main#45494)
#9 pmsrc/src/Server(1035): pocketmine\Server->enablePlugins(object pocketmine\plugin\PluginEnableOrder#45267)
#10 pmsrc/src/PocketMine(350): pocketmine\Server->__construct(object pocketmine\thread\ThreadSafeClassLoader#6, object pocketmine\utils\MainLogger#3, string[16] /home/container/, string[24] /home/container/plugins/)
#11 pmsrc/src/PocketMine(373): pocketmine\server()
#12 pmsrc(11): require(string[60] phar:///home/container/PocketMine-MP.phar/src/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed Composer Dependencies

Installed PHP Extensions

  • Show