Open n-peugnet opened 1 year ago
flarum.ERROR: TypeError: Flarum\Mentions\ConfigureMentions::addPostId(): Argument #2 ($actor) must be of type Flarum\User\User, null given in /www/wwwroot/forum.monika.love/vendor/flarum/mentions/src/ConfigureMentions.php:128
+----------------------------------------+---------+--------+
| Flarum Extensions | | |
+----------------------------------------+---------+--------+
| ID | Version | Commit |
+----------------------------------------+---------+--------+
| flarum-flags | v1.6.1 | |
| flarum-likes | v1.6.1 | |
| flarum-tags | v1.6.1 | |
| flarum-sticky | v1.6.1 | |
| flarum-suspend | v1.6.1 | |
| flarum-nicknames | v1.6.1 | |
| flarum-lock | v1.6.1 | |
| flarum-approval | v1.6.1 | |
| afrux-forum-widgets-core | v0.1.7 | |
| flarum-mentions | v1.6.3 | |
| antoinefr-money | v1.2.0 | |
| flarum-markdown | v1.6.1 | |
| zerosonesfun-direct-links | 3.1 | |
| zequeen-acgembed-remastered | v1.1.2 | |
| v17development-user-badges | v1.1.0 | |
| the-turk-stickiest | 3.0.1 | |
| the-turk-diff | 1.1.2 | |
| sycho-profile-cover | v1.3.3 | |
| pipecraft-id-slug | v1.1.0 | |
| nearata-embed-video | v3.2.1 | |
| malago-ads | 0.3.2 | |
| kilowhat-audit-free | 1.6.0 | |
| justoverclock-staff-members-widget | 0.1.3 | |
| justoverclock-guestengagement | 1.0.3 | |
| justoverclock-auto-post-count-badge | 0.1.9 | |
| jslirola-login2seeplus | v0.2.1 | |
| ianm-synopsis | 1.2.2 | |
| ianm-level-ranks | 1.1.0 | |
| fof-username-request | 1.0.1 | |
| fof-user-directory | 1.2.3 | |
| fof-user-bio | 1.1.1 | |
| fof-upload | 1.2.3 | |
| fof-terms | 1.2.0 | |
| fof-subscribed | 1.1.2 | |
| fof-split | 1.1.0 | |
| fof-sitemap | 2.0.1 | |
| fof-profile-image-crop | 1.1.0 | |
| fof-polls | 1.3.0 | |
| fof-nightmode | 1.5.1 | |
| fof-merge-discussions | 1.3.1 | |
| fof-links | 1.1.2 | |
| fof-linguist | 1.1.0 | |
| fof-html-errors | 1.1.0 | |
| fof-drafts | 1.2.2 | |
| fof-doorman | 1.1.1 | |
| fof-best-answer | 1.2.4 | |
| flarum-subscriptions | v1.6.3 | |
| flarum-statistics | v1.6.1 | |
| flarum-lang-english | v1.6.0 | |
| flarum-lang-chinese-simplified | v1.3.0 | |
| ecnu-im-sticky-sidenav | v1.1.0 | |
| dem13n-topic-starter-label | 0.1.8 | |
| darkle-fancybox | 1.1.2 | |
| club-1-cross-references | v0.4.1 | |
| clarkwinkelmann-who-read | 1.4.1 | |
| clarkwinkelmann-sudo-mode | 1.0.2 | |
| clarkwinkelmann-prominent-post-numbers | 1.0.0 | |
| clarkwinkelmann-money-rewards | 1.0.0 | |
| blessing-oauth-client | v2.0.2 | |
| askvortsov-rich-text | v2.1.7 | |
| askvortsov-moderator-warnings | v0.6.1 | |
| askvortsov-markdown-tables | v1.2.1 | |
| askvortsov-categories | v3.0.6 | |
| afrux-online-users-widget | v0.1.6 | |
| afrux-news-widget | v0.1.1 | |
| afrux-forum-stats-widget | v0.1.1 | |
+----------------------------------------+---------+--------+
Base URL: https://forum.monika.love
Installation path: /www/wwwroot/forum.monika.love
Queue driver: sync
Session driver: file
Mail driver: smtp
Debug mode: off
I don't have a 500 error, but I think I'm in a similar situation to him.
When editing a posts that contains a mention to a post (using the "Reply" button, not a mention to a user), it is then impossible to view the revision history.
The API fails with a 500 error:
And the associated PHP stack trace:
Here is an example post, which after editing produces the issue:
And
flarum info
: