datitisev

That actually helped a lot. Thanks.
Turning StopForumSpam Extension off made Spamblock work.

What to do next, if I try to get both extensions working?

    15 days later

    m4v3rick Turning StopForumSpam Extension off made Spamblock work.

    What to do next, if I try to get both extensions working?

    Push. thx

    16 days later

    Any chance this extension could make use of Moderator Notes if installed to indicate a suspension was applied via the Spammer extension on date... or something along those lines.

    6 months later

    Is it possible to provide a setting to hard-delete all posts/discussions instead of hiding them? Also an option to delete the user rather than suspending them? And finally an option to remove the user likes before suspending/deleting them?

    1.1.0

    • Recompile using Webpack 5
    • Add basic integration tests
    Updating
    composer require fof/spamblock
    php flarum cache:clear
    4 months later

    IP Address cannot be added [GoogleDNS]
    It always appears when i set someone as spam.any guidance?

    22 days later

    Is this still supported? I get an error "The requested resource was not found" when clicking the spammer button.

      m4v3rick But I have no idea why not online. I always get: "The requested resource was not found."

      cybereality Is this still supported? I get an error "The requested resource was not found" when clicking the spammer button.

      Follow this posting 😉.

      Seems like there is a problem with another extension:

      datitisev To solve this one, perhaps changing the regional endpoint for StopForumSpam would fix it? Though that is an issue with SFS now and not Spamblock (perhaps error should be clearer on that side too?)

      Edit:
      I was already asking for help but I guess it is not that important.

      4 months later

      There is a spammer in my flarum site. This person continue to post unrelated discussions, and use different email addresses and IPs.

      When I use spamblock, it says "IP Address cannot be added [CloudFlare]"

      Here is the log. Is the following ERROR have something to do with this plugin?

      [2023-08-12 18:21:13] flarum.ERROR: Exception: Serialization of 'Closure' is not allowed in /home/domain/public_html/flarum/vendor/illuminate/queue/Queue.php:158
      Stack trace:
      #0 /home/domain/public_html/flarum/vendor/illuminate/queue/Queue.php(158): serialize(Object(Askvortsov\FlarumPWA\Job\SendPushNotificationsJob))
      #1 /home/domain/public_html/flarum/vendor/illuminate/queue/Queue.php(127): Illuminate\Queue\Queue->createObjectPayload(Object(Askvortsov\FlarumPWA\Job\SendPushNotificationsJob), NULL)
      #2 /home/domain/public_html/flarum/vendor/illuminate/queue/Queue.php(105): Illuminate\Queue\Queue->createPayloadArray(Object(Askvortsov\FlarumPWA\Job\SendPushNotificationsJob), NULL, '')
      #3 /home/domain/public_html/flarum/vendor/illuminate/queue/SyncQueue.php(38): Illuminate\Queue\Queue->createPayload(Object(Askvortsov\FlarumPWA\Job\SendPushNotificationsJob), NULL, '')
      #4 /home/domain/public_html/flarum/vendor/askvortsov/flarum-pwa/src/PushNotificationDriver.php(67): Illuminate\Queue\SyncQueue->push(Object(Askvortsov\FlarumPWA\Job\SendPushNotificationsJob))
      #5 /home/domain/public_html/flarum/vendor/flarum/core/src/Notification/NotificationSyncer.php(117): Askvortsov\FlarumPWA\PushNotificationDriver->send(Object(Flarum\Mentions\Notification\UserMentionedBlueprint), Array)
      #6 /home/domain/public_html/flarum/vendor/flarum/mentions/src/Listener/UpdateMentionsMetadataWhenVisible.php(79): Flarum\Notification\NotificationSyncer->sync(Object(Flarum\Mentions\Notification\UserMentionedBlueprint), Array)
      #7 /home/domain/public_html/flarum/vendor/flarum/mentions/src/Listener/UpdateMentionsMetadataWhenVisible.php(53): Flarum\Mentions\Listener\UpdateMentionsMetadataWhenVisible->syncUserMentions(Object(Flarum\Post\CommentPost), Array)
      #8 /home/domain/public_html/flarum/vendor/illuminate/events/Dispatcher.php(424): Flarum\Mentions\Listener\UpdateMentionsMetadataWhenVisible->handle(Object(Flarum\Approval\Event\PostWasApproved))
      #9 /home/domain/public_html/flarum/vendor/illuminate/events/Dispatcher.php(249): Illuminate\Events\Dispatcher->Illuminate\Events{closure}('Flarum\Approval...', Array)
      #10 /home/domain/public_html/flarum/vendor/flarum/core/src/Foundation/DispatchEventsTrait.php(33): Illuminate\Events\Dispatcher->dispatch('Flarum\Approval...')
      #11 /home/domain/public_html/flarum/vendor/flarum/core/src/Post/Command/EditPostHandler.php(86): Flarum\Post\Command\EditPostHandler->dispatchEventsFor(Object(Flarum\Post\CommentPost), Object(Flarum\User\User))
      #12 /home/domain/public_html/flarum/vendor/illuminate/bus/Dispatcher.php(122): Flarum\Post\Command\EditPostHandler->handle(Object(Flarum\Post\Command\EditPost))
      #13 /home/domain/public_html/flarum/vendor/illuminate/pipeline/Pipeline.php(128): Illuminate\Bus\Dispatcher->Illuminate\Bus{closure}(Object(Flarum\Post\Command\EditPost))
      #14 /home/domain/public_html/flarum/vendor/illuminate/pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Flarum\Post\Command\EditPost))
      #15 /home/domain/public_html/flarum/vendor/illuminate/bus/Dispatcher.php(132): Illuminate\Pipeline\Pipeline->then(Object(Closure))
      #16 /home/domain/public_html/flarum/vendor/illuminate/bus/Dispatcher.php(78): Illuminate\Bus\Dispatcher->dispatchNow(Object(Flarum\Post\Command\EditPost))
      #17 /home/domain/public_html/flarum/vendor/fof/spamblock/src/Controllers/MarkAsSpammerController.php(91): Illuminate\Bus\Dispatcher->dispatch(Object(Flarum\Post\Command\EditPost))
      #18 /home/domain/public_html/flarum/vendor/illuminate/database/Concerns/BuildsQueries.php(51): FoF\Spamblock\Controllers\MarkAsSpammerController->FoF\Spamblock\Controllers{closure}(Object(Illuminate\Database\Eloquent\Collection), 1)
      #19 /home/domain/public_html/flarum/vendor/illuminate/support/Traits/ForwardsCalls.php(23): Illuminate\Database\Eloquent\Builder->chunk(50, Object(Closure))
      #20 /home/domain/public_html/flarum/vendor/illuminate/support/Traits/ForwardsCalls.php(52): Illuminate\Database\Eloquent\Relations\Relation->forwardCallTo(Object(Illuminate\Database\Eloquent\Builder), 'chunk', Array)
      #21 /home/domain/public_html/flarum/vendor/illuminate/database/Eloquent/Relations/Relation.php(481): Illuminate\Database\Eloquent\Relations\Relation->forwardDecoratedCallTo(Object(Illuminate\Database\Eloquent\Builder), 'chunk', Array)
      #22 /home/domain/public_html/flarum/vendor/fof/spamblock/src/Controllers/MarkAsSpammerController.php(101): Illuminate\Database\Eloquent\Relations\Relation->__call('chunk', Array)
      #23 /home/domain/public_html/flarum/vendor/flarum/core/src/Http/RouteHandlerFactory.php(41): FoF\Spamblock\Controllers\MarkAsSpammerController->handle(Object(Laminas\Diactoros\ServerRequest))
      #24 /home/domain/public_html/flarum/vendor/flarum/core/src/Http/Middleware/ExecuteRoute.php(27): Flarum\Http\RouteHandlerFactory->Flarum\Http{closure}(Object(Laminas\Diactoros\ServerRequest), Array)
      #25 /home/domain/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ExecuteRoute->process(Object(Laminas\Diactoros\ServerRequest), Object(Closure))
      #26 /home/domain/public_html/flarum/vendor/flarum/core/src/Api/Middleware/ThrottleApi.php(33): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
      #27 /home/domain/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Api\Middleware\ThrottleApi->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
      #28 /home/domain/public_html/flarum/vendor/flarum/core/src/Http/Middleware/CheckCsrfToken.php(44): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
      #29 /home/domain/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\CheckCsrfToken->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
      #30 /home/domain/public_html/flarum/vendor/flarum/core/src/Http/Middleware/ResolveRoute.php(69): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
      #31 /home/domain/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ResolveRoute->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
      #32 /home/domain/public_html/flarum/vendor/flarum/core/src/Http/Middleware/SetLocale.php(51): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
      #33 /home/domain/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\SetLocale->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
      #34 /home/domain/public_html/flarum/vendor/flarum/core/src/Http/Middleware/AuthenticateWithHeader.php(58): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
      #35 /home/domain/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\AuthenticateWithHeader->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
      #36 /home/domain/public_html/flarum/vendor/flarum/core/src/Http/Middleware/AuthenticateWithSession.php(31): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
      #37 /home/domain/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\AuthenticateWithSession->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
      #38 /home/domain/public_html/flarum/vendor/flarum/core/src/Http/Middleware/RememberFromCookie.php(52): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
      #39 /home/domain/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\RememberFromCookie->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
      #40 /home/domain/public_html/flarum/vendor/flarum/core/src/Http/Middleware/StartSession.php(61): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
      #41 /home/domain/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\StartSession->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
      #42 /home/domain/public_html/flarum/vendor/flarum/core/src/Api/Middleware/FakeHttpMethods.php(29): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
      #43 /home/domain/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Api\Middleware\FakeHttpMethods->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
      #44 /home/domain/public_html/flarum/vendor/flarum/core/src/Http/Middleware/ParseJsonBody.php(28): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
      #45 /home/domain/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ParseJsonBody->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
      #46 /home/domain/public_html/flarum/vendor/flarum/core/src/Http/Middleware/HandleErrors.php(57): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
      #47 /home/domain/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\HandleErrors->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
      #48 /home/domain/public_html/flarum/vendor/flarum/core/src/Http/Middleware/InjectActorReference.php(25): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
      #49 /home/domain/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\InjectActorReference->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
      #50 /home/domain/public_html/flarum/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(75): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
      #51 /home/domain/public_html/flarum/vendor/middlewares/request-handler/src/RequestHandler.php(84): Laminas\Stratigility\MiddlewarePipe->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
      #52 /home/domain/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Middlewares\RequestHandler->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
      #53 /home/domain/public_html/flarum/vendor/middlewares/base-path-router/src/BasePathRouter.php(101): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
      #54 /home/domain/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Middlewares\BasePathRouter->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
      #55 /home/domain/public_html/flarum/vendor/laminas/laminas-stratigility/src/Middleware/OriginalMessages.php(36): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
      #56 /home/domain/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Laminas\Stratigility\Middleware\OriginalMessages->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
      #57 /home/domain/public_html/flarum/vendor/middlewares/base-path/src/BasePath.php(73): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
      #58 /home/domain/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Middlewares\BasePath->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
      #59 /home/domain/public_html/flarum/vendor/flarum/core/src/Http/Middleware/ProcessIp.php(24): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
      #60 /home/domain/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ProcessIp->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
      #61 /home/domain/public_html/flarum/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(75): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
      #62 /home/domain/public_html/flarum/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(64): Laminas\Stratigility\MiddlewarePipe->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\EmptyPipelineHandler))
      #63 /home/domain/public_html/flarum/vendor/laminas/laminas-httphandlerrunner/src/RequestHandlerRunner.php(73): Laminas\Stratigility\MiddlewarePipe->handle(Object(Laminas\Diactoros\ServerRequest))
      #64 /home/domain/public_html/flarum/vendor/flarum/core/src/Http/Server.php(45): Laminas\HttpHandlerRunner\RequestHandlerRunner->run()
      #65 /home/domain/public_html/flarum/public/index.php(26): Flarum\Http\Server->listen()
      #66 {main}

      I can use Spamblock to mark Spammer in another flarum site of mine. Could it because it uses php 8.1? By the way, it also uses cloudflare, and no red warn message regading cloudflare at all.

        ash3T it's likely because you have not configured your webserver to restore the original visitor IP. Instead, Flarum only sees the Cloudflare proxy IP and not the original visitor IP. Blocking that proxy IP would not block a particular user but prevent Cloudflare from proxying any request from any user.

        There are various ways ways to access the original IP. Most solutions are configured at the webserver level https://developers.cloudflare.com/support/troubleshooting/restoring-visitor-ips/restoring-original-visitor-ips/

          ash3T In addition to what Clark said, unless I'm misremembering, this extension doesn't do anything with IP addresses. That functionality is added by fof/stopforumspam. This is just for your information, the info Clark provided still applies.

            2 months later

            it cant delete/hidden fof/byobu
            when a user has a conversation with another user, and the admin/mod marks this user as a spammer an error message will appear

            13 days later

            When i try to spam block anyone it is showing this - Oops! Something went wrong. Please reload the page and try again.

            Debug log -

            POST https://xyz.com/api/users/80242/spamblock
            
            TypeError: json_decode(): Argument #1 ($json) must be of type string, array given in /home/hacksnat/public_html/vendor/flarum/core/src/Post/AbstractEventPost.php:25
            Stack trace:
            #0 /home/hacksnat/public_html/vendor/flarum/core/src/Post/AbstractEventPost.php(25): json_decode(Array, true)
            #1 /home/hacksnat/public_html/vendor/the-turk/flarum-diff/src/Listeners/PostActions.php(80): Flarum\Post\AbstractEventPost->getContentAttribute(Array)
            #2 /home/hacksnat/public_html/vendor/illuminate/events/Dispatcher.php(404): TheTurk\Diff\Listeners\PostActions->whenSavingPost(Object(Flarum\Post\Event\Saving))
            #3 /home/hacksnat/public_html/vendor/illuminate/events/Dispatcher.php(249): Illuminate\Events\Dispatcher->Illuminate\Events\{closure}('Flarum\\Post\\Eve...', Array)
            #4 /home/hacksnat/public_html/vendor/flarum/core/src/Post/Command/EditPostHandler.php(78): Illuminate\Events\Dispatcher->dispatch('Flarum\\Post\\Eve...')
            #5 /home/hacksnat/public_html/vendor/illuminate/bus/Dispatcher.php(122): Flarum\Post\Command\EditPostHandler->handle(Object(Flarum\Post\Command\EditPost))
            #6 /home/hacksnat/public_html/vendor/illuminate/pipeline/Pipeline.php(128): Illuminate\Bus\Dispatcher->Illuminate\Bus\{closure}(Object(Flarum\Post\Command\EditPost))
            #7 /home/hacksnat/public_html/vendor/illuminate/pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Flarum\Post\Command\EditPost))
            #8 /home/hacksnat/public_html/vendor/illuminate/bus/Dispatcher.php(132): Illuminate\Pipeline\Pipeline->then(Object(Closure))
            #9 /home/hacksnat/public_html/vendor/illuminate/bus/Dispatcher.php(78): Illuminate\Bus\Dispatcher->dispatchNow(Object(Flarum\Post\Command\EditPost))
            #10 /home/hacksnat/public_html/vendor/fof/spamblock/src/Controllers/MarkAsSpammerController.php(89): Illuminate\Bus\Dispatcher->dispatch(Object(Flarum\Post\Command\EditPost))
            #11 /home/hacksnat/public_html/vendor/illuminate/database/Concerns/BuildsQueries.php(51): FoF\Spamblock\Controllers\MarkAsSpammerController->FoF\Spamblock\Controllers\{closure}(Object(Flarum\Database\Eloquent\Collection), 1)
            #12 /home/hacksnat/public_html/vendor/illuminate/support/Traits/ForwardsCalls.php(23): Illuminate\Database\Eloquent\Builder->chunk(50, Object(Closure))
            #13 /home/hacksnat/public_html/vendor/illuminate/support/Traits/ForwardsCalls.php(52): Illuminate\Database\Eloquent\Relations\Relation->forwardCallTo(Object(Illuminate\Database\Eloquent\Builder), 'chunk', Array)
            #14 /home/hacksnat/public_html/vendor/illuminate/database/Eloquent/Relations/Relation.php(481): Illuminate\Database\Eloquent\Relations\Relation->forwardDecoratedCallTo(Object(Illuminate\Database\Eloquent\Builder), 'chunk', Array)
            #15 /home/hacksnat/public_html/vendor/fof/spamblock/src/Controllers/MarkAsSpammerController.php(87): Illuminate\Database\Eloquent\Relations\Relation->__call('chunk', Array)
            #16 /home/hacksnat/public_html/vendor/flarum/core/src/Http/RouteHandlerFactory.php(41): FoF\Spamblock\Controllers\MarkAsSpammerController->handle(Object(Laminas\Diactoros\ServerRequest))
            #17 /home/hacksnat/public_html/vendor/flarum/core/src/Http/Middleware/ExecuteRoute.php(27): Flarum\Http\RouteHandlerFactory->Flarum\Http\{closure}(Object(Laminas\Diactoros\ServerRequest), Array)
            #18 /home/hacksnat/public_html/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ExecuteRoute->process(Object(Laminas\Diactoros\ServerRequest), Object(Closure))
            #19 /home/hacksnat/public_html/vendor/flarum/core/src/Api/Middleware/ThrottleApi.php(33): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
            #20 /home/hacksnat/public_html/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Api\Middleware\ThrottleApi->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
            #21 /home/hacksnat/public_html/vendor/flarum/core/src/Http/Middleware/CheckCsrfToken.php(44): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
            #22 /home/hacksnat/public_html/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\CheckCsrfToken->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
            #23 /home/hacksnat/public_html/vendor/flarum/core/src/Http/Middleware/ResolveRoute.php(69): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
            #24 /home/hacksnat/public_html/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ResolveRoute->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
            #25 /home/hacksnat/public_html/vendor/flarum/core/src/Http/Middleware/SetLocale.php(51): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
            #26 /home/hacksnat/public_html/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\SetLocale->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
            #27 /home/hacksnat/public_html/vendor/flarum/core/src/Http/Middleware/AuthenticateWithHeader.php(58): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
            #28 /home/hacksnat/public_html/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\AuthenticateWithHeader->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
            #29 /home/hacksnat/public_html/vendor/flarum/core/src/Http/Middleware/AuthenticateWithSession.php(31): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
            #30 /home/hacksnat/public_html/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\AuthenticateWithSession->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
            #31 /home/hacksnat/public_html/vendor/flarum/core/src/Http/Middleware/RememberFromCookie.php(52): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
            #32 /home/hacksnat/public_html/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\RememberFromCookie->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
            #33 /home/hacksnat/public_html/vendor/flarum/core/src/Http/Middleware/StartSession.php(61): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
            #34 /home/hacksnat/public_html/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\StartSession->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
            #35 /home/hacksnat/public_html/vendor/flarum/core/src/Api/Middleware/FakeHttpMethods.php(29): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
            #36 /home/hacksnat/public_html/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Api\Middleware\FakeHttpMethods->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
            #37 /home/hacksnat/public_html/vendor/flarum/core/src/Http/Middleware/ParseJsonBody.php(28): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
            #38 /home/hacksnat/public_html/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ParseJsonBody->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
            #39 /home/hacksnat/public_html/vendor/flarum/core/src/Http/Middleware/HandleErrors.php(57): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
            #40 /home/hacksnat/public_html/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\HandleErrors->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
            #41 /home/hacksnat/public_html/vendor/flarum/core/src/Http/Middleware/InjectActorReference.php(25): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
            #42 /home/hacksnat/public_html/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\InjectActorReference->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
            #43 /home/hacksnat/public_html/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(75): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
            #44 /home/hacksnat/public_html/vendor/middlewares/request-handler/src/RequestHandler.php(84): Laminas\Stratigility\MiddlewarePipe->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
            #45 /home/hacksnat/public_html/vendor/laminas/laminas-stratigility/src/Next.php(49): Middlewares\RequestHandler->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
            #46 /home/hacksnat/public_html/vendor/middlewares/base-path-router/src/BasePathRouter.php(99): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
            #47 /home/hacksnat/public_html/vendor/laminas/laminas-stratigility/src/Next.php(49): Middlewares\BasePathRouter->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
            #48 /home/hacksnat/public_html/vendor/laminas/laminas-stratigility/src/Middleware/OriginalMessages.php(36): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
            #49 /home/hacksnat/public_html/vendor/laminas/laminas-stratigility/src/Next.php(49): Laminas\Stratigility\Middleware\OriginalMessages->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
            #50 /home/hacksnat/public_html/vendor/middlewares/base-path/src/BasePath.php(73): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
            #51 /home/hacksnat/public_html/vendor/laminas/laminas-stratigility/src/Next.php(49): Middlewares\BasePath->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
            #52 /home/hacksnat/public_html/vendor/flarum/core/src/Http/Middleware/ProcessIp.php(24): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
            #53 /home/hacksnat/public_html/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ProcessIp->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
            #54 /home/hacksnat/public_html/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(75): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
            #55 /home/hacksnat/public_html/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(64): Laminas\Stratigility\MiddlewarePipe->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\EmptyPipelineHandler))
            #56 /home/hacksnat/public_html/vendor/laminas/laminas-httphandlerrunner/src/RequestHandlerRunner.php(73): Laminas\Stratigility\MiddlewarePipe->handle(Object(Laminas\Diactoros\ServerRequest))
            #57 /home/hacksnat/public_html/vendor/flarum/core/src/Http/Server.php(45): Laminas\HttpHandlerRunner\RequestHandlerRunner->run()
            #58 /home/hacksnat/public_html/index.php(26): Flarum\Http\Server->listen()
            #59 {main}
              Merged 1 post from Spam Block Error.
              10 days later

              xasharma Looks like the error comes from the-turk/flarum-diff requesting the old content from a post that is being hidden. From the first line, looks like that post is an event post - it doesn't have a text content.

              This could theoretically be fixed by not hiding event posts (not sure Flarum even allows doing that in the front-end).
              Otherwise the diff extension would have to fix it directly.

              This is what I'm assuming from looking at the code - didn't try to reproduce the issue. But it's related to event posts & the diff ext.

              6 days later
              10 days later

              ❗️

              This extension has been superseded by FoF Anti Spam.

              No further updates will be made to this extension moving forward.