Skip to content
This repository has been archived by the owner on Jan 1, 2021. It is now read-only.

Internal Server Error #6

Closed
MonoAdrian23 opened this issue Sep 13, 2020 · 3 comments
Closed

Internal Server Error #6

MonoAdrian23 opened this issue Sep 13, 2020 · 3 comments

Comments

@MonoAdrian23
Copy link

Decorations Dev 16
Pocketmine 3.15.1
IT happens when sell a Mug

[11:50:10] [Server thread/CRITICAL]: ErrorException: "Undefined index: mug" (EXCEPTION) in "plugins/Decorations.phar/src/Xenophilicy/Decorations/archive/PlayerArchive" at line 58

[11:50:10] [Server thread/CRITICAL]: #0 plugins/Decorations.phar/src/Xenophilicy/Decorations/archive/PlayerArchive(58): pocketmine\utils\Utils::errorExceptionHandler(integer 8, string[20] Undefined index: mug, string[101] phar:///home/minecraft/plugins/Decorations.phar/src/Xenophilicy/Decorations/arch, integer 58, array[2])

[11:50:10] [Server thread/CRITICAL]: #1 plugins/Decorations.phar/src/Xenophilicy/Decorations/forms/SettingsForm(85): Xenophilicy\Decorations\archive\PlayerArchive->removeSpawned(string[3] mug, integer 1)

[11:50:10] [Server thread/CRITICAL]: #2 plugins/Decorations.phar/src/Xenophilicy/Decorations/libs/BreathTakinglyBinary/libDynamicForms/Form(85): Xenophilicy\Decorations\forms\SettingsForm->onResponse(object pocketmine\Player, string[9] Verkaufen)

[11:50:10] [Server thread/CRITICAL]: #3 src/pocketmine/Player(3608): Xenophilicy\Decorations\libs\BreathTakinglyBinary\libDynamicForms\Form->handleResponse(object pocketmine\Player, string[9] Verkaufen)

[11:50:10] [Server thread/CRITICAL]: #4 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(264): pocketmine\Player->onFormSubmit(integer 0, integer 2)

[11:50:10] [Server thread/CRITICAL]: #5 src/pocketmine/network/mcpe/protocol/ModalFormResponsePacket(49): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleModalFormResponse(object pocketmine\network\mcpe\protocol\ModalFormResponsePacket)

[11:50:10] [Server thread/CRITICAL]: #6 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\ModalFormResponsePacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)

[11:50:10] [Server thread/CRITICAL]: #7 src/pocketmine/network/mcpe/protocol/BatchPacket(127): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\ModalFormResponsePacket)

[11:50:10] [Server thread/CRITICAL]: #8 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)

[11:50:10] [Server thread/CRITICAL]: #9 src/pocketmine/Player(3255): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)

[11:50:10] [Server thread/CRITICAL]: #10 src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)

[11:50:10] [Server thread/CRITICAL]: #11 vendor/pocketmine/raklib/src/server/ServerHandler(95): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[19] 109.41.131.88 29576, object raklib\protocol\EncapsulatedPacket, integer 0)

[11:50:10] [Server thread/CRITICAL]: #12 src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket()

[11:50:10] [Server thread/CRITICAL]: #13 src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process()

[11:50:10] [Server thread/CRITICAL]: #14 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe{closure}()

[11:50:10] [Server thread/CRITICAL]: #15 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications()

[11:50:10] [Server thread/CRITICAL]: #16 src/pocketmine/Server(2157): pocketmine\snooze\SleeperHandler->sleepUntil(double 1599990610.4142)

[11:50:10] [Server thread/CRITICAL]: #17 src/pocketmine/Server(1994): pocketmine\Server->tickProcessor()

[11:50:10] [Server thread/CRITICAL]: #18 src/pocketmine/Server(1588): pocketmine\Server->start()

[11:50:10] [Server thread/CRITICAL]: #19 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/minecraft/, string[24] /home/minecraft/plugins/)

[11:50:10] [Server thread/CRITICAL]: #20 src/pocketmine/PocketMine(304): pocketmine\server()

[11:50:10] [Server thread/CRITICAL]: #21 (11): require(string[68] phar:///home/minecraft/pocketmine.phar/src/pocketmine/PocketMine.php)

@Xenophilicy
Copy link
Owner

I was not able to reproduce the error. Can you stop your server, delete the archives.json file in plugin_data for Decorations, and then start the server again? That should fix your issue, even though I'm still not sure why you got the error in the first place.

@MonoAdrian23
Copy link
Author

Yes It workes!
Thanks Xeno, this is a really nice Plugin!!!

@Xenophilicy
Copy link
Owner

Awesome

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

No branches or pull requests

2 participants