menu
#7034212 Unhandled async exception: pocketmine\item\ItemFactory::get(): Argument #1 ($id) must be of type int, string given, called in /home/container/plugins/OyPL/src/kingofturkey38/voting38/Main.php on line 86

Submitted by PocketMine-MP 4.5.1

General information

Version: 4.5.1
Git commit: d641812c
Plugin involvement: Direct
Report date: 2022-06-23 10:38:23 +0000 UTC
Server uptime: 0 days 0 hours 13 minutes 12 seconds

System Information

PHP version: 8.0.19
Operating system: linux
System banner: Linux f965a880-b4af-424f-841d-08fdc6869b6a 4.15.0-184-generic #194-Ubuntu SMP Thu Jun 2 18:54:48 UTC 2022 x86_64

Error information

Warning: a plugin was directly involved in this crash. Please contact the plugin author.
Message: Unhandled async exception: pocketmine\item\ItemFactory::get(): Argument #1 ($id) must be of type int, string given, called in /home/container/plugins/OyPL/src/kingofturkey38/voting38/Main.php on line 86
File: /home/container/virions/await-generator_dev-86.phar/src/SOFe/AwaitGenerator/Await
Line: #512
Error level: SOFe\AwaitGenerator\AwaitException
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
		$this->sleeping = true;

parent::reject($throwable);
foreach($this->catches as $class => $onError){
if($class === "" || is_a($throwable, $class)){
$onError($throwable);
return;
}
}
throw new AwaitException("Unhandled async exception: {$throwable->getMessage()}", 0, $throwable);
}

/**
* @internal This is implementation detail. Existence, signature and behaviour are semver-exempt.
*/
public function isSleeping() : bool{
return $this->sleeping;
}
}
#0 /home/container/virions/await-generator_dev-86.phar/src/SOFe/AwaitGenerator/Await(264): SOFe\AwaitGenerator\Await->reject(object TypeError#137738)
#1 /home/container/virions/await-generator_dev-86.phar/src/SOFe/AwaitGenerator/Await(247): SOFe\AwaitGenerator\Await->wakeup(object Closure#136439)
#2 /home/container/virions/await-generator_dev-86.phar/src/SOFe/AwaitGenerator/Await(479): SOFe\AwaitGenerator\Await->wakeupFlat(object Closure#136439)
#3 /home/container/virions/await-generator_dev-86.phar/src/SOFe/AwaitGenerator/AwaitChild(52): SOFe\AwaitGenerator\Await->recheckPromiseQueue(object SOFe\AwaitGenerator\AwaitChild#135165)
#4 plugins/OyPL/src/kingofturkey38/voting38/storage/ClosureStorage(16): SOFe\AwaitGenerator\AwaitChild->resolve(string[1] 1)
#5 plugins/OyPL/src/kingofturkey38/voting38/Main(104): kingofturkey38\voting38\storage\ClosureStorage::executeClosure(string[13] 62b4429ea7ad8, string[1] 1)
#6 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(123): kingofturkey38\voting38\Main->onMessageFromThread()
#7 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(82): pocketmine\snooze\SleeperHandler->processNotifications()
#8 pmsrc/src/Server(1703): pocketmine\snooze\SleeperHandler->sleepUntil(float 1655980703.2934)
#9 pmsrc/src/Server(1063): pocketmine\Server->tickProcessor()
#10 pmsrc/src/PocketMine(304): pocketmine\Server->__construct(object BaseClassLoader#2, object pocketmine\utils\MainLogger#3, string[16] /home/container/, string[24] /home/container/plugins/)
#11 pmsrc/src/PocketMine(327): pocketmine\server()
#12 pmsrc(11): require(string[60] phar:///home/container/PocketMine-MP.phar/src/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed PHP Extensions

  • Show