menu
#2387882 Array to string conversion

Submitted by PocketMine-MP 3.8.2

General information

Version: 3.8.2
Git commit: 5c81da9b
Plugin involvement: Direct
Report date: 2019-05-15 22:36:35 +0000 UTC

System Information

PHP version: 7.2.16
Operating system: win
System banner: Windows NT LENOVO-PC 6.3 build 9600 (Windows 8.1 Home Premium Edition) AMD64

Error information

Warning: the EventManager plugin was directly involved in this crash. Please contact the plugin author.
Message: Array to string conversion
File: plugins/EventManager/src/atom/plugin/manager/Form
Line: #46
Error level: ErrorException
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
            function (array $rows) use($player) : void {
$menu = new SimpleGui();
$menu->setTitle(color::BOLD.color::DARK_AQUA."Upcoming Events!");
if (empty($rows)) {
$menu->setContent("No Events Were Found!");
} else {
$rawdate = [];
foreach ($rows as $row) {
array_push($rawdate, [$row['day'], $row['month'], $row['year']]);
$datetime = implode($rawdate, "/");
var_dump($datetime);
}
}
\atom\gui\GUI::register("menu", $menu);
\atom\gui\GUI::send($player, "menu");
});


}

#0 (): pocketmine\utils\Utils::errorExceptionHandler(integer 8, string Array to string conversion, string D:\Minecraft Server\plugins\EventManager\src\atom\plugin\manager\Form.php, integer 46, array Array())
#1 plugins/EventManager/src/atom/plugin/manager/Form(46): implode(array Array(), string /)
#2 D:/Minecraft Server/virions/libasynql/src/poggit/libasynql/base/DataConnectorImpl(153): atom\plugin\manager\Form::atom\plugin\manager\{closure}(array Array(), array Array())
#3 D:/Minecraft Server/virions/libasynql/src/poggit/libasynql/base/DataConnectorImpl(183): poggit\libasynql\base\DataConnectorImpl->poggit\libasynql\base\{closure}(poggit\libasynql\result\SqlSelectResult object)
#4 D:/Minecraft Server/virions/libasynql/src/poggit/libasynql/base/SqlThreadPool(91): poggit\libasynql\base\DataConnectorImpl->poggit\libasynql\base\{closure}(poggit\libasynql\result\SqlSelectResult object)
#5 D:/Minecraft Server/virions/libasynql/src/poggit/libasynql/base/DataConnectorImpl(262): poggit\libasynql\base\SqlThreadPool->readResults(array Array())
#6 D:/Minecraft Server/virions/libasynql/src/poggit/libasynql/CallbackTask(36): poggit\libasynql\base\DataConnectorImpl->checkResults()
#7 src/pocketmine/scheduler/TaskHandler(159): poggit\libasynql\CallbackTask->onRun(integer 1045)
#8 src/pocketmine/scheduler/TaskScheduler(199): pocketmine\scheduler\TaskHandler->run(integer 1045)
#9 src/pocketmine/plugin/PluginManager(688): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 1045)
#10 src/pocketmine/Server(2558): pocketmine\plugin\PluginManager->tickSchedulers(integer 1045)
#11 src/pocketmine/Server(2334): pocketmine\Server->tick()
#12 (): --- below is the original stack trace ---()
#13 D:/Minecraft Server/virions/libasynql/src/poggit/libasynql/base/DataConnectorImpl(172): poggit\libasynql\base\DataConnectorImpl->executeImplRaw(string SELECT * FROM events;, array Array(), integer 3, Closure object, NULL )
#14 D:/Minecraft Server/virions/libasynql/src/poggit/libasynql/base/DataConnectorImpl(155): poggit\libasynql\base\DataConnectorImpl->executeImpl(string manager.select.events, array Array(), integer 3, Closure object, NULL )
#15 plugins/EventManager/src/atom/plugin/manager/Form(52): poggit\libasynql\base\DataConnectorImpl->executeSelect(string manager.select.events, array Array(), Closure object)
#16 plugins/EventManager/src/atom/plugin/Main(40): atom\plugin\manager\Form::menu(pocketmine\Player object)
#17 src/pocketmine/plugin/MethodEventExecutor(38): atom\plugin\Main->onSneak(pocketmine\event\player\PlayerToggleSneakEvent object)
#18 src/pocketmine/plugin/RegisteredListener(98): pocketmine\plugin\MethodEventExecutor->execute(atom\plugin\Main object, pocketmine\event\player\PlayerToggleSneakEvent object)
#19 src/pocketmine/event/Event(99): pocketmine\plugin\RegisteredListener->callEvent(pocketmine\event\player\PlayerToggleSneakEvent object)
#20 src/pocketmine/Player(2877): pocketmine\event\Event->call()
#21 src/pocketmine/Player(2837): pocketmine\Player->toggleSneak(boolean 1)
#22 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(173): pocketmine\Player->handlePlayerAction(pocketmine\network\mcpe\protocol\PlayerActionPacket object)
#23 src/pocketmine/network/mcpe/protocol/PlayerActionPacket(88): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handlePlayerAction(pocketmine\network\mcpe\protocol\PlayerActionPacket object)
#24 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(109): pocketmine\network\mcpe\protocol\PlayerActionPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)
#25 src/pocketmine/network/mcpe/protocol/BatchPacket(123): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\PlayerActionPacket object)
#26 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(109): pocketmine\network\mcpe\protocol\BatchPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)
#27 src/pocketmine/Player(3121): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
#28 src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
#29 vendor/pocketmine/raklib/src/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string 192.168.72.221 34885, raklib\protocol\EncapsulatedPacket object, integer 0)
#30 src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket()
#31 src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process()
#32 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}()
#33 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications()
#34 src/pocketmine/Server(2337): pocketmine\snooze\SleeperHandler->sleepUntil(double 1557959795.7263)
#35 src/pocketmine/Server(2195): pocketmine\Server->tickProcessor()
#36 src/pocketmine/Server(1774): pocketmine\Server->start()
#37 src/pocketmine/PocketMine(266): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string D:\Minecraft Server\, string D:\Minecraft Server\plugins\)
#38 (1): require(string phar://D:/Minecraft Server/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show