Anonymous Posting

MIT license Latest Stable Version Total Downloads Donate

This extension allows users to create discussions and replies without revealing their usernames except to moderators.

Moderators can also switch existing discussions and posts between anonymous and regular.
The discussion and first post must be updated separately!

Anonymous post authors can still edit their posts like if they were regular posts from them.
Anonymous posts are made visible to moderators and authors on their user profile, but regular users can't see the association.

Unfortunately the author of the anonymous content will still be rendered as [deleted] by Flarum in some places.
You can use the Prominent Post Numbers extension to switch some of these texts to the post number instead.

Some Flarum notification templates are not able to handle posts without authors and will throw PHP warnings while trying to access properties of null objects.
If you hide PHP warnings output in php.ini most notifications should continue to send fine without errors and will just show the raw translation placeholder where a display name is supposed to be.

You should not use the Author Change extension on an anonymous post, it can lead to unexpected errors.
Instead, you should first de-anonymize the post before changing the author.

Installation

This extension requires PHP 7.4 or higher.

composer require clarkwinkelmann/flarum-ext-anonymous-posting

Anonymous Avatars

The anonymous avatars feature allows customizing the avatar of anonymous posts based on attributes of the real author's profile.

This feature requires the premium Formulaire extension which can be purchased via Extiverse.

See README file on GitHub for setup instructions.

Support

This extension is under minimal maintenance.

It was developed for a client and released as open-source for the benefit of the community.
I might publish simple bugfixes or compatibility updates for free.

You can contact me to sponsor additional features or updates.

Support is offered on a "best effort" basis through the Flarum community thread.

Sponsors: andyli0123

Links

    Justoverclock thanks, it's something I wanted to work on for some time, I'm glad someone reached out to sponsor its creation.


    If anyone's interested in a bit of trivia, this extension might sound similar to the other Guest posting extension which I helped create, but there's almost no overlap in the features between the 2 (and it's 2 entirely different codebases).

    This extension just hides the identity of existing users, while still adhering to all Flarum moderation features, like account activation, group permissions and suspension. The completely guest posting extension cannot do that since the posts aren't tied to actual Flarum users.

    Being connected to real user accounts make it possible to have editable posts, as well as a way to find/recognize your own anonymous posts easily even though other users can't know they are from you.

    Both extension have similar issues with Flarum around posts that don't have an author at creation time. Flarum doesn't like when that happens, hopefully this will be improved in future Flarum release to make sure no errors and no warnings are outputted when an extension removes the post author prior to publishing.

    Flarum also struggles around the notification API because it's generally expected a notification will have a "sender" user, but in the case of anonymous posts, the "sender" has to be redacted to prevent leaking the real post author. Since the "sender" is saved in its own database column, that column is now empty and there's no way to create a dummy user that's dynamically defined by post attribute. Other places in the UI like the post stream and discussion list are able to render a dummy user because the post and its hidden metadata is accessible.

    Also here are a few ideas that were not added to the extension but could be done as sponsored features if anyone is interested:

    • An indicator on an anonymous post whether the anonymous author is also the anonymous discussion starter
    • A unique color or icon or fake name for the same anonymous author inside a single discussion
    • The ability for users to anonymize or de-anonymize their own posts based on a permission or time limit
    • An anonymous user card that pulls more data out of Formulaire, FoF User Bio or registration/post stats. This information could also possibly be hidden from the real profiles so it's harder to guess who an anonymous profile belongs to
    • Integration with more extensions / data types. Currently features like discussion fields or polls might leak the author since those features record the actor by themselves as well.

    I’m very interested in this. Can this be enabled for specific tags only?

      Scumi no, it's always a global setting in the current version.

      Tag restriction could be implemented though. It's easy for replies, but a bit more complex for new discussions.

        16 days later

        mueenulit I don't have any quick solution, you would have to play with the custom CSS.

        This didn't seem to be an issue for my client, they probably had less extensions enabled.

          9 days later
          5 days later
          19 days later

          Hi, thank you so much for making this extension public! Just a quick question, is this extension still under development? (possible future updates) or just one-time release?

          because it might be even better and nice if there's an option like "anonymous posting is only available for certain tags"

          But thank you very much for releasing this nice extension again!

          PS:
          I also ran into this issue: when a user hit the 'like' button, then there will be error saying something like this:
          PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'user_id' cannot be null in

            lichengkun135 you can contact me to get a quote for the additional feature. There are no free updates planned.

            For the error, can you share the full backtrace? Including the lines below that start with #0 or #1 and count up.

            Maybe it's related to a user having like notifications enabled. I thought this was handled but I don't remember testing this use case explicitly for the original client.

            I can confirm there's indeed an issue with liking anonymous posts.

            I have created an issue for it but I have no plan to fix it clarkwinkelmann/flarum-ext-anonymous-posting2

            Current workaround is to disable the likes extension.

            If someone wants to sponsor the fix, there are a few solutions:

            • Prevent liking anonymous posts (quickest solution)
            • Allow liking anonymous posts but don't send any notification (medium complexity)
            • Allow liking anonymous posts and send notification to original author (the most complicated)

            There's a good chance notifications from other untested extensions are also broken. Unfortunately the fix to make the few supported notifications work properly causes other notifications to no longer work. There's no magic solution to get all notification working, it requires choosing which notifications to support.

              clarkwinkelmann I'd be interested in getting this extension to work for a project (besides the other project we have 😉). I gave it a spin but instantly got errored out: Want to test some things out maybe there are other things that need some tweaking.

              Next Illuminate\Database\QueryException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'FORUM.board_anonymous_user_discussion' doesn't exist (SQL: select count(*) as aggregate from `board_discussions` inner join `board_anonymous_user_discussion` on `board_discussions`.`id` = `board_anonymous_user_discussion`.`discussion_id` where `board_anonymous_user_discussion`.`anonymous_user_id` is null) in /var/www/vhosts/FORUM.info/httpdocs/vendor/illuminate/database/Connection.php:712
              Stack trace:
              #0 /var/www/vhosts/FORUM.info/httpdocs/vendor/illuminate/database/Connection.php(672): Illuminate\Database\Connection->runQueryCallback()
              #1 /var/www/vhosts/FORUM.info/httpdocs/vendor/illuminate/database/Connection.php(376): Illuminate\Database\Connection->run()
              #2 /var/www/vhosts/FORUM.info/httpdocs/vendor/illuminate/database/Query/Builder.php(2414): Illuminate\Database\Connection->select()
              #3 /var/www/vhosts/FORUM.info/httpdocs/vendor/illuminate/database/Query/Builder.php(2402): Illuminate\Database\Query\Builder->runSelect()
              #4 /var/www/vhosts/FORUM.info/httpdocs/vendor/illuminate/database/Query/Builder.php(2936): Illuminate\Database\Query\Builder->Illuminate\Database\Query\{closure}()
              #5 /var/www/vhosts/FORUM.info/httpdocs/vendor/illuminate/database/Query/Builder.php(2403): Illuminate\Database\Query\Builder->onceWithColumns()
              #6 /var/www/vhosts/FORUM.info/httpdocs/vendor/illuminate/database/Query/Builder.php(2863): Illuminate\Database\Query\Builder->get()
              #7 /var/www/vhosts/FORUM.info/httpdocs/vendor/illuminate/database/Query/Builder.php(2791): Illuminate\Database\Query\Builder->aggregate()
              #8 /var/www/vhosts/FORUM.info/httpdocs/vendor/illuminate/database/Eloquent/Builder.php(1657): Illuminate\Database\Query\Builder->count()
              #9 /var/www/vhosts/FORUM.info/httpdocs/vendor/illuminate/support/Traits/ForwardsCalls.php(23): Illuminate\Database\Eloquent\Builder->__call()
              #10 /var/www/vhosts/FORUM.info/httpdocs/vendor/illuminate/support/Traits/ForwardsCalls.php(52): Illuminate\Database\Eloquent\Relations\Relation->forwardCallTo()
              #11 /var/www/vhosts/FORUM.info/httpdocs/vendor/illuminate/database/Eloquent/Relations/Relation.php(481): Illuminate\Database\Eloquent\Relations\Relation->forwardDecoratedCallTo()
              #12 /var/www/vhosts/FORUM.info/httpdocs/vendor/askvortsov/flarum-auto-moderator/src/Metric/DiscussionsEntered.php(40): Illuminate\Database\Eloquent\Relations\Relation->__call()
              #13 /var/www/vhosts/FORUM.info/httpdocs/vendor/askvortsov/flarum-auto-moderator/src/CriteriaCalculator.php(80): Askvortsov\AutoModerator\Metric\DiscussionsEntered->getValue()
              #14 /var/www/vhosts/FORUM.info/httpdocs/vendor/askvortsov/flarum-auto-moderator/src/CriteriaCalculator.php(52): Askvortsov\AutoModerator\CriteriaCalculator->calcMetrics()
              #15 /var/www/vhosts/FORUM.info/httpdocs/vendor/askvortsov/flarum-auto-moderator/src/Provider/AutoModeratorProvider.php(60): Askvortsov\AutoModerator\CriteriaCalculator->recalculate()
              #16 /var/www/vhosts/FORUM.info/httpdocs/vendor/illuminate/events/Dispatcher.php(404): Askvortsov\AutoModerator\Provider\AutoModeratorProvider->Askvortsov\AutoModerator\Provider\{closure}()
              #17 /var/www/vhosts/FORUM.info/httpdocs/vendor/illuminate/events/Dispatcher.php(249): Illuminate\Events\Dispatcher->Illuminate\Events\{closure}()
              #18 /var/www/vhosts/FORUM.info/httpdocs/vendor/flarum/core/src/Foundation/DispatchEventsTrait.php(33): Illuminate\Events\Dispatcher->dispatch()
              #19 /var/www/vhosts/FORUM.info/httpdocs/vendor/flarum/core/src/Post/Command/PostReplyHandler.php(104): Flarum\Post\Command\PostReplyHandler->dispatchEventsFor()
              #20 /var/www/vhosts/FORUM.info/httpdocs/vendor/flarum/core/src/Notification/NotificationSyncer.php(148): Flarum\Post\Command\PostReplyHandler->Flarum\Post\Command\{closure}()
              #21 /var/www/vhosts/FORUM.info/httpdocs/vendor/flarum/core/src/Post/Command/PostReplyHandler.php(105): Flarum\Notification\NotificationSyncer->onePerUser()
              #22 /var/www/vhosts/FORUM.info/httpdocs/vendor/illuminate/bus/Dispatcher.php(122): Flarum\Post\Command\PostReplyHandler->handle()
              #23 /var/www/vhosts/FORUM.info/httpdocs/vendor/illuminate/pipeline/Pipeline.php(128): Illuminate\Bus\Dispatcher->Illuminate\Bus\{closure}()
              #24 /var/www/vhosts/FORUM.info/httpdocs/vendor/illuminate/pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
              #25 /var/www/vhosts/FORUM.info/httpdocs/vendor/illuminate/bus/Dispatcher.php(132): Illuminate\Pipeline\Pipeline->then()
              #26 /var/www/vhosts/FORUM.info/httpdocs/vendor/illuminate/bus/Dispatcher.php(78): Illuminate\Bus\Dispatcher->dispatchNow()
              #27 /var/www/vhosts/FORUM.info/httpdocs/vendor/flarum/core/src/Discussion/Command/StartDiscussionHandler.php(82): Illuminate\Bus\Dispatcher->dispatch()
              #28 /var/www/vhosts/FORUM.info/httpdocs/vendor/illuminate/bus/Dispatcher.php(122): Flarum\Discussion\Command\StartDiscussionHandler->handle()
              #29 /var/www/vhosts/FORUM.info/httpdocs/vendor/illuminate/pipeline/Pipeline.php(128): Illuminate\Bus\Dispatcher->Illuminate\Bus\{closure}()
              #30 /var/www/vhosts/FORUM.info/httpdocs/vendor/illuminate/pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
              #31 /var/www/vhosts/FORUM.info/httpdocs/vendor/illuminate/bus/Dispatcher.php(132): Illuminate\Pipeline\Pipeline->then()
              #32 /var/www/vhosts/FORUM.info/httpdocs/vendor/illuminate/bus/Dispatcher.php(78): Illuminate\Bus\Dispatcher->dispatchNow()
              #33 /var/www/vhosts/FORUM.info/httpdocs/vendor/flarum/core/src/Api/Controller/CreateDiscussionController.php(62): Illuminate\Bus\Dispatcher->dispatch()
              #34 /var/www/vhosts/FORUM.info/httpdocs/vendor/flarum/core/src/Api/Controller/AbstractSerializeController.php(115): Flarum\Api\Controller\CreateDiscussionController->data()
              #35 /var/www/vhosts/FORUM.info/httpdocs/vendor/flarum/core/src/Api/Controller/AbstractCreateController.php(22): Flarum\Api\Controller\AbstractSerializeController->handle()
              #36 /var/www/vhosts/FORUM.info/httpdocs/vendor/flarum/core/src/Http/RouteHandlerFactory.php(41): Flarum\Api\Controller\AbstractCreateController->handle()
              #37 /var/www/vhosts/FORUM.info/httpdocs/vendor/flarum/core/src/Http/Middleware/ExecuteRoute.php(27): Flarum\Http\RouteHandlerFactory->Flarum\Http\{closure}()
              #38 /var/www/vhosts/FORUM.info/httpdocs/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ExecuteRoute->process()
              #39 /var/www/vhosts/FORUM.info/httpdocs/vendor/kilowhat/flarum-ext-audit-pro/src/Middlewares/ExtendSetPermissionController.php(19): Laminas\Stratigility\Next->handle()
              #40 /var/www/vhosts/FORUM.info/httpdocs/vendor/laminas/laminas-stratigility/src/Next.php(49): Kilowhat\Audit\Middlewares\ExtendSetPermissionController->process()
              #41 /var/www/vhosts/FORUM.info/httpdocs/vendor/kilowhat/flarum-ext-audit-pro/src/Middlewares/SetLoggerActor.php(28): Laminas\Stratigility\Next->handle()
              #42 /var/www/vhosts/FORUM.info/httpdocs/vendor/laminas/laminas-stratigility/src/Next.php(49): Kilowhat\Audit\Middlewares\SetLoggerActor->process()
              #43 /var/www/vhosts/FORUM.info/httpdocs/vendor/flarum/core/src/Api/Middleware/ThrottleApi.php(33): Laminas\Stratigility\Next->handle()
              #44 /var/www/vhosts/FORUM.info/httpdocs/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Api\Middleware\ThrottleApi->process()
              #45 /var/www/vhosts/FORUM.info/httpdocs/vendor/flarum/core/src/Http/Middleware/CheckCsrfToken.php(44): Laminas\Stratigility\Next->handle()
              #46 /var/www/vhosts/FORUM.info/httpdocs/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\CheckCsrfToken->process()
              #47 /var/www/vhosts/FORUM.info/httpdocs/vendor/flarum/core/src/Http/Middleware/ResolveRoute.php(67): Laminas\Stratigility\Next->handle()
              #48 /var/www/vhosts/FORUM.info/httpdocs/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ResolveRoute->process()
              #49 /var/www/vhosts/FORUM.info/httpdocs/vendor/datitisev/flarum-maintenance/src/Middleware/APIMaintenance.php(19): Laminas\Stratigility\Next->handle()
              #50 /var/www/vhosts/FORUM.info/httpdocs/vendor/laminas/laminas-stratigility/src/Next.php(49): Datitisev\Maintenance\Middleware\APIMaintenance->process()
              #51 /var/www/vhosts/FORUM.info/httpdocs/vendor/flarum/core/src/Http/Middleware/SetLocale.php(51): Laminas\Stratigility\Next->handle()
              #52 /var/www/vhosts/FORUM.info/httpdocs/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\SetLocale->process()
              #53 /var/www/vhosts/FORUM.info/httpdocs/vendor/flarum/core/src/Http/Middleware/AuthenticateWithHeader.php(58): Laminas\Stratigility\Next->handle()
              #54 /var/www/vhosts/FORUM.info/httpdocs/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\AuthenticateWithHeader->process()
              #55 /var/www/vhosts/FORUM.info/httpdocs/vendor/flarum/core/src/Http/Middleware/AuthenticateWithSession.php(31): Laminas\Stratigility\Next->handle()
              #56 /var/www/vhosts/FORUM.info/httpdocs/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\AuthenticateWithSession->process()
              #57 /var/www/vhosts/FORUM.info/httpdocs/vendor/flarum/core/src/Http/Middleware/RememberFromCookie.php(52): Laminas\Stratigility\Next->handle()
              #58 /var/www/vhosts/FORUM.info/httpdocs/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\RememberFromCookie->process()
              #59 /var/www/vhosts/FORUM.info/httpdocs/vendor/flarum/core/src/Http/Middleware/StartSession.php(61): Laminas\Stratigility\Next->handle()
              #60 /var/www/vhosts/FORUM.info/httpdocs/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\StartSession->process()
              #61 /var/www/vhosts/FORUM.info/httpdocs/vendor/flarum/core/src/Api/Middleware/FakeHttpMethods.php(29): Laminas\Stratigility\Next->handle()
              #62 /var/www/vhosts/FORUM.info/httpdocs/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Api\Middleware\FakeHttpMethods->process()
              #63 /var/www/vhosts/FORUM.info/httpdocs/vendor/flarum/core/src/Http/Middleware/ParseJsonBody.php(28): Laminas\Stratigility\Next->handle()
              #64 /var/www/vhosts/FORUM.info/httpdocs/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ParseJsonBody->process()
              #65 /var/www/vhosts/FORUM.info/httpdocs/vendor/flarum/core/src/Http/Middleware/HandleErrors.php(57): Laminas\Stratigility\Next->handle()
              #66 /var/www/vhosts/FORUM.info/httpdocs/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\HandleErrors->process()
              #67 /var/www/vhosts/FORUM.info/httpdocs/vendor/flarum/core/src/Http/Middleware/InjectActorReference.php(25): Laminas\Stratigility\Next->handle()
              #68 /var/www/vhosts/FORUM.info/httpdocs/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\InjectActorReference->process()
              #69 /var/www/vhosts/FORUM.info/httpdocs/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(75): Laminas\Stratigility\Next->handle()
              #70 /var/www/vhosts/FORUM.info/httpdocs/vendor/middlewares/request-handler/src/RequestHandler.php(84): Laminas\Stratigility\MiddlewarePipe->process()
              #71 /var/www/vhosts/FORUM.info/httpdocs/vendor/laminas/laminas-stratigility/src/Next.php(49): Middlewares\RequestHandler->process()
              #72 /var/www/vhosts/FORUM.info/httpdocs/vendor/middlewares/base-path-router/src/BasePathRouter.php(101): Laminas\Stratigility\Next->handle()
              #73 /var/www/vhosts/FORUM.info/httpdocs/vendor/laminas/laminas-stratigility/src/Next.php(49): Middlewares\BasePathRouter->process()
              #74 /var/www/vhosts/FORUM.info/httpdocs/vendor/laminas/laminas-stratigility/src/Middleware/OriginalMessages.php(36): Laminas\Stratigility\Next->handle()
              #75 /var/www/vhosts/FORUM.info/httpdocs/vendor/laminas/laminas-stratigility/src/Next.php(49): Laminas\Stratigility\Middleware\OriginalMessages->process()
              #76 /var/www/vhosts/FORUM.info/httpdocs/vendor/middlewares/base-path/src/BasePath.php(73): Laminas\Stratigility\Next->handle()
              #77 /var/www/vhosts/FORUM.info/httpdocs/vendor/laminas/laminas-stratigility/src/Next.php(49): Middlewares\BasePath->process()
              #78 /var/www/vhosts/FORUM.info/httpdocs/vendor/flarum/core/src/Http/Middleware/ProcessIp.php(24): Laminas\Stratigility\Next->handle()
              #79 /var/www/vhosts/FORUM.info/httpdocs/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ProcessIp->process()
              #80 /var/www/vhosts/FORUM.info/httpdocs/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(75): Laminas\Stratigility\Next->handle()
              #81 /var/www/vhosts/FORUM.info/httpdocs/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(64): Laminas\Stratigility\MiddlewarePipe->process()
              #82 /var/www/vhosts/FORUM.info/httpdocs/vendor/laminas/laminas-httphandlerrunner/src/RequestHandlerRunner.php(96): Laminas\Stratigility\MiddlewarePipe->handle()
              #83 /var/www/vhosts/FORUM.info/httpdocs/vendor/datitisev/flarum-maintenance/src/Overrides/Http/Server.php(54): Laminas\HttpHandlerRunner\RequestHandlerRunner->run()
              #84 /var/www/vhosts/FORUM.info/httpdocs/public/index.php(26): Flarum\Http\Server->listen()
              #85 {main}  

              Version 1.0.1

              This release changes how the "Anonymous" username is injected into Flarum email notifications to improve compatibility with other extensions that might read that value somewhere not related to notifications.

              This might also unintentionally make the feature work in asynchronous queues, where I don't think it worked before. This was however not tested.

              New error messages were also added in case other extensions are still incompatible, so that the code fails before trying to perform any SQL query.


              My original intent with this update was to add more error messages so it's clearer where any incompatibility comes from, but to add the error handling code I had to move the problematic code around and I think I ended up unintentionally fixing most of the issues 🙉

              Linking posts no longer errors (but doesn't send any notification either) and I think it might also solve the AutoModerator stuff.

                clarkwinkelmann thanks for the effort you are putting into this. SQL Error is gone and the post gets created. The auto-moderator issue remains for me at least (or it's a new one):

                [2022-08-25 19:12:03] flarum.ERROR: TypeError: Askvortsov\AutoModerator\CriteriaCalculator::recalculate(): Argument #1 ($user) must be of type Flarum\User\User, null given, called in /var/www/vhosts/FORUM/httpdocs/vendor/askvortsov/flarum-auto-moderator/src/Provider/AutoModeratorProvider.php on line 60 and defined in /var/www/vhosts/FORUM/httpdocs/vendor/askvortsov/flarum-auto-moderator/src/CriteriaCalculator.php:50
                Stack trace:
                #0 /var/www/vhosts/FORUM/httpdocs/vendor/askvortsov/flarum-auto-moderator/src/Provider/AutoModeratorProvider.php(60): Askvortsov\AutoModerator\CriteriaCalculator->recalculate()
                #1 /var/www/vhosts/FORUM/httpdocs/vendor/illuminate/events/Dispatcher.php(404): Askvortsov\AutoModerator\Provider\AutoModeratorProvider->Askvortsov\AutoModerator\Provider\{closure}()
                #2 /var/www/vhosts/FORUM/httpdocs/vendor/illuminate/events/Dispatcher.php(249): Illuminate\Events\Dispatcher->Illuminate\Events\{closure}()
                #3 /var/www/vhosts/FORUM/httpdocs/vendor/flarum/core/src/Foundation/DispatchEventsTrait.php(33): Illuminate\Events\Dispatcher->dispatch()
                #4 /var/www/vhosts/FORUM/httpdocs/vendor/flarum/core/src/Post/Command/PostReplyHandler.php(104): Flarum\Post\Command\PostReplyHandler->dispatchEventsFor()
                #5 /var/www/vhosts/FORUM/httpdocs/vendor/flarum/core/src/Notification/NotificationSyncer.php(148): Flarum\Post\Command\PostReplyHandler->Flarum\Post\Command\{closure}()
                #6 /var/www/vhosts/FORUM/httpdocs/vendor/flarum/core/src/Post/Command/PostReplyHandler.php(105): Flarum\Notification\NotificationSyncer->onePerUser()
                #7 /var/www/vhosts/FORUM/httpdocs/vendor/illuminate/bus/Dispatcher.php(122): Flarum\Post\Command\PostReplyHandler->handle()
                #8 /var/www/vhosts/FORUM/httpdocs/vendor/illuminate/pipeline/Pipeline.php(128): Illuminate\Bus\Dispatcher->Illuminate\Bus\{closure}()
                #9 /var/www/vhosts/FORUM/httpdocs/vendor/clarkwinkelmann/flarum-ext-anonymous-posting/src/FakeUserRelation/FakeUserHydratorPipe.php(17): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
                #10 /var/www/vhosts/FORUM/httpdocs/vendor/illuminate/pipeline/Pipeline.php(167): ClarkWinkelmann\AnonymousPosting\FakeUserRelation\FakeUserHydratorPipe->handle()
                #11 /var/www/vhosts/FORUM/httpdocs/vendor/illuminate/pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
                #12 /var/www/vhosts/FORUM/httpdocs/vendor/illuminate/bus/Dispatcher.php(132): Illuminate\Pipeline\Pipeline->then()
                #13 /var/www/vhosts/FORUM/httpdocs/vendor/illuminate/bus/Dispatcher.php(78): Illuminate\Bus\Dispatcher->dispatchNow()
                #14 /var/www/vhosts/FORUM/httpdocs/vendor/flarum/core/src/Discussion/Command/StartDiscussionHandler.php(82): Illuminate\Bus\Dispatcher->dispatch()
                #15 /var/www/vhosts/FORUM/httpdocs/vendor/illuminate/bus/Dispatcher.php(122): Flarum\Discussion\Command\StartDiscussionHandler->handle()
                #16 /var/www/vhosts/FORUM/httpdocs/vendor/illuminate/pipeline/Pipeline.php(128): Illuminate\Bus\Dispatcher->Illuminate\Bus\{closure}()
                #17 /var/www/vhosts/FORUM/httpdocs/vendor/clarkwinkelmann/flarum-ext-anonymous-posting/src/FakeUserRelation/FakeUserHydratorPipe.php(17): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
                #18 /var/www/vhosts/FORUM/httpdocs/vendor/illuminate/pipeline/Pipeline.php(167): ClarkWinkelmann\AnonymousPosting\FakeUserRelation\FakeUserHydratorPipe->handle()
                #19 /var/www/vhosts/FORUM/httpdocs/vendor/illuminate/pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
                #20 /var/www/vhosts/FORUM/httpdocs/vendor/illuminate/bus/Dispatcher.php(132): Illuminate\Pipeline\Pipeline->then()
                #21 /var/www/vhosts/FORUM/httpdocs/vendor/illuminate/bus/Dispatcher.php(78): Illuminate\Bus\Dispatcher->dispatchNow()
                #22 /var/www/vhosts/FORUM/httpdocs/vendor/flarum/core/src/Api/Controller/CreateDiscussionController.php(62): Illuminate\Bus\Dispatcher->dispatch()
                #23 /var/www/vhosts/FORUM/httpdocs/vendor/flarum/core/src/Api/Controller/AbstractSerializeController.php(115): Flarum\Api\Controller\CreateDiscussionController->data()
                #24 /var/www/vhosts/FORUM/httpdocs/vendor/flarum/core/src/Api/Controller/AbstractCreateController.php(22): Flarum\Api\Controller\AbstractSerializeController->handle()
                #25 /var/www/vhosts/FORUM/httpdocs/vendor/flarum/core/src/Http/RouteHandlerFactory.php(41): Flarum\Api\Controller\AbstractCreateController->handle()
                #26 /var/www/vhosts/FORUM/httpdocs/vendor/flarum/core/src/Http/Middleware/ExecuteRoute.php(27): Flarum\Http\RouteHandlerFactory->Flarum\Http\{closure}()
                #27 /var/www/vhosts/FORUM/httpdocs/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ExecuteRoute->process()
                #28 /var/www/vhosts/FORUM/httpdocs/vendor/kilowhat/flarum-ext-audit-pro/src/Middlewares/ExtendSetPermissionController.php(19): Laminas\Stratigility\Next->handle()
                #29 /var/www/vhosts/FORUM/httpdocs/vendor/laminas/laminas-stratigility/src/Next.php(49): Kilowhat\Audit\Middlewares\ExtendSetPermissionController->process()
                #30 /var/www/vhosts/FORUM/httpdocs/vendor/kilowhat/flarum-ext-audit-pro/src/Middlewares/SetLoggerActor.php(28): Laminas\Stratigility\Next->handle()
                #31 /var/www/vhosts/FORUM/httpdocs/vendor/laminas/laminas-stratigility/src/Next.php(49): Kilowhat\Audit\Middlewares\SetLoggerActor->process()
                #32 /var/www/vhosts/FORUM/httpdocs/vendor/flarum/core/src/Api/Middleware/ThrottleApi.php(33): Laminas\Stratigility\Next->handle()
                #33 /var/www/vhosts/FORUM/httpdocs/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Api\Middleware\ThrottleApi->process()
                #34 /var/www/vhosts/FORUM/httpdocs/vendor/flarum/core/src/Http/Middleware/CheckCsrfToken.php(44): Laminas\Stratigility\Next->handle()
                #35 /var/www/vhosts/FORUM/httpdocs/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\CheckCsrfToken->process()
                #36 /var/www/vhosts/FORUM/httpdocs/vendor/flarum/core/src/Http/Middleware/ResolveRoute.php(67): Laminas\Stratigility\Next->handle()
                #37 /var/www/vhosts/FORUM/httpdocs/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ResolveRoute->process()
                #38 /var/www/vhosts/FORUM/httpdocs/vendor/datitisev/flarum-maintenance/src/Middleware/APIMaintenance.php(19): Laminas\Stratigility\Next->handle()
                #39 /var/www/vhosts/FORUM/httpdocs/vendor/laminas/laminas-stratigility/src/Next.php(49): Datitisev\Maintenance\Middleware\APIMaintenance->process()
                #40 /var/www/vhosts/FORUM/httpdocs/vendor/flarum/core/src/Http/Middleware/SetLocale.php(51): Laminas\Stratigility\Next->handle()
                #41 /var/www/vhosts/FORUM/httpdocs/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\SetLocale->process()
                #42 /var/www/vhosts/FORUM/httpdocs/vendor/flarum/core/src/Http/Middleware/AuthenticateWithHeader.php(58): Laminas\Stratigility\Next->handle()
                #43 /var/www/vhosts/FORUM/httpdocs/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\AuthenticateWithHeader->process()
                #44 /var/www/vhosts/FORUM/httpdocs/vendor/flarum/core/src/Http/Middleware/AuthenticateWithSession.php(31): Laminas\Stratigility\Next->handle()
                #45 /var/www/vhosts/FORUM/httpdocs/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\AuthenticateWithSession->process()
                #46 /var/www/vhosts/FORUM/httpdocs/vendor/flarum/core/src/Http/Middleware/RememberFromCookie.php(52): Laminas\Stratigility\Next->handle()
                #47 /var/www/vhosts/FORUM/httpdocs/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\RememberFromCookie->process()
                #48 /var/www/vhosts/FORUM/httpdocs/vendor/flarum/core/src/Http/Middleware/StartSession.php(61): Laminas\Stratigility\Next->handle()
                #49 /var/www/vhosts/FORUM/httpdocs/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\StartSession->process()
                #50 /var/www/vhosts/FORUM/httpdocs/vendor/flarum/core/src/Api/Middleware/FakeHttpMethods.php(29): Laminas\Stratigility\Next->handle()
                #51 /var/www/vhosts/FORUM/httpdocs/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Api\Middleware\FakeHttpMethods->process()
                #52 /var/www/vhosts/FORUM/httpdocs/vendor/flarum/core/src/Http/Middleware/ParseJsonBody.php(28): Laminas\Stratigility\Next->handle()
                #53 /var/www/vhosts/FORUM/httpdocs/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ParseJsonBody->process()
                #54 /var/www/vhosts/FORUM/httpdocs/vendor/flarum/core/src/Http/Middleware/HandleErrors.php(57): Laminas\Stratigility\Next->handle()
                #55 /var/www/vhosts/FORUM/httpdocs/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\HandleErrors->process()
                #56 /var/www/vhosts/FORUM/httpdocs/vendor/flarum/core/src/Http/Middleware/InjectActorReference.php(25): Laminas\Stratigility\Next->handle()
                #57 /var/www/vhosts/FORUM/httpdocs/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\InjectActorReference->process()
                #58 /var/www/vhosts/FORUM/httpdocs/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(75): Laminas\Stratigility\Next->handle()
                #59 /var/www/vhosts/FORUM/httpdocs/vendor/middlewares/request-handler/src/RequestHandler.php(84): Laminas\Stratigility\MiddlewarePipe->process()
                #60 /var/www/vhosts/FORUM/httpdocs/vendor/laminas/laminas-stratigility/src/Next.php(49): Middlewares\RequestHandler->process()
                #61 /var/www/vhosts/FORUM/httpdocs/vendor/middlewares/base-path-router/src/BasePathRouter.php(101): Laminas\Stratigility\Next->handle()
                #62 /var/www/vhosts/FORUM/httpdocs/vendor/laminas/laminas-stratigility/src/Next.php(49): Middlewares\BasePathRouter->process()
                #63 /var/www/vhosts/FORUM/httpdocs/vendor/laminas/laminas-stratigility/src/Middleware/OriginalMessages.php(36): Laminas\Stratigility\Next->handle()
                #64 /var/www/vhosts/FORUM/httpdocs/vendor/laminas/laminas-stratigility/src/Next.php(49): Laminas\Stratigility\Middleware\OriginalMessages->process()
                #65 /var/www/vhosts/FORUM/httpdocs/vendor/middlewares/base-path/src/BasePath.php(73): Laminas\Stratigility\Next->handle()
                #66 /var/www/vhosts/FORUM/httpdocs/vendor/laminas/laminas-stratigility/src/Next.php(49): Middlewares\BasePath->process()
                #67 /var/www/vhosts/FORUM/httpdocs/vendor/flarum/core/src/Http/Middleware/ProcessIp.php(24): Laminas\Stratigility\Next->handle()
                #68 /var/www/vhosts/FORUM/httpdocs/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ProcessIp->process()
                #69 /var/www/vhosts/FORUM/httpdocs/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(75): Laminas\Stratigility\Next->handle()
                #70 /var/www/vhosts/FORUM/httpdocs/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(64): Laminas\Stratigility\MiddlewarePipe->process()
                #71 /var/www/vhosts/FORUM/httpdocs/vendor/laminas/laminas-httphandlerrunner/src/RequestHandlerRunner.php(96): Laminas\Stratigility\MiddlewarePipe->handle()
                #72 /var/www/vhosts/FORUM/httpdocs/vendor/datitisev/flarum-maintenance/src/Overrides/Http/Server.php(54): Laminas\HttpHandlerRunner\RequestHandlerRunner->run()
                #73 /var/www/vhosts/FORUM/httpdocs/public/index.php(26): Flarum\Http\Server->listen()
                #74 {main}  

                  GreXXL it seems like AutoModerator doesn't support new discussions and posts not having an author at the time of publishing. What I see in its source code seems to confirm it.

                  Technically, Flarum itself doesn't officially support it either. But this extension goes around a few Flarum interfaces and unsets the relationships again before saving.

                  We don't see it in the backtrace but I assume this particular error originates in Metric\PostsMade.

                  Nothing I can do on my side for that one, this should be changed in AutoModerator.

                  Collecting the metrics for the correct anonymous authors in AutoModerators would be a full project in itself... I hope anonymous posters can act outside of AutoModerator's influence because otherwise there is currently no way to have an extension like this understand that those users are posting content... To other extensions it just looks like posts with deleted authors and users with no content.

                  10 days later
                  7 days later

                  Hi I used this extension with version 1.0.0 with PHP errors off, it was working fine, but once I updated to 1.0.1, I got this error whenever I want to post in anonymous:

                  POST https://my.site/api/discussions
                  
                  PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and type='comment') as Q1 where my_length > 10' at line 1 in /www/wwwroot/m y/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:82
                  Stack trace:
                  #0 /www/wwwroot/my.site/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(82): PDO->prepare()
                  #1 /www/wwwroot/my.site/vendor/illuminate/database/Connection.php(368): Doctrine\DBAL\Driver\PDOConnection->prepare()
                  #2 /www/wwwroot/my.site/vendor/illuminate/database/Connection.php(705): Illuminate\Database\Connection->Illuminate\Database\{closure}()
                  #3 /www/wwwroot/my.site/vendor/illuminate/database/Connection.php(672): Illuminate\Database\Connection->runQueryCallback()
                  #4 /www/wwwroot/my.site/vendor/illuminate/database/Connection.php(376): Illuminate\Database\Connection->run()
                  #5 /www/wwwroot/my.site/vendor/malago/flarum-achievements/src/Listeners/UpdateAchievementsOnPost.php(32): Illuminate\Database\Connection->select()
                  #6 /www/wwwroot/my.site/vendor/illuminate/events/Dispatcher.php(424): Malago\Achievements\Listeners\UpdateAchievementsOnPost->handle()
                  #7 /www/wwwroot/my.site/vendor/illuminate/events/Dispatcher.php(249): Illuminate\Events\Dispatcher->Illuminate\Events\{closure}()
                  #8 /www/wwwroot/my.site/vendor/flarum/core/src/Foundation/DispatchEventsTrait.php(33): Illuminate\Events\Dispatcher->dispatch()
                  #9 /www/wwwroot/my.site/vendor/flarum/core/src/Post/Command/PostReplyHandler.php(104): Flarum\Post\Command\PostReplyHandler->dispatchEventsFor()
                  #10 /www/wwwroot/my.site/vendor/flarum/core/src/Notification/NotificationSyncer.php(148): Flarum\Post\Command\PostReplyHandler->Flarum\Post\Command\{closure}()
                  #11 /www/wwwroot/my.site/vendor/flarum/core/src/Post/Command/PostReplyHandler.php(105): Flarum\Notification\NotificationSyncer->onePerUser()
                  #12 /www/wwwroot/my.site/vendor/illuminate/bus/Dispatcher.php(122): Flarum\Post\Command\PostReplyHandler->handle()
                  #13 /www/wwwroot/my.site/vendor/illuminate/pipeline/Pipeline.php(128): Illuminate\Bus\Dispatcher->Illuminate\Bus\{closure}()
                  #14 /www/wwwroot/my.site/vendor/illuminate/pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
                  #15 /www/wwwroot/my.site/vendor/illuminate/bus/Dispatcher.php(132): Illuminate\Pipeline\Pipeline->then()
                  #16 /www/wwwroot/my.site/vendor/illuminate/bus/Dispatcher.php(78): Illuminate\Bus\Dispatcher->dispatchNow()
                  #17 /www/wwwroot/my.site/vendor/flarum/core/src/Discussion/Command/StartDiscussionHandler.php(82): Illuminate\Bus\Dispatcher->dispatch()
                  #18 /www/wwwroot/my.site/vendor/illuminate/bus/Dispatcher.php(122): Flarum\Discussion\Command\StartDiscussionHandler->handle()
                  #19 /www/wwwroot/my.site/vendor/illuminate/pipeline/Pipeline.php(128): Illuminate\Bus\Dispatcher->Illuminate\Bus\{closure}()
                  #20 /www/wwwroot/my.site/vendor/illuminate/pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
                  #21 /www/wwwroot/my.site/vendor/illuminate/bus/Dispatcher.php(132): Illuminate\Pipeline\Pipeline->then()
                  #22 /www/wwwroot/my.site/vendor/illuminate/bus/Dispatcher.php(78): Illuminate\Bus\Dispatcher->dispatchNow()
                  #23 /www/wwwroot/my.site/vendor/flarum/core/src/Api/Controller/CreateDiscussionController.php(62): Illuminate\Bus\Dispatcher->dispatch()
                  #24 /www/wwwroot/my.site/vendor/flarum/core/src/Api/Controller/AbstractSerializeController.php(115): Flarum\Api\Controller\CreateDiscussionController->data()
                  #25 /www/wwwroot/my.site/vendor/flarum/core/src/Api/Controller/AbstractCreateController.php(22): Flarum\Api\Controller\AbstractSerializeController->handle()
                  #26 /www/wwwroot/my.site/vendor/flarum/core/src/Http/RouteHandlerFactory.php(41): Flarum\Api\Controller\AbstractCreateController->handle()
                  #27 /www/wwwroot/my.site/vendor/flarum/core/src/Http/Middleware/ExecuteRoute.php(27): Flarum\Http\RouteHandlerFactory->Flarum\Http\{closure}()
                  #28 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ExecuteRoute->process()
                  #29 /www/wwwroot/my.site/vendor/kilowhat/flarum-ext-audit-free/src/Middlewares/SetLoggerActor.php(28): Laminas\Stratigility\Next->handle()
                  #30 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/Next.php(49): Kilowhat\Audit\Middlewares\SetLoggerActor->process()
                  #31 /www/wwwroot/my.site/vendor/malago/flarum-achievements/src/Middlewares/MiddlewarePosted.php(27): Laminas\Stratigility\Next->handle()
                  #32 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/Next.php(49): Malago\Achievements\Middlewares\MiddlewarePosted->process()
                  #33 /www/wwwroot/my.site/vendor/flarum/core/src/Api/Middleware/ThrottleApi.php(33): Laminas\Stratigility\Next->handle()
                  #34 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Api\Middleware\ThrottleApi->process()
                  #35 /www/wwwroot/my.site/vendor/flarum/core/src/Http/Middleware/CheckCsrfToken.php(44): Laminas\Stratigility\Next->handle()
                  #36 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\CheckCsrfToken->process()
                  #37 /www/wwwroot/my.site/vendor/flarum/core/src/Http/Middleware/ResolveRoute.php(67): Laminas\Stratigility\Next->handle()
                  #38 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ResolveRoute->process()
                  #39 /www/wwwroot/my.site/vendor/flarum/core/src/Http/Middleware/SetLocale.php(51): Laminas\Stratigility\Next->handle()
                  #40 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\SetLocale->process()
                  #41 /www/wwwroot/my.site/vendor/flarum/core/src/Http/Middleware/AuthenticateWithHeader.php(58): Laminas\Stratigility\Next->handle()
                  #42 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\AuthenticateWithHeader->process()
                  #43 /www/wwwroot/my.site/vendor/flarum/core/src/Http/Middleware/AuthenticateWithSession.php(31): Laminas\Stratigility\Next->handle()
                  #44 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\AuthenticateWithSession->process()
                  #45 /www/wwwroot/my.site/vendor/flarum/core/src/Http/Middleware/RememberFromCookie.php(52): Laminas\Stratigility\Next->handle()
                  #46 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\RememberFromCookie->process()
                  #47 /www/wwwroot/my.site/vendor/flarum/core/src/Http/Middleware/StartSession.php(61): Laminas\Stratigility\Next->handle()
                  #48 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\StartSession->process()
                  #49 /www/wwwroot/my.site/vendor/flarum/core/src/Api/Middleware/FakeHttpMethods.php(29): Laminas\Stratigility\Next->handle()
                  #50 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Api\Middleware\FakeHttpMethods->process()
                  #51 /www/wwwroot/my.site/vendor/flarum/core/src/Http/Middleware/ParseJsonBody.php(28): Laminas\Stratigility\Next->handle()
                  #52 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ParseJsonBody->process()
                  #53 /www/wwwroot/my.site/vendor/flarum/core/src/Http/Middleware/HandleErrors.php(57): Laminas\Stratigility\Next->handle()
                  #54 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\HandleErrors->process()
                  #55 /www/wwwroot/my.site/vendor/flarum/core/src/Http/Middleware/InjectActorReference.php(25): Laminas\Stratigility\Next->handle()
                  #56 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\InjectActorReference->process()
                  #57 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(75): Laminas\Stratigility\Next->handle()
                  #58 /www/wwwroot/my.site/vendor/middlewares/request-handler/src/RequestHandler.php(84): Laminas\Stratigility\MiddlewarePipe->process()
                  #59 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/Next.php(49): Middlewares\RequestHandler->process()
                  #60 /www/wwwroot/my.site/vendor/middlewares/base-path-router/src/BasePathRouter.php(101): Laminas\Stratigility\Next->handle()
                  #61 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/Next.php(49): Middlewares\BasePathRouter->process()
                  #62 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/Middleware/OriginalMessages.php(36): Laminas\Stratigility\Next->handle()
                  #63 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/Next.php(49): Laminas\Stratigility\Middleware\OriginalMessages->process()
                  #64 /www/wwwroot/my.site/vendor/middlewares/base-path/src/BasePath.php(73): Laminas\Stratigility\Next->handle()
                  #65 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/Next.php(49): Middlewares\BasePath->process()
                  #66 /www/wwwroot/my.site/vendor/flarum/core/src/Http/Middleware/ProcessIp.php(24): Laminas\Stratigility\Next->handle()
                  #67 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ProcessIp->process()
                  #68 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(75): Laminas\Stratigility\Next->handle()
                  #69 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(64): Laminas\Stratigility\MiddlewarePipe->process()
                  #70 /www/wwwroot/my.site/vendor/laminas/laminas-httphandlerrunner/src/RequestHandlerRunner.php(96): Laminas\Stratigility\MiddlewarePipe->handle()
                  #71 /www/wwwroot/my.site/vendor/flarum/core/src/Http/Server.php(44): Laminas\HttpHandlerRunner\RequestHandlerRunner->run()
                  #72 /www/wwwroot/my.site/public/index.php(26): Flarum\Http\Server->listen()
                  #73 {main}
                  
                  Next Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and type='comment') as Q1 where my_length > 10' at line 1 in /www/wwwroot/my.site/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php:18
                  Stack trace:
                  #0 /www/wwwroot/my.site/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(87): Doctrine\DBAL\Driver\PDO\Exception::new()
                  #1 /www/wwwroot/my.site/vendor/illuminate/database/Connection.php(368): Doctrine\DBAL\Driver\PDOConnection->prepare()
                  #2 /www/wwwroot/my.site/vendor/illuminate/database/Connection.php(705): Illuminate\Database\Connection->Illuminate\Database\{closure}()
                  #3 /www/wwwroot/my.site/vendor/illuminate/database/Connection.php(672): Illuminate\Database\Connection->runQueryCallback()
                  #4 /www/wwwroot/my.site/vendor/illuminate/database/Connection.php(376): Illuminate\Database\Connection->run()
                  #5 /www/wwwroot/my.site/vendor/malago/flarum-achievements/src/Listeners/UpdateAchievementsOnPost.php(32): Illuminate\Database\Connection->select()
                  #6 /www/wwwroot/my.site/vendor/illuminate/events/Dispatcher.php(424): Malago\Achievements\Listeners\UpdateAchievementsOnPost->handle()
                  #7 /www/wwwroot/my.site/vendor/illuminate/events/Dispatcher.php(249): Illuminate\Events\Dispatcher->Illuminate\Events\{closure}()
                  #8 /www/wwwroot/my.site/vendor/flarum/core/src/Foundation/DispatchEventsTrait.php(33): Illuminate\Events\Dispatcher->dispatch()
                  #9 /www/wwwroot/my.site/vendor/flarum/core/src/Post/Command/PostReplyHandler.php(104): Flarum\Post\Command\PostReplyHandler->dispatchEventsFor()
                  #10 /www/wwwroot/my.site/vendor/flarum/core/src/Notification/NotificationSyncer.php(148): Flarum\Post\Command\PostReplyHandler->Flarum\Post\Command\{closure}()
                  #11 /www/wwwroot/my.site/vendor/flarum/core/src/Post/Command/PostReplyHandler.php(105): Flarum\Notification\NotificationSyncer->onePerUser()
                  #12 /www/wwwroot/my.site/vendor/illuminate/bus/Dispatcher.php(122): Flarum\Post\Command\PostReplyHandler->handle()
                  #13 /www/wwwroot/my.site/vendor/illuminate/pipeline/Pipeline.php(128): Illuminate\Bus\Dispatcher->Illuminate\Bus\{closure}()
                  #14 /www/wwwroot/my.site/vendor/illuminate/pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
                  #15 /www/wwwroot/my.site/vendor/illuminate/bus/Dispatcher.php(132): Illuminate\Pipeline\Pipeline->then()
                  #16 /www/wwwroot/my.site/vendor/illuminate/bus/Dispatcher.php(78): Illuminate\Bus\Dispatcher->dispatchNow()
                  #17 /www/wwwroot/my.site/vendor/flarum/core/src/Discussion/Command/StartDiscussionHandler.php(82): Illuminate\Bus\Dispatcher->dispatch()
                  #18 /www/wwwroot/my.site/vendor/illuminate/bus/Dispatcher.php(122): Flarum\Discussion\Command\StartDiscussionHandler->handle()
                  #19 /www/wwwroot/my.site/vendor/illuminate/pipeline/Pipeline.php(128): Illuminate\Bus\Dispatcher->Illuminate\Bus\{closure}()
                  #20 /www/wwwroot/my.site/vendor/illuminate/pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
                  #21 /www/wwwroot/my.site/vendor/illuminate/bus/Dispatcher.php(132): Illuminate\Pipeline\Pipeline->then()
                  #22 /www/wwwroot/my.site/vendor/illuminate/bus/Dispatcher.php(78): Illuminate\Bus\Dispatcher->dispatchNow()
                  #23 /www/wwwroot/my.site/vendor/flarum/core/src/Api/Controller/CreateDiscussionController.php(62): Illuminate\Bus\Dispatcher->dispatch()
                  #24 /www/wwwroot/my.site/vendor/flarum/core/src/Api/Controller/AbstractSerializeController.php(115): Flarum\Api\Controller\CreateDiscussionController->data()
                  #25 /www/wwwroot/my.site/vendor/flarum/core/src/Api/Controller/AbstractCreateController.php(22): Flarum\Api\Controller\AbstractSerializeController->handle()
                  #26 /www/wwwroot/my.site/vendor/flarum/core/src/Http/RouteHandlerFactory.php(41): Flarum\Api\Controller\AbstractCreateController->handle()
                  #27 /www/wwwroot/my.site/vendor/flarum/core/src/Http/Middleware/ExecuteRoute.php(27): Flarum\Http\RouteHandlerFactory->Flarum\Http\{closure}()
                  #28 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ExecuteRoute->process()
                  #29 /www/wwwroot/my.site/vendor/kilowhat/flarum-ext-audit-free/src/Middlewares/SetLoggerActor.php(28): Laminas\Stratigility\Next->handle()
                  #30 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/Next.php(49): Kilowhat\Audit\Middlewares\SetLoggerActor->process()
                  #31 /www/wwwroot/my.site/vendor/malago/flarum-achievements/src/Middlewares/MiddlewarePosted.php(27): Laminas\Stratigility\Next->handle()
                  #32 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/Next.php(49): Malago\Achievements\Middlewares\MiddlewarePosted->process()
                  #33 /www/wwwroot/my.site/vendor/flarum/core/src/Api/Middleware/ThrottleApi.php(33): Laminas\Stratigility\Next->handle()
                  #34 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Api\Middleware\ThrottleApi->process()
                  #35 /www/wwwroot/my.site/vendor/flarum/core/src/Http/Middleware/CheckCsrfToken.php(44): Laminas\Stratigility\Next->handle()
                  #36 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\CheckCsrfToken->process()
                  #37 /www/wwwroot/my.site/vendor/flarum/core/src/Http/Middleware/ResolveRoute.php(67): Laminas\Stratigility\Next->handle()
                  #38 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ResolveRoute->process()
                  #39 /www/wwwroot/my.site/vendor/flarum/core/src/Http/Middleware/SetLocale.php(51): Laminas\Stratigility\Next->handle()
                  #40 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\SetLocale->process()
                  #41 /www/wwwroot/my.site/vendor/flarum/core/src/Http/Middleware/AuthenticateWithHeader.php(58): Laminas\Stratigility\Next->handle()
                  #42 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\AuthenticateWithHeader->process()
                  #43 /www/wwwroot/my.site/vendor/flarum/core/src/Http/Middleware/AuthenticateWithSession.php(31): Laminas\Stratigility\Next->handle()
                  #44 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\AuthenticateWithSession->process()
                  #45 /www/wwwroot/my.site/vendor/flarum/core/src/Http/Middleware/RememberFromCookie.php(52): Laminas\Stratigility\Next->handle()
                  #46 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\RememberFromCookie->process()
                  #47 /www/wwwroot/my.site/vendor/flarum/core/src/Http/Middleware/StartSession.php(61): Laminas\Stratigility\Next->handle()
                  #48 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\StartSession->process()
                  #49 /www/wwwroot/my.site/vendor/flarum/core/src/Api/Middleware/FakeHttpMethods.php(29): Laminas\Stratigility\Next->handle()
                  #50 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Api\Middleware\FakeHttpMethods->process()
                  #51 /www/wwwroot/my.site/vendor/flarum/core/src/Http/Middleware/ParseJsonBody.php(28): Laminas\Stratigility\Next->handle()
                  #52 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ParseJsonBody->process()
                  #53 /www/wwwroot/my.site/vendor/flarum/core/src/Http/Middleware/HandleErrors.php(57): Laminas\Stratigility\Next->handle()
                  #54 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\HandleErrors->process()
                  #55 /www/wwwroot/my.site/vendor/flarum/core/src/Http/Middleware/InjectActorReference.php(25): Laminas\Stratigility\Next->handle()
                  #56 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\InjectActorReference->process()
                  #57 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(75): Laminas\Stratigility\Next->handle()
                  #58 /www/wwwroot/my.site/vendor/middlewares/request-handler/src/RequestHandler.php(84): Laminas\Stratigility\MiddlewarePipe->process()
                  #59 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/Next.php(49): Middlewares\RequestHandler->process()
                  #60 /www/wwwroot/my.site/vendor/middlewares/base-path-router/src/BasePathRouter.php(101): Laminas\Stratigility\Next->handle()
                  #61 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/Next.php(49): Middlewares\BasePathRouter->process()
                  #62 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/Middleware/OriginalMessages.php(36): Laminas\Stratigility\Next->handle()
                  #63 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/Next.php(49): Laminas\Stratigility\Middleware\OriginalMessages->process()
                  #64 /www/wwwroot/my.site/vendor/middlewares/base-path/src/BasePath.php(73): Laminas\Stratigility\Next->handle()
                  #65 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/Next.php(49): Middlewares\BasePath->process()
                  #66 /www/wwwroot/my.site/vendor/flarum/core/src/Http/Middleware/ProcessIp.php(24): Laminas\Stratigility\Next->handle()
                  #67 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ProcessIp->process()
                  #68 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(75): Laminas\Stratigility\Next->handle()
                  #69 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(64): Laminas\Stratigility\MiddlewarePipe->process()
                  #70 /www/wwwroot/my.site/vendor/laminas/laminas-httphandlerrunner/src/RequestHandlerRunner.php(96): Laminas\Stratigility\MiddlewarePipe->handle()
                  #71 /www/wwwroot/my.site/vendor/flarum/core/src/Http/Server.php(44): Laminas\HttpHandlerRunner\RequestHandlerRunner->run()
                  #72 /www/wwwroot/my.site/public/index.php(26): Flarum\Http\Server->listen()
                  #73 {main}
                  
                  Next Illuminate\Database\QueryException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and type='comment') as Q1 where my_length > 10' at line 1 (SQL: select sum(my_length)/count(user_id) as mean from (SELECT user_id, length(content) - LENGTH(REPLACE(content,' ','')) as my_length FROM posts where user_id= and type='comment') as Q1 where my_length > 10) in /www/wwwroot/my.site/vendor/illuminate/database/Connection.php:712
                  Stack trace:
                  #0 /www/wwwroot/my.site/vendor/illuminate/database/Connection.php(672): Illuminate\Database\Connection->runQueryCallback()
                  #1 /www/wwwroot/my.site/vendor/illuminate/database/Connection.php(376): Illuminate\Database\Connection->run()
                  #2 /www/wwwroot/my.site/vendor/malago/flarum-achievements/src/Listeners/UpdateAchievementsOnPost.php(32): Illuminate\Database\Connection->select()
                  #3 /www/wwwroot/my.site/vendor/illuminate/events/Dispatcher.php(424): Malago\Achievements\Listeners\UpdateAchievementsOnPost->handle()
                  #4 /www/wwwroot/my.site/vendor/illuminate/events/Dispatcher.php(249): Illuminate\Events\Dispatcher->Illuminate\Events\{closure}()
                  #5 /www/wwwroot/my.site/vendor/flarum/core/src/Foundation/DispatchEventsTrait.php(33): Illuminate\Events\Dispatcher->dispatch()
                  #6 /www/wwwroot/my.site/vendor/flarum/core/src/Post/Command/PostReplyHandler.php(104): Flarum\Post\Command\PostReplyHandler->dispatchEventsFor()
                  #7 /www/wwwroot/my.site/vendor/flarum/core/src/Notification/NotificationSyncer.php(148): Flarum\Post\Command\PostReplyHandler->Flarum\Post\Command\{closure}()
                  #8 /www/wwwroot/my.site/vendor/flarum/core/src/Post/Command/PostReplyHandler.php(105): Flarum\Notification\NotificationSyncer->onePerUser()
                  #9 /www/wwwroot/my.site/vendor/illuminate/bus/Dispatcher.php(122): Flarum\Post\Command\PostReplyHandler->handle()
                  #10 /www/wwwroot/my.site/vendor/illuminate/pipeline/Pipeline.php(128): Illuminate\Bus\Dispatcher->Illuminate\Bus\{closure}()
                  #11 /www/wwwroot/my.site/vendor/illuminate/pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
                  #12 /www/wwwroot/my.site/vendor/illuminate/bus/Dispatcher.php(132): Illuminate\Pipeline\Pipeline->then()
                  #13 /www/wwwroot/my.site/vendor/illuminate/bus/Dispatcher.php(78): Illuminate\Bus\Dispatcher->dispatchNow()
                  #14 /www/wwwroot/my.site/vendor/flarum/core/src/Discussion/Command/StartDiscussionHandler.php(82): Illuminate\Bus\Dispatcher->dispatch()
                  #15 /www/wwwroot/my.site/vendor/illuminate/bus/Dispatcher.php(122): Flarum\Discussion\Command\StartDiscussionHandler->handle()
                  #16 /www/wwwroot/my.site/vendor/illuminate/pipeline/Pipeline.php(128): Illuminate\Bus\Dispatcher->Illuminate\Bus\{closure}()
                  #17 /www/wwwroot/my.site/vendor/illuminate/pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
                  #18 /www/wwwroot/my.site/vendor/illuminate/bus/Dispatcher.php(132): Illuminate\Pipeline\Pipeline->then()
                  #19 /www/wwwroot/my.site/vendor/illuminate/bus/Dispatcher.php(78): Illuminate\Bus\Dispatcher->dispatchNow()
                  #20 /www/wwwroot/my.site/vendor/flarum/core/src/Api/Controller/CreateDiscussionController.php(62): Illuminate\Bus\Dispatcher->dispatch()
                  #21 /www/wwwroot/my.site/vendor/flarum/core/src/Api/Controller/AbstractSerializeController.php(115): Flarum\Api\Controller\CreateDiscussionController->data()
                  #22 /www/wwwroot/my.site/vendor/flarum/core/src/Api/Controller/AbstractCreateController.php(22): Flarum\Api\Controller\AbstractSerializeController->handle()
                  #23 /www/wwwroot/my.site/vendor/flarum/core/src/Http/RouteHandlerFactory.php(41): Flarum\Api\Controller\AbstractCreateController->handle()
                  #24 /www/wwwroot/my.site/vendor/flarum/core/src/Http/Middleware/ExecuteRoute.php(27): Flarum\Http\RouteHandlerFactory->Flarum\Http\{closure}()
                  #25 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ExecuteRoute->process()
                  #26 /www/wwwroot/my.site/vendor/kilowhat/flarum-ext-audit-free/src/Middlewares/SetLoggerActor.php(28): Laminas\Stratigility\Next->handle()
                  #27 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/Next.php(49): Kilowhat\Audit\Middlewares\SetLoggerActor->process()
                  #28 /www/wwwroot/my.site/vendor/malago/flarum-achievements/src/Middlewares/MiddlewarePosted.php(27): Laminas\Stratigility\Next->handle()
                  #29 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/Next.php(49): Malago\Achievements\Middlewares\MiddlewarePosted->process()
                  #30 /www/wwwroot/my.site/vendor/flarum/core/src/Api/Middleware/ThrottleApi.php(33): Laminas\Stratigility\Next->handle()
                  #31 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Api\Middleware\ThrottleApi->process()
                  #32 /www/wwwroot/my.site/vendor/flarum/core/src/Http/Middleware/CheckCsrfToken.php(44): Laminas\Stratigility\Next->handle()
                  #33 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\CheckCsrfToken->process()
                  #34 /www/wwwroot/my.site/vendor/flarum/core/src/Http/Middleware/ResolveRoute.php(67): Laminas\Stratigility\Next->handle()
                  #35 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ResolveRoute->process()
                  #36 /www/wwwroot/my.site/vendor/flarum/core/src/Http/Middleware/SetLocale.php(51): Laminas\Stratigility\Next->handle()
                  #37 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\SetLocale->process()
                  #38 /www/wwwroot/my.site/vendor/flarum/core/src/Http/Middleware/AuthenticateWithHeader.php(58): Laminas\Stratigility\Next->handle()
                  #39 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\AuthenticateWithHeader->process()
                  #40 /www/wwwroot/my.site/vendor/flarum/core/src/Http/Middleware/AuthenticateWithSession.php(31): Laminas\Stratigility\Next->handle()
                  #41 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\AuthenticateWithSession->process()
                  #42 /www/wwwroot/my.site/vendor/flarum/core/src/Http/Middleware/RememberFromCookie.php(52): Laminas\Stratigility\Next->handle()
                  #43 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\RememberFromCookie->process()
                  #44 /www/wwwroot/my.site/vendor/flarum/core/src/Http/Middleware/StartSession.php(61): Laminas\Stratigility\Next->handle()
                  #45 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\StartSession->process()
                  #46 /www/wwwroot/my.site/vendor/flarum/core/src/Api/Middleware/FakeHttpMethods.php(29): Laminas\Stratigility\Next->handle()
                  #47 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Api\Middleware\FakeHttpMethods->process()
                  #48 /www/wwwroot/my.site/vendor/flarum/core/src/Http/Middleware/ParseJsonBody.php(28): Laminas\Stratigility\Next->handle()
                  #49 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ParseJsonBody->process()
                  #50 /www/wwwroot/my.site/vendor/flarum/core/src/Http/Middleware/HandleErrors.php(57): Laminas\Stratigility\Next->handle()
                  #51 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\HandleErrors->process()
                  #52 /www/wwwroot/my.site/vendor/flarum/core/src/Http/Middleware/InjectActorReference.php(25): Laminas\Stratigility\Next->handle()
                  #53 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\InjectActorReference->process()
                  #54 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(75): Laminas\Stratigility\Next->handle()
                  #55 /www/wwwroot/my.site/vendor/middlewares/request-handler/src/RequestHandler.php(84): Laminas\Stratigility\MiddlewarePipe->process()
                  #56 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/Next.php(49): Middlewares\RequestHandler->process()
                  #57 /www/wwwroot/my.site/vendor/middlewares/base-path-router/src/BasePathRouter.php(101): Laminas\Stratigility\Next->handle()
                  #58 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/Next.php(49): Middlewares\BasePathRouter->process()
                  #59 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/Middleware/OriginalMessages.php(36): Laminas\Stratigility\Next->handle()
                  #60 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/Next.php(49): Laminas\Stratigility\Middleware\OriginalMessages->process()
                  #61 /www/wwwroot/my.site/vendor/middlewares/base-path/src/BasePath.php(73): Laminas\Stratigility\Next->handle()
                  #62 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/Next.php(49): Middlewares\BasePath->process()
                  #63 /www/wwwroot/my.site/vendor/flarum/core/src/Http/Middleware/ProcessIp.php(24): Laminas\Stratigility\Next->handle()
                  #64 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ProcessIp->process()
                  #65 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(75): Laminas\Stratigility\Next->handle()
                  #66 /www/wwwroot/my.site/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(64): Laminas\Stratigility\MiddlewarePipe->process()
                  #67 /www/wwwroot/my.site/vendor/laminas/laminas-httphandlerrunner/src/RequestHandlerRunner.php(96): Laminas\Stratigility\MiddlewarePipe->handle()
                  #68 /www/wwwroot/my.site/vendor/flarum/core/src/Http/Server.php(44): Laminas\HttpHandlerRunner\RequestHandlerRunner->run()
                  #69 /www/wwwroot/my.site/public/index.php(26): Flarum\Http\Server->listen()
                  #70 {main}

                  Can you help me to locate the issue? Thanks!

                  edit:
                  this was conflict between achievements and anonymously posting

                    WARNING: This extension is not compatible with Auto Moderator due to AM'm bug, which reports an error every time user create/reply a discussion.
                    If somebody came into this situation, disable AM