MihaiChirculete / WorldGuard

The fastest world protector in town for your PocketMine server!
GNU General Public License v3.0
58 stars 36 forks source link

ErrorException: "Undefined index: denied-place" #121

Closed teracube closed 4 years ago

teracube commented 4 years ago

https://poggit.pmmp.io/r/88975/WorldGuard_dev-148.phar https://jenkins.pmmp.io/job/PocketMine-MP/1795/artifact/PocketMine-MP.phar

2020-05-27 [20:54:13] [Server thread/CRITICAL]: ErrorException: "Undefined index: denied-place" (EXCEPTION) in "plugins/WorldGuard_dev-148.phar/src/Chalapa13/WorldGuard/EventListener" at line 215
2020-05-27 [20:54:13] [Server thread/DEBUG]: #0 plugins/WorldGuard_dev-148.phar/src/Chalapa13/WorldGuard/EventListener(215): pocketmine\utils\Utils::errorExceptionHandler(integer 8, string[29] Undefined index: denied-place, string[97] phar:///home/container/plugins/WorldGuard_dev-148.phar/src/Chalapa13/WorldGuard/, integer 215, array[7])
2020-05-27 [20:54:13] [Server thread/DEBUG]: #1 src/pocketmine/plugin/MethodEventExecutor(42): Chalapa13\WorldGuard\EventListener->onPlace(object pocketmine\event\block\BlockPlaceEvent)
2020-05-27 [20:54:13] [Server thread/DEBUG]: #2 src/pocketmine/plugin/RegisteredListener(80): pocketmine\plugin\MethodEventExecutor->execute(object Chalapa13\WorldGuard\EventListener, object pocketmine\event\block\BlockPlaceEvent)
2020-05-27 [20:54:13] [Server thread/DEBUG]: #3 src/pocketmine/event/Event(88): pocketmine\plugin\RegisteredListener->callEvent(object pocketmine\event\block\BlockPlaceEvent)
2020-05-27 [20:54:13] [Server thread/DEBUG]: #4 src/pocketmine/level/Level(1933): pocketmine\event\Event->call()
2020-05-27 [20:54:13] [Server thread/DEBUG]: #5 src/pocketmine/Player(2415): pocketmine\level\Level->useItemOn(object pocketmine\math\Vector3, object pocketmine\item\Sign, integer 2, object pocketmine\math\Vector3, object pocketmine\Player, boolean 1)
2020-05-27 [20:54:13] [Server thread/DEBUG]: #6 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(150): pocketmine\Player->handleInventoryTransaction(object pocketmine\network\mcpe\protocol\InventoryTransactionPacket)
2020-05-27 [20:54:13] [Server thread/DEBUG]: #7 src/pocketmine/network/mcpe/protocol/InventoryTransactionPacket(178): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleInventoryTransaction(object pocketmine\network\mcpe\protocol\InventoryTransactionPacket)
2020-05-27 [20:54:13] [Server thread/DEBUG]: #8 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\InventoryTransactionPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
2020-05-27 [20:54:13] [Server thread/DEBUG]: #9 src/pocketmine/network/mcpe/protocol/BatchPacket(126): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\InventoryTransactionPacket)
2020-05-27 [20:54:13] [Server thread/DEBUG]: #10 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
2020-05-27 [20:54:13] [Server thread/DEBUG]: #11 src/pocketmine/Player(3121): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
2020-05-27 [20:54:13] [Server thread/DEBUG]: #12 src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
2020-05-27 [20:54:13] [Server thread/DEBUG]: #13 vendor/pocketmine/raklib/src/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[19] 76.XXX.XXX.67 56208, object raklib\protocol\EncapsulatedPacket, integer 0)
2020-05-27 [20:54:13] [Server thread/DEBUG]: #14 src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket()
2020-05-27 [20:54:13] [Server thread/DEBUG]: #15 src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process()
2020-05-27 [20:54:13] [Server thread/DEBUG]: #16 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}()
2020-05-27 [20:54:13] [Server thread/DEBUG]: #17 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications()
2020-05-27 [20:54:13] [Server thread/DEBUG]: #18 src/pocketmine/Server(2146): pocketmine\snooze\SleeperHandler->sleepUntil(double 1590605653.3574)
2020-05-27 [20:54:13] [Server thread/DEBUG]: #19 src/pocketmine/Server(1990): pocketmine\Server->tickProcessor()
2020-05-27 [20:54:13] [Server thread/DEBUG]: #20 src/pocketmine/Server(1584): pocketmine\Server->start()
2020-05-27 [20:54:13] [Server thread/DEBUG]: #21 src/pocketmine/PocketMine(272): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/container/, string[24] /home/container/plugins/)
2020-05-27 [20:54:13] [Server thread/DEBUG]: #22 src/pocketmine/PocketMine(295): pocketmine\server()
2020-05-27 [20:54:13] [Server thread/DEBUG]: #23 (11): require(string[71] phar:///home/container/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
2020-05-27 [20:54:13] [Server thread/INFO]: Tf777 [-]
2020-05-27 [20:54:13] [Server thread/INFO]: Tf777[/76.XXX.XXX.67:56208] logged out due to Internal server error
2020-05-27 [20:54:13] [RakLibServer thread/NOTICE]: Blocked 76.XXX.XXX.67 for 5 seconds
awgybop1 commented 4 years ago

Stop your server, delete your messages.yml file from /plugin_data/WorldGuard/ and re-start your server. Fixed.

teracube commented 4 years ago

I have the bug with attached file message.yml version: 1.1.1.0 traduction is in french What's the problem thanks

messages.zip

MihaiChirculete commented 4 years ago

I have the bug with attached file message.yml version: 1.1.1.0 traduction is in french What's the problem thanks

messages.zip

Have you tried what @awgybop1 suggested?

teracube commented 4 years ago

yes problem appears with new installation message.yml version: 1.1.1.0

messagesFR.zip

MihaiChirculete commented 4 years ago

There is indeed a problem with the resource updater. I forgot to add the "denied-place" field to default messages.

I will correct this issue tomorrow. Until then you can fix this by ading a line denied-place: YOUR MESSAGE HERE to your messages.yml

awgybop1 commented 4 years ago

Fixed! Please use the latest beta and your issue will be fixed - sorry!

teracube commented 4 years ago

@Chalapa13 @awgybop1 thank you very much