menu
#7034615 Declaration of BaliGamerz\SkyBlock\Main::onLoad() must be compatible with pocketmine\plugin\PluginBase::onLoad(): void

Submitted by PocketMine-MP 4.5.1

General information

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

System Information

PHP version: 8.0.18
Operating system: win
System banner: Windows NT LAPTOP-4SF8NQRM 10.0 build 19044 (Windows 10) AMD64

Error information

Warning: a plugin was directly involved in this crash. Please contact the plugin author.
Message: Declaration of BaliGamerz\SkyBlock\Main::onLoad() must be compatible with pocketmine\plugin\PluginBase::onLoad(): void
File: plugins/NichiSkyblock-main/src/BaliGamerz/SkyBlock/Main
Line: #119
Error level: E_COMPILE_ERROR
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129

public $rankPlugin = null;
public $factionPro = null;

/**
* @var array $disablePlayer
*/
public $disablePlayer = [];

public function onLoad()
{
$this->initialize();
}

public function onEnable()
{
$this->score = new ScoreBuilder($this);
if ($this->hasBossBar()) {
$this->bossBar = new DiverseBossBar();
}

Loaded Plugins

  • Show

Server Settings

  • Show

Installed PHP Extensions

  • Show