menu
#9719011 Class RevXZ\CustomArmor\ScubaHelmet does not exist or is not a class

Submitted by PocketMine-MP 5.8.2

General information

Version: 5.8.2
Git commit: c3c81b09
Plugin involvement: Indirect
Report date: 2023-12-03 06:24:18 +0000 UTC
Server uptime: 0 days 0 hours 0 minutes 0 seconds

System Information

PHP version: 8.1.26
JIT status: Not available
Operating system: linux
System banner: Linux d36cbbf2-07af-4a9f-b830-fab807b86e85 5.15.0-1050-azure #57~20.04.1-Ubuntu SMP Wed Oct 4 17:09:16 UTC 2023 x86_64

Error information

Warning: the Customies 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: Class RevXZ\CustomArmor\ScubaHelmet does not exist or is not a class
File: pmsrc/src/utils/Utils
Line: #547
Type: InvalidArgumentException
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
	public static function testValidInstance(string $className, string $baseName) : void{
$baseInterface = false;
if(!class_exists($baseName)){
if(!interface_exists($baseName)){
throw new \InvalidArgumentException("Base class $baseName does not exist");
}
$baseInterface = true;
}
if(!class_exists($className)){
throw new \InvalidArgumentException("Class $className does not exist or is not a class");
}
if(!is_a($className, $baseName, true)){
throw new \InvalidArgumentException("Class $className does not " . ($baseInterface ? "implement" : "extend") . " $baseName");
}
$class = new \ReflectionClass($className);
if(!$class->isInstantiable()){
throw new \InvalidArgumentException("Class $className cannot be constructed");
}
}

#0 plugins/Customies.phar/src/item/CustomiesItemFactory(71): pocketmine\utils\Utils::testValidInstance(string[29] RevXZ\CustomArmor\ScubaHelmet, string[20] pocketmine\item\Item)
#1 plugins/CustomArmor+/src/RevXZ/CustomArmor/Main(21): customiesdevs\customies\item\CustomiesItemFactory->registerItem(string[29] RevXZ\CustomArmor\ScubaHelmet, string[18] heavy:scuba_helmet, string[12] Scuba Helmet)
#2 pmsrc/src/plugin/PluginBase(119): RevXZ\CustomArmor\Main->onEnable()
#3 pmsrc/src/plugin/PluginManager(454): pocketmine\plugin\PluginBase->onEnableStateChange(true)
#4 pmsrc/src/Server(1391): pocketmine\plugin\PluginManager->enablePlugin(object RevXZ\CustomArmor\Main#44778)
#5 pmsrc/src/Server(1034): pocketmine\Server->enablePlugins(object pocketmine\plugin\PluginEnableOrder#44774)
#6 pmsrc/src/PocketMine(341): pocketmine\Server->__construct(object pocketmine\thread\ThreadSafeClassLoader#6, object pocketmine\utils\MainLogger#3, string[16] /home/container/, string[24] /home/container/plugins/)
#7 pmsrc/src/PocketMine(364): pocketmine\server()
#8 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