ヘルプ エラーの解析

masabun

New member
7月 25, 2020
11
2
3
症状

Carプラグインを導入して
トロッコに乗ろうとするとエラーが発生します。
CarPlugin:https://forum.mcbe.jp/resources/257/
---
エラーの出し方

1.Carプラグインをサーバーに導入する。(pluginsフォルダへpharファイルを入れる | DevTools不要)
2.サーバーを起動または再起動またはreloadする。
3.サーバーへ参加してトロッコを出す
4.トロッコに乗る
5.エラーが出る
---
エラー文

[09:01:09] [Server thread/CRITICAL]: ArgumentCountError: "Too few arguments to function pocketmine\network\mcpe\protocol\types\EntityLink::__construct(), 3 passed in phar:///home/container/plugins/car_v2.4.1.phar/src/aieuo/car/cars/Vehicle.php on line 46 and exactly 5 expected" (EXCEPTION) in "src/pocketmine/network/mcpe/protocol/types/EntityLink" at line 43
[09:01:09] [Server thread/CRITICAL]: #0 plugins/car_v2.4.1.phar/src/aieuo/car/cars/Vehicle(46): pocketmine\network\mcpe\protocol\types\EntityLink->__construct(integer 3, integer 2, integer 2)
[09:01:09] [Server thread/CRITICAL]: #1 plugins/car_v2.4.1.phar/src/aieuo/car/Main(78): aieuo\car\cars\Vehicle->onRide(object pocketmine\Player)
[09:01:09] [Server thread/CRITICAL]: #2 src/pocketmine/plugin/MethodEventExecutor(42): aieuo\car\Main->onReceive(object pocketmine\event\server\DataPacketReceiveEvent)
[09:01:09] [Server thread/CRITICAL]: #3 src/pocketmine/plugin/RegisteredListener(80): pocketmine\plugin\MethodEventExecutor->execute(object aieuo\car\Main, object pocketmine\event\server\DataPacketReceiveEvent)
[09:01:09] [Server thread/CRITICAL]: #4 src/pocketmine/event/Event(88): pocketmine\plugin\RegisteredListener->callEvent(object pocketmine\event\server\DataPacketReceiveEvent)
[09:01:09] [Server thread/CRITICAL]: #5 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(109): pocketmine\event\Event->call()
[09:01:09] [Server thread/CRITICAL]: #6 src/pocketmine/network/mcpe/protocol/BatchPacket(127): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\InventoryTransactionPacket)
[09:01:09] [Server thread/CRITICAL]: #7 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[09:01:09] [Server thread/CRITICAL]: #8 src/pocketmine/Player(3247): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[09:01:09] [Server thread/CRITICAL]: #9 src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[09:01:09] [Server thread/CRITICAL]: #10 vendor/pocketmine/raklib/src/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[18] 124.27.14.22 61079, object raklib\protocol\EncapsulatedPacket, integer 0)
[09:01:09] [Server thread/CRITICAL]: #11 src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket()
[09:01:09] [Server thread/CRITICAL]: #12 src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process()
[09:01:09] [Server thread/CRITICAL]: #13 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}()
[09:01:09] [Server thread/CRITICAL]: #14 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications()
[09:01:09] [Server thread/CRITICAL]: #15 src/pocketmine/Server(2157): pocketmine\snooze\SleeperHandler->sleepUntil(double 1595840469.0766)
[09:01:09] [Server thread/CRITICAL]: #16 src/pocketmine/Server(1994): pocketmine\Server->tickProcessor()
[09:01:09] [Server thread/CRITICAL]: #17 src/pocketmine/Server(1588): pocketmine\Server->start()
[09:01:09] [Server thread/CRITICAL]: #18 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/container/, string[24] /home/container/plugins/)
[09:01:09] [Server thread/CRITICAL]: #19 src/pocketmine/PocketMine(304): pocketmine\server()
[09:01:09] [Server thread/CRITICAL]: #20 (11): require(string[71] phar:///home/container/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

---
Carプラグインのエラーだと思った理由

最初のエラー文

[09:01:09] [Server thread/CRITICAL]: ArgumentCountError: "Too few arguments to function pocketmine\network\mcpe\protocol\types\EntityLink::__construct(), 3 passed in phar:///home/container/plugins/car_v2.4.1.phar/src/aieuo/car/cars/Vehicle.php on line 46 and exactly 5 expected" (EXCEPTION) in "src/pocketmine/network/mcpe/protocol/types/EntityLink" at line 43

のプラグイン名の部分

[09:01:09] [Server thread/CRITICAL]: ArgumentCountError: "Too few arguments to function pocketmine\network\mcpe\protocol\types\EntityLink::__construct(), 3 passed in phar:///home/container/
plugins/
ここ>car_v2.4.1.phar<ここ/src/aieuo/car/cars/Vehicle.php on line 46 and exactly 5 expected" (EXCEPTION) in
"src/pocketmine/network/mcpe/protocol/types/EntityLink" at line 43


で判断しました。
---
要望

どのようなエラーなのか。
どのようにすればエラーが解決できるか

を教えてほしいです。
 
最後の編集: