This may have been this way for a while. I don’t delete posts often. This extension throws an oops error when deleting posts from the post's page. But the post deletes. There’s just an error and it looks like it didn’t delete until you refresh the page.
Error:
2021-03-11 09:18:30] flarum.ERROR: Symfony\Component\Debug\Exception\FatalThrowableError: Argument 1 passed to FoF\Gamification\Listeners\RemoveVoteHandler::handle() must be an instance of Flarum\Post\Event\Deleting, instance of Flarum\Post\Event\Deleted given, called in /vendor/illuminate/events/Dispatcher.php on line 389 in /vendor/fof/gamification/src/Listeners/RemoveVoteHandler.php:20
Stack trace:
#0 /vendor/illuminate/events/Dispatcher.php(389): FoF\Gamification\Listeners\RemoveVoteHandler->handle(Object(Flarum\Post\Event\Deleted))
#1 /vendor/illuminate/events/Dispatcher.php(218): Illuminate\Events\Dispatcher->Illuminate\Events{closure}('Flarum\Post\Eve...', Array)
I guess it could be another extension though. Messing with this extension. Oh boy... time to deactivate/reactivate extensions. Always a blast. 😜