LegendOfMCPE / EssentialsPE

Port of Bukkit Essentials for @PocketMine Servers (Moved to @poggit-orphanage)
GNU General Public License v3.0
99 stars 21 forks source link

TypeError(s) in current build from source #247

Closed markkrueg closed 8 years ago

markkrueg commented 8 years ago

These errors occur in console immediately after plugin initialization.

I am running current build from source as of commit fa45d3b

[15:10:14] [Server thread/INFO]: Enabling EssentialsPE v2.0.0
[15:10:14] [Server thread/CRITICAL]: TypeError: "Return value of EssentialsPE\Events\CreateAPIEvent::getClass() must be an instance of EssentialsPE\BaseFiles\BaseAPI, string returned" (EXCEPTION) in "/plugins/EssentialsPE_v2.0.0.phar/src/EssentialsPE/Events/CreateAPIEvent" at line 30
[15:10:14] [Server thread/DEBUG]: #0 /src/pocketmine/plugin/PluginBase(86): EssentialsPE\Loader->onEnable(boolean)
[15:10:14] [Server thread/DEBUG]: #1 /src/pocketmine/plugin/PharPluginLoader(123): pocketmine\plugin\PluginBase->setEnabled(boolean 1)
[15:10:14] [Server thread/DEBUG]: #2 /src/pocketmine/plugin/PluginManager(602): pocketmine\plugin\PharPluginLoader->enablePlugin(EssentialsPE\Loader object)
[15:10:14] [Server thread/DEBUG]: #3 /src/pocketmine/Server(2303): pocketmine\plugin\PluginManager->enablePlugin(EssentialsPE\Loader object)
[15:10:14] [Server thread/DEBUG]: #4 /src/pocketmine/Server(2289): pocketmine\Server->enablePlugin(EssentialsPE\Loader object)
[15:10:14] [Server thread/DEBUG]: #5 /src/pocketmine/Server(2042): pocketmine\Server->enablePlugins(integer 1)
[15:10:14] [Server thread/DEBUG]: #6 /src/pocketmine/PocketMine(467): pocketmine\Server->__construct(pocketmine\CompatibleClassLoader object, pocketmine\utils\MainLogger object, string /Applications/PocketMine-MP/, string /Applications/PocketMine-MP/, string /Applications/PocketMine-MP/plugins/, string unknown)
[15:10:14] [Server thread/INFO]: Disabling EssentialsPE v2.0.0
[15:10:14] [Server thread/CRITICAL]: TypeError: "Return value of EssentialsPE\Loader::getAPI() must be an instance of EssentialsPE\BaseFiles\BaseAPI, null returned" (EXCEPTION) in "/plugins/EssentialsPE_v2.0.0.phar/src/EssentialsPE/Loader" at line 346
[15:10:14] [Server thread/DEBUG]: #0 /src/pocketmine/plugin/PluginBase(88): EssentialsPE\Loader->onDisable(boolean)
[15:10:14] [Server thread/DEBUG]: #1 /src/pocketmine/plugin/PharPluginLoader(138): pocketmine\plugin\PluginBase->setEnabled(boolean )
[15:10:14] [Server thread/DEBUG]: #2 /src/pocketmine/plugin/PluginManager(673): pocketmine\plugin\PharPluginLoader->disablePlugin(EssentialsPE\Loader object)
[15:10:14] [Server thread/DEBUG]: #3 /src/pocketmine/plugin/PluginManager(605): pocketmine\plugin\PluginManager->disablePlugin(EssentialsPE\Loader object)
[15:10:14] [Server thread/DEBUG]: #4 /src/pocketmine/Server(2303): pocketmine\plugin\PluginManager->enablePlugin(EssentialsPE\Loader object)
[15:10:14] [Server thread/DEBUG]: #5 /src/pocketmine/Server(2289): pocketmine\Server->enablePlugin(EssentialsPE\Loader object)
[15:10:14] [Server thread/DEBUG]: #6 /src/pocketmine/Server(2042): pocketmine\Server->enablePlugins(integer 1)
[15:10:14] [Server thread/DEBUG]: #7 /src/pocketmine/PocketMine(467): pocketmine\Server->__construct(pocketmine\CompatibleClassLoader object, pocketmine\utils\MainLogger object, string /Applications/PocketMine-MP/, string /Applications/PocketMine-MP/, string /Applications/PocketMine-MP/plugins/, string unknown)