You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 27, 2025. It is now read-only.
THIS CRASH WAS CAUSED BY A PLUGIN
BAD PLUGIN: PocketVote
Error: Declaration of ProjectInfinity\PocketVote\task\ExpireVotesTask::onRun(int $currentTick) must be compatible with pocketmine\scheduler\Task::onRun(): void
File: plugins/PocketVote-PocketMine_dev-1.phar/src/ProjectInfinity/PocketVote/task/ExpireVotesTask
Line: 10
Type: E_COMPILE_ERROR
Backtrace:
Code:
[1] <?php
[2]
[3] namespace ProjectInfinity\PocketVote\task;
[4]
[5] use pocketmine\scheduler\Task;
[6] use ProjectInfinity\PocketVote\PocketVote;
[7]
[8] class ExpireVotesTask extends Task {
[9]
[10] public function onRun(int $currentTick) {
[11] PocketVote::getPlugin()->getLogger()->debug('Cleaning up expired votes.');
[12] PocketVote::getPlugin()->getVoteManager()->expireVotes();
[13] }
[14] }
PocketMine-MP Crash Dump Mon Apr 11 21:22:30 UTC 2022
PocketMine-MP version: 4.2.6 [Protocol 486]
Git commit: 26aee7ff73a982dd45abf8184c715f290ce23fdb
PHP version: 8.0.17
OS: Linux, linux
THIS CRASH WAS CAUSED BY A PLUGIN
BAD PLUGIN: PocketVote
Error: Declaration of ProjectInfinity\PocketVote\task\ExpireVotesTask::onRun(int $currentTick) must be compatible with pocketmine\scheduler\Task::onRun(): void
File: plugins/PocketVote-PocketMine_dev-1.phar/src/ProjectInfinity/PocketVote/task/ExpireVotesTask
Line: 10
Type: E_COMPILE_ERROR
Backtrace:
Code:
[1] <?php
[2]
[3] namespace ProjectInfinity\PocketVote\task;
[4]
[5] use pocketmine\scheduler\Task;
[6] use ProjectInfinity\PocketVote\PocketVote;
[7]
[8] class ExpireVotesTask extends Task {
[9]
[10] public function onRun(int $currentTick) {
[11] PocketVote::getPlugin()->getLogger()->debug('Cleaning up expired votes.');
[12] PocketVote::getPlugin()->getVoteManager()->expireVotes();
[13] }
[14] }