Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue on explode() line 98 #1

Closed
AlexPads opened this issue Dec 4, 2018 · 13 comments
Closed

Issue on explode() line 98 #1

AlexPads opened this issue Dec 4, 2018 · 13 comments

Comments

@AlexPads
Copy link

AlexPads commented Dec 4, 2018

:15:51] [Server thread/CRITICAL]: TypeError: "explode() expects parameter 2 to be string, null given" (EXCEPTION) in "VirionTools.phar/src/JackMD/VirionTools/commands/InjectVirionCommand" at line 98
[17:15:51] [Server thread/DEBUG]: #0 VirionTools.phar/src/JackMD/VirionTools/commands/InjectVirionCommand(98): explode(string ., NULL )
[17:15:51] [Server thread/DEBUG]: #1 src/pocketmine/command/SimpleCommandMap(258): JackMD\VirionTools\commands\InjectVirionCommand->execute(pocketmine\Player object, string iv, array Array())
[17:15:51] [Server thread/DEBUG]: #2 src/pocketmine/Server(1956): pocketmine\command\SimpleCommandMap->dispatch(pocketmine\Player object, string iv libFormAPI CustomShopUI)
[17:15:51] [Server thread/DEBUG]: #3 src/pocketmine/Player(2193): pocketmine\Server->dispatchCommand(pocketmine\Player object, string iv libFormAPI CustomShopUI)
[17:15:51] [Server thread/DEBUG]: #4 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(226): pocketmine\Player->chat(string /iv libFormAPI CustomShopUI)
[17:15:51] [Server thread/DEBUG]: #5 src/pocketmine/network/mcpe/protocol/CommandRequestPacket(54): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleCommandRequest(pocketmine\network\mcpe\protocol\CommandRequestPacket object)
[17:15:51] [Server thread/DEBUG]: #6 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(96): pocketmine\network\mcpe\protocol\CommandRequestPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)
[17:15:51] [Server thread/DEBUG]: #7 src/pocketmine/network/mcpe/protocol/BatchPacket(114): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\CommandRequestPacket object)
[17:15:51] [Server thread/DEBUG]: #8 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(96): pocketmine\network\mcpe\protocol\BatchPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)
[17:15:51] [Server thread/DEBUG]: #9 src/pocketmine/Player(3060): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
[17:15:51] [Server thread/DEBUG]: #10 src/pocketmine/network/mcpe/RakLibInterface(161): pocketmine\Player->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
[17:15:51] [Server thread/DEBUG]: #11 vendor/pocketmine/raklib/src/server/ServerHandler(98): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string 192.168.86.1 55539, raklib\protocol\EncapsulatedPacket object, integer 0)
[17:15:51] [Server thread/DEBUG]: #12 src/pocketmine/network/mcpe/RakLibInterface(102): raklib\server\ServerHandler->handlePacket()
[17:15:51] [Server thread/DEBUG]: #13 src/pocketmine/network/Network(94): pocketmine\network\mcpe\RakLibInterface->process()
[17:15:52] [Server thread/DEBUG]: #14 src/pocketmine/network/mcpe/RakLibInterface(92): pocketmine\network\Network->processInterface(pocketmine\network\mcpe\RakLibInterface object)
[17:15:52] [Server thread/DEBUG]: #15 vendor/pocketmine/snooze/src/SleeperHandler(120): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe{closure}()
[17:15:52] [Server thread/DEBUG]: #16 vendor/pocketmine/snooze/src/SleeperHandler(82): pocketmine\snooze\SleeperHandler->processNotifications()
[17:15:52] [Server thread/DEBUG]: #17 src/pocketmine/Server(2268): pocketmine\snooze\SleeperHandler->sleepUntil(double 1543965351.9599)
[17:15:52] [Server thread/DEBUG]: #18 src/pocketmine/Server(2135): pocketmine\Server->tickProcessor()
[17:15:52] [Server thread/DEBUG]: #19 src/pocketmine/Server(1701): pocketmine\Server->start()
[17:15:52] [Server thread/DEBUG]: #20 src/pocketmine/PocketMine(249): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string C:\Users\nickv\Desktop\entire servre 2, string C:\Users\nickv\Desktop\entire servre 2\plugins)
[17:15:52] [Server thread/DEBUG]: #21 C:/Users/nickv/Desktop/entire servre 2/PocketMine-MP.phar(1): require(string phar://C:/Users/nickv/Desktop/entire servre 2/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Sorry for the horrid code paste OOF

but i put in what it said to and that is what i got hope that helps i am using:
pmmp: 3.3.4
php 7.2
win10
Thanks!

@Ifera
Copy link
Member

Ifera commented Dec 4, 2018

Is the plugin and the virion both phared or not?

@Ifera
Copy link
Member

Ifera commented Dec 4, 2018

Also are they located in their respective directories?

@AlexPads
Copy link
Author

AlexPads commented Dec 5, 2018 via email

@Ifera
Copy link
Member

Ifera commented Dec 5, 2018

You still didnt replied if or not the plugin and the virion are phared?

@AlexPads
Copy link
Author

AlexPads commented Dec 5, 2018 via email

@Ifera
Copy link
Member

Ifera commented Dec 9, 2018

Can you send me the plugin and virion you are trying to compile?

@AlexPads
Copy link
Author

AlexPads commented Dec 10, 2018 via email

@Ifera
Copy link
Member

Ifera commented Dec 10, 2018

ok

@Ifera Ifera closed this as completed Dec 10, 2018
@Ifera Ifera reopened this Mar 20, 2019
@Ifera
Copy link
Member

Ifera commented Mar 20, 2019

I will be pushing a fix to silence this issue once and for all.
I am in the process of removing the use of shell_exec from the plugin completely. This will indirectly fix this issue.

@Ifera
Copy link
Member

Ifera commented Mar 20, 2019

@AlexPads this issue should not occur now.

@AlexPads
Copy link
Author

Whoah Thankyou! I'll try it out again when I get the chance.

@Ifera
Copy link
Member

Ifera commented Mar 20, 2019

Alright. Also do let me know if it works or fails. As I have only tested it on windows.

@AlexPads
Copy link
Author

AlexPads commented Mar 20, 2019 via email

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

No branches or pull requests

2 participants