Skip to content
This repository was archived by the owner on Apr 27, 2025. It is now read-only.
This repository was archived by the owner on Apr 27, 2025. It is now read-only.

Crash #31

@xodamcm

Description

@xodamcm

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] }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions