Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Composer autoloader not found #136

Closed
KingRainbow44 opened this issue Jun 14, 2019 · 5 comments
Closed

Composer autoloader not found #136

KingRainbow44 opened this issue Jun 14, 2019 · 5 comments

Comments

@KingRainbow44
Copy link

Issue description

BigBrother won't load.

Prerequisite

PocketMine-DevTools

How to reproduce

Just install the plugin in folder form.

Server log(crash dump)

[11:34:33] [Server thread/INFO]: Loading BigBrother v1.6.0-beta
[11:34:33] [Server thread/CRITICAL]: [BigBrother] Composer autoloader not found
[11:34:33] [Server thread/CRITICAL]: [BigBrother] Please initialize composer dependencies before running
[11:34:33] [Server thread/CRITICAL]: Error: "Call to undefined method FolderPluginLoader\FolderPluginLoader::disablePlugin()" (EXCEPTION) in "plugins/BigBrother-master/src/shoghicp/BigBrother/BigBrother" at line 84
[11:34:33] [Server thread/DEBUG]: #0 src/pocketmine/plugin/PluginManager(195): shoghicp\BigBrother\BigBrother->onLoad()
[11:34:33] [Server thread/DEBUG]: #1 src/pocketmine/plugin/PluginManager(344): pocketmine\plugin\PluginManager->loadPlugin(string[70] C:\Users\user001\Desktop\Development Console\plugins\BigBrother-master, array[1])
[11:34:33] [Server thread/DEBUG]: #2 plugins/DevTools.phar/src/DevTools/DevTools(71): pocketmine\plugin\PluginManager->loadPlugins(string[53] C:\Users\user001\Desktop\Development Console\plugins, array[1])
[11:34:33] [Server thread/DEBUG]: #3 src/pocketmine/plugin/PluginBase(123): DevTools\DevTools->onEnable()
[11:34:33] [Server thread/DEBUG]: #4 src/pocketmine/plugin/PluginManager(588): pocketmine\plugin\PluginBase->setEnabled(boolean 1)
[11:34:33] [Server thread/DEBUG]: #5 src/pocketmine/Server(1992): pocketmine\plugin\PluginManager->enablePlugin(object DevTools\DevTools)
[11:34:33] [Server thread/DEBUG]: #6 src/pocketmine/Server(1978): pocketmine\Server->enablePlugin(object DevTools\DevTools)
[11:34:33] [Server thread/DEBUG]: #7 src/pocketmine/Server(1718): pocketmine\Server->enablePlugins(integer 0)
[11:34:33] [Server thread/DEBUG]: #8 src/pocketmine/PocketMine(266): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[45] C:\Users\user001\Desktop\Development Console, string[53] C:\Users\user001\Desktop\Development Console\plugins)
[11:34:33] [Server thread/DEBUG]: #9 (1): require(string[100] phar://C:/Users/user001/Desktop/Development Console/PocketMine-MP.phar/src/pocke)
[11:34:33] [Server thread/CRITICAL]: Could not load plugin 'BigBrother'

@KingRainbow44
Copy link
Author

Just a side note, I updated the plugin to PMMP 3.8.3.

@mclauncherlinux
Copy link

can you send the .phar

@hmy2001
Copy link

hmy2001 commented Jun 14, 2019

Please execute composer install

@eternalharvest
Copy link

@KingRainbow44 if u want to use this plugin with source, u must run composer install command first. or u must run composer build to generate phar file.

@KingRainbow44
Copy link
Author

KingRainbow44 commented Jun 17, 2019

@eternalharvest @hmy2001
Where would I run "composer build"? And can you give detailed instructions?

EDIT: Correct me if I'm wrong but I need to use composer from https://getcomposer.org

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants