DaPigGuy / PiggyCustomEnchants

An open source custom enchantment plugin for PocketMine-MP
https://piggydocs.aericio.net/PiggyCustomEnchants.html
Apache License 2.0
103 stars 118 forks source link

Fatal error: Class 'pocketmine\entity\projectile\Projectile' not found in phar:///root/backupinplm/factions/plugins/PiggyCustomEnchants_dev-86.phar #60

Closed asyncthreading closed 7 years ago

asyncthreading commented 7 years ago

Please make sure your issue complies with these guidelines:

General

[11:46:47] [Server thread/INFO]: Enabling PiggyCustomEnchants v1.0.3

Fatal error: Class 'pocketmine\entity\projectile\Projectile' not found in phar:///root/backupinplm/factions/plugins/PiggyCustomEnchants_dev-86.phar/src/PiggyCustomEnchants/Entities/Fireball.php on line 21 [11:46:47] [Server thread/EMERGENCY]: An unrecoverable error has occurred and the server has crashed. Creating a crash dump [11:46:47] [Server thread/EMERGENCY]: Please upload the "/root/backupinplm/factions/crashdumps/Fri_Oct_27-11.46.47-UTC_2017.log" file to the Crash Archive and submit the link to the Bug Reporting page. Give as much info as you can.

Version of PiggyCustomEnchants:

Dev#86

Steps to Reproduce the Issue

1.

Extra Information

DaPigGuy commented 7 years ago

Are you on the latest build of PMMP?

asyncthreading commented 7 years ago

Yes i am, i fixed IT but advancedkits by awz îs kinda broken, while im doing /kit name IT says i dont have perms but i got op

asyncthreading commented 7 years ago
[15:04:48] [Server thread/INFO]: [CmdSnooper] BlazedUniQuexD > /kit testkit
[15:04:48] [Server thread/CRITICAL]: Unhandled exception executing command 'kit testkit' in kit: Object of class PiggyCustomEnchants\CustomEnchants\CustomEnchants could not be converted to string
[15:04:48] [Server thread/CRITICAL]: ErrorException: "Object of class PiggyCustomEnchants\CustomEnchants\CustomEnchants could not be converted to string" (EXCEPTION) in "PiggyCustomEnchants_dev-86.phar/src/PiggyCustomEnchants/Main" at line 307
[15:04:48] [Server thread/DEBUG]: #0 (): pocketmine\error_handler(integer 4096, string Object of class PiggyCustomEnchants\CustomEnchants\CustomEnchants could not be converted to string, string phar:///root/backupinplm/factions/plugins/PiggyCustomEnchants_dev-86.phar/src/PiggyCustomEnchants/Main.php, integer 307, array Array())
[15:04:48] [Server thread/DEBUG]: #1 PiggyCustomEnchants_dev-86.phar/src/PiggyCustomEnchants/Main(307): array_combine(array Array(), array Array())
[15:04:48] [Server thread/DEBUG]: #2 AdvancedKits-master/src/AdvancedKits/Kit(113): PiggyCustomEnchants\Main->addEnchantment(pocketmine\item\ChainBoots object, array Array(), array Array())
[15:04:48] [Server thread/DEBUG]: #3 AdvancedKits-master/src/AdvancedKits/Kit(77): AdvancedKits\Kit->loadItem(integer 305, integer 0, integer 1, string DEFAULT, string GEARS, string 1, string SPRINGS, string 1)
[15:04:48] [Server thread/DEBUG]: #4 AdvancedKits-master/src/AdvancedKits/Kit(51): AdvancedKits\Kit->addTo(pocketmine\Player object)
[15:04:48] [Server thread/DEBUG]: #5 AdvancedKits-master/src/AdvancedKits/Main(79): AdvancedKits\Kit->handleRequest(pocketmine\Player object)
[15:04:48] [Server thread/DEBUG]: #6 src/pocketmine/command/PluginCommand(58): AdvancedKits\Main->onCommand(pocketmine\Player object, pocketmine\command\PluginCommand object, string kit, array Array())
[15:04:48] [Server thread/DEBUG]: #7 src/pocketmine/command/SimpleCommandMap(258): pocketmine\command\PluginCommand->execute(pocketmine\Player object, string kit, array Array())
[15:04:48] [Server thread/DEBUG]: #8 src/pocketmine/Server(1984): pocketmine\command\SimpleCommandMap->dispatch(pocketmine\Player object, string kit testkit)
[15:04:48] [Server thread/DEBUG]: #9 src/pocketmine/Player(2127): pocketmine\Server->dispatchCommand(pocketmine\Player object, string kit testkit)
[15:04:48] [Server thread/DEBUG]: #10 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(220): pocketmine\Player->chat(string /kit testkit)
[15:04:48] [Server thread/DEBUG]: #11 src/pocketmine/network/mcpe/protocol/CommandRequestPacket(47): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleCommandRequest(pocketmine\network\mcpe\protocol\CommandRequestPacket object)
[15:04:48] [Server thread/DEBUG]: #12 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(92): pocketmine\network\mcpe\protocol\CommandRequestPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)
[15:04:48] [Server thread/DEBUG]: #13 src/pocketmine/network/mcpe/protocol/BatchPacket(115): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\CommandRequestPacket object)
[15:04:48] [Server thread/DEBUG]: #14 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(92): pocketmine\network\mcpe\protocol\BatchPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)
[15:04:48] [Server thread/DEBUG]: #15 src/pocketmine/Player(3012): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
[15:04:48] [Server thread/DEBUG]: #16 src/pocketmine/network/mcpe/RakLibInterface(143): pocketmine\Player->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
[15:04:48] [Server thread/DEBUG]: #17 src/raklib/server/ServerHandler(97): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string 92.80.98.59:35319, raklib\protocol\EncapsulatedPacket object, integer 0)
[15:04:48] [Server thread/DEBUG]: #18 src/pocketmine/network/mcpe/RakLibInterface(82): raklib\server\ServerHandler->handlePacket()
[15:04:48] [Server thread/DEBUG]: #19 src/pocketmine/network/Network(89): pocketmine\network\mcpe\RakLibInterface->process()
[15:04:48] [Server thread/DEBUG]: #20 src/pocketmine/Server(2514): pocketmine\network\Network->processInterfaces()
[15:04:48] [Server thread/DEBUG]: #21 src/pocketmine/Server(2270): pocketmine\Server->tick()
[15:04:48] [Server thread/DEBUG]: #22 src/pocketmine/Server(2149): pocketmine\Server->tickProcessor()
[15:04:48] [Server thread/DEBUG]: #23 src/pocketmine/Server(1731): pocketmine\Server->start()
[15:04:48] [Server thread/DEBUG]: #24 src/pocketmine/PocketMine(558): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string phar:///root/backupinplm/factions/PocketMine-MP.phar/, string /root/backupinplm/factions/, string /root/backupinplm/factions/plugins/)
[15:04:48] [Server thread/DEBUG]: #25 /root/backupinplm/factions/PocketMine-MP.phar(1): require(string phar:///root/backupinplm/factions/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

This happens If a kit got CE and You try to run the kit command.