menu
#293 phpmc\controller\MCController has no factory (may be not provided?)

Submitted by PocketMine-MP 5.26.1+dev.2106

General information

Version: 5.26.1+dev.2106
Git commit: 4d592fdc
Plugin involvement: Direct
Report date: 2025-04-09 21:23:24 +0000 UTC
Server uptime: 0 days 0 hours 0 minutes 1 seconds

System Information

PHP version: 8.3.4
JIT status: Not available
Operating system: linux
System banner: Linux anmine.ru 5.10.0-32-amd64 #1 SMP Debian 5.10.223-1 (2024-08-10) x86_64

Error information

Warning: the Kernel plugin was directly involved in this crash. Please contact the plugin author.
Thread: Main
Message: phpmc\controller\MCController has no factory (may be not provided?)
File: plugins/Kernel/src/inversify/IoCContainer
Line: #66
Type: LogicException
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
    public function mustBeCompleted(): void
{
foreach ($this->enqueuedSoft as $k => $deferred) {
$deferred->resolve(null);
unset($this->enqueuedSoft[$k]);
}

if (count($this->enqueued) > 0) {
$key = key($this->enqueued);
throw new LogicException("{$key} has no factory (may be not provided?)");
}
}

public function resolve(string $dependency, mixed ...$args): Promise
{
if (isset($this->dependencies[$dependency])) {
$promise = $this->dependencies[$dependency](...$args);
return $promise instanceof Promise ? $promise : Promise::withValue($promise);
}
if (isset($this->enqueuedSoft[$dependency])) {
#0 plugins/Kernel/src/module/ModuleLoader(111): phpmc\inversify\IoCContainer->mustBeCompleted()
#1 plugins/Kernel/src/bootstrap/KernelBootstrap(126): phpmc\module\ModuleLoader::load(object phpmc\inversify\IoCContainer#70961, string[28] /home/anupdate/settings/dev/, string[105] /home/anupdate/modules/dev/core/;/home/anupdate/modules/dev/servers/;/home/anupd)
#2 pmsrc/src/plugin/PluginBase(119): phpmc\bootstrap\KernelBootstrap->onEnable()
#3 pmsrc/src/plugin/PluginManager(463): pocketmine\plugin\PluginBase->onEnableStateChange(true)
#4 pmsrc/src/Server(1507): pocketmine\plugin\PluginManager->enablePlugin(object phpmc\bootstrap\KernelBootstrap#62542)
#5 pmsrc/src/Server(1124): pocketmine\Server->enablePlugins(object pocketmine\plugin\PluginEnableOrder#62548)
#6 pmsrc/src/PocketMine(360): pocketmine\Server->__construct(object pocketmine\thread\ThreadSafeClassLoader#2, object pocketmine\utils\MainLogger#6, string[27] /home/anupdate/servers/s99/, string[35] /home/anupdate/servers/s99/plugins/)
#7 pmsrc/src/PocketMine(383): pocketmine\server()
#8 pmsrc(170): require(string[72] phar:///tmp/PocketMine-MP-phar-cache.0/PMMPua6mQZ.tar/src/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed Composer Dependencies

Installed PHP Extensions

  • Show