menu
#31 Plugin attempted to register phpmc\vanilla\handler\ShieldHandler while not enabled

Submitted by PocketMine-MP 5.7.1+dev

General information

Version: 5.7.1+dev
Git commit: 7a8f3548
Plugin involvement: Indirect
Report date: 2023-12-21 15:09:26 +0000 UTC
Server uptime: 0 days 0 hours 0 minutes 7 seconds

System Information

PHP version: 8.2.9
JIT status: Not available
Operating system: linux
System banner: Linux ananasmine.ru 5.15.0-87-generic #97-Ubuntu SMP Mon Oct 2 21:09:21 UTC 2023 x86_64

Error information

Warning: a 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: Plugin attempted to register phpmc\vanilla\handler\ShieldHandler while not enabled
File: pmsrc/src/plugin/PluginManager
Line: #592
Type: pocketmine\plugin\PluginException
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
	}

/**
* Registers all the events in the given Listener class
*
* @throws PluginException
*/
public function registerEvents(Listener $listener, Plugin $plugin) : void{
if(!$plugin->isEnabled()){
throw new PluginException("Plugin attempted to register " . get_class($listener) . " while not enabled");
}

$reflection = new \ReflectionClass(get_class($listener));
foreach($reflection->getMethods(\ReflectionMethod::IS_PUBLIC) as $method){
$tags = Utils::parseDocComment((string) $method->getDocComment());
if(isset($tags[ListenerMethodTags::NOT_HANDLER]) || ($eventClass = $this->getEventsHandledBy($method)) === null){
continue;
}
$handlerClosure = $method->getClosure($listener);
if($handlerClosure === null) throw new AssumptionFailedError("This should never happen");
#0 plugins/Vanilla/src/VanillaLoader(389): pocketmine\plugin\PluginManager->registerEvents(object phpmc\vanilla\handler\ShieldHandler#450426, object phpmc\vanilla\VanillaLoader#40590)
#1 pmsrc/src/plugin/PluginBase(77): phpmc\vanilla\VanillaLoader->onLoad()
#2 pmsrc/src/plugin/PluginManager(218): pocketmine\plugin\PluginBase->__construct(object pocketmine\plugin\FolderPluginLoader#48258, object pocketmine\Server#13, object pocketmine\plugin\PluginDescription#40526, string[42] /home/anpm5/servers/s1/plugin_data/Vanilla, string[38] /home/anpm5/servers/s1/plugins/Vanilla, object pocketmine\plugin\DiskResourceProvider#40594)
#3 pmsrc/src/plugin/PluginManager(370): pocketmine\plugin\PluginManager->internalLoadPlugin(string[38] /home/anpm5/servers/s1/plugins/Vanilla, object pocketmine\plugin\FolderPluginLoader#48258, object pocketmine\plugin\PluginDescription#40526)
#4 pmsrc/src/Server(1048): pocketmine\plugin\PluginManager->loadPlugins(string[31] /home/anpm5/servers/s1/plugins/, int 0)
#5 pmsrc/src/PocketMine(334): pocketmine\Server->__construct(object pocketmine\thread\ThreadSafeClassLoader#3, object pocketmine\utils\MainLogger#6, string[23] /home/anpm5/servers/s1/, string[31] /home/anpm5/servers/s1/plugins/)
#6 pmsrc/src/PocketMine(357): pocketmine\server()
#7 pmsrc(11): require(string[64] phar:///home/anpm5/startup/PocketMine-MP.phar/src/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed Composer Dependencies

Installed PHP Extensions

  • Show