menu
#4874092 Too few arguments to function VitalHCF\Task\Scoreboard::__construct(), 1 passed in phar:///home/container/plugins/Unknown.phar/src/VitalHCF/Task/asynctask/LoadPlayerData.php on line 93 and exactly 2 expected

Submitted by PocketMine-MP 3.18.0

General information

Version: 3.18.0
Git commit: 3f649062
Plugin involvement: Direct
Report date: 2021-04-08 06:41:38 +0000 UTC
Server uptime: 0 days 0 hours 1 minutes 42 seconds

System Information

PHP version: 7.3.21
Operating system: linux
System banner: Linux 1ce5cfa5-e0aa-40cb-893e-0c0a15499da1 4.15.0-124-generic #127-Ubuntu SMP Fri Nov 6 10:54:43 UTC 2020 x86_64

Error information

Warning: the VitalHCF plugin was directly involved in this crash. Please contact the plugin author.
Message: Too few arguments to function VitalHCF\Task\Scoreboard::__construct(), 1 passed in phar:///home/container/plugins/Unknown.phar/src/VitalHCF/Task/asynctask/LoadPlayerData.php on line 93 and exactly 2 expected
File: plugins/Unknown.phar/src/VitalHCF/Task/Scoreboard
Line: #30
Error level: ArgumentCountError
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
    /** @var Player */
protected $player;

protected $plugin;

/**
* Scoreboard Constructor.
* @param Player $player
*/
public function __construct(Player $player, Loader $plugin)
{
$this->player = $player;
$this->plugin = $plugin;
}

/**
* @param Int $currentTick
* @return void
*/
public function onRun(int $currentTick): void
#0 plugins/Unknown.phar/src/VitalHCF/Task/asynctask/LoadPlayerData(93): VitalHCF\Task\Scoreboard->__construct(object VitalHCF\player\Player)
#1 pmsrc/src/pocketmine/scheduler/AsyncPool(319): VitalHCF\Task\asynctask\LoadPlayerData->onCompletion(object pocketmine\Server)
#2 pmsrc/src/pocketmine/Server(2393): pocketmine\scheduler\AsyncPool->collectTasks()
#3 pmsrc/src/pocketmine/Server(2152): pocketmine\Server->tick()
#4 pmsrc/src/pocketmine/Server(1992): pocketmine\Server->tickProcessor()
#5 pmsrc/src/pocketmine/Server(1586): pocketmine\Server->start()
#6 pmsrc/src/pocketmine/PocketMine(291): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/container/, string[24] /home/container/plugins/)
#7 pmsrc/src/pocketmine/PocketMine(321): pocketmine\server()
#8 pmsrc(11): require(string[71] phar:///home/container/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show