flarum / framework

Simple forum software for building great communities.
http://flarum.org/
6.39k stars 835 forks source link

When enabling "Mentions" others extensions seems to be disabled #2073

Closed Hiobi closed 4 years ago

Hiobi commented 4 years ago

Bug Report

Current Behavior Hi ! Since I updated to Flarum 0.1.0-beta.12 and upgraded all extensions, when I tried to enabling "Mentions", all others extensions seems to be disabled.

Steps to Reproduce After an upgrade of flarum core and all extensions :

  1. Go to 'Extensions panel'
  2. Click on 'enabling Mention'
  3. Go to 'main discussion page'
  4. See error : no others extension enabled (Core extensions and third extensions)

Trying to resolve

Environment

Flarum core 0.1.0-beta.12
PHP version: 7.4.3
Loaded extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, pcntl, Reflection, SPL, session, standard, sodium, mysqlnd, PDO, xml, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gettext, iconv, imagick, json, exif, mysqli, pdo_mysql, Phar, posix, readline, shmop, SimpleXML, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlwriter, xsl, Zend OPcache
+---------------------------------+-----------------+------------------------------------------+
| Flarum Extensions               |                 |                                          |
+---------------------------------+-----------------+------------------------------------------+
| ID                              | Version         | Commit                                   |
+---------------------------------+-----------------+------------------------------------------+
| milescellar-lang-french         | v1.6.0          |                                          |
| rooaaar-lang-french-extended    | dev-master      | 82b5d98816ce341df17bc0ab25b8052679426457 |
| flarum-tags                     | v0.1.0-beta.12  |                                          |
| flarum-approval                 | v0.1.0-beta.12  |                                          |
| flagrow-analytics               | 0.8.0           |                                          |
| the-turk-diff                   | 0.1.0-beta.7    |                                          |
| michaelbelgium-discussion-views | v0.1.0-beta.8.3 |                                          |
| flarum-emoji                    | v0.1.0-beta.12  |                                          |
| flagrow-direct-links            | 0.2.0           |                                          |
| flagrow-impersonate             | 0.2.0           |                                          |
| flagrow-sitemap                 | 0.2.0           |                                          |
| flarum-flags                    | v0.1.0-beta.12  |                                          |
| fof-ban-ips                     | 0.1.5           |                                          |
| fof-default-group               | 0.1.0           |                                          |
| fof-disposable-emails           | 0.1.0           |                                          |
| fof-drafts                      | 0.1.4           |                                          |
| fof-follow-tags                 | 0.3.4           |                                          |
| fof-formatting                  | 0.1.4           |                                          |
| fof-geoip                       | 0.1.7           |                                          |
| fof-ignore-users                | 0.1.5           |                                          |
| fof-links                       | 0.2.1           |                                          |
| fof-merge-discussions           | 0.3.3           |                                          |
| fof-pages                       | 0.2.7           |                                          |
| fof-prevent-necrobumping        | 0.2.0           |                                          |
| fof-pretty-mail                 | 0.1.6           |                                          |
| fof-pwned-passwords             | 0.3.0           |                                          |
| fof-reactions                   | 0.2.1           |                                          |
| fof-socialprofile               | 0.1.2           |                                          |
| fof-spamblock                   | 0.2.1           |                                          |
| fof-split                       | 0.4.3           |                                          |
| fof-stopforumspam               | 0.2.1           |                                          |
| fof-subscribed                  | 0.2.3           |                                          |
| fof-terms                       | 0.4.1           |                                          |
| fof-upload                      | 0.8.3           |                                          |
| fof-user-directory              | 0.3.4           |                                          |
| fof-username-request            | 0.2.0           |                                          |
| fof-recaptcha                   | 0.1.2           |                                          |
| flarum-likes                    | v0.1.0-beta.12  |                                          |
| flarum-lock                     | v0.1.0-beta.12  |                                          |
| flarum-markdown                 | v0.1.0-beta.12  |                                          |
| michaelbelgium-profile-views    | v0.1.0-beta-8-5 |                                          |
| flarum-pusher                   | v0.1.0-beta.12  |                                          |
| flarum-statistics               | v0.1.0-beta.12  |                                          |
| flarum-sticky                   | v0.1.0-beta.12  |                                          |
| flarum-subscriptions            | v0.1.0-beta.12  |                                          |
| jordanjay29-summaries           | 0.3.1           |                                          |
| flarum-suspend                  | v0.1.0-beta.12  |                                          |
| amaurycarrade-syndication       | v0.3.1          |                                          |
| therealsujitk-gifs              | v1.4.7          |                                          |
| fof-byobu                       | 0.3.4           |                                          |
+---------------------------------+-----------------+------------------------------------------+

Screenshots Without "Mentions" enabled

With "Mentions" enabled

tankerkiller125 commented 4 years ago

Could you please open the browser console (F12) and post the screenshot of any errors that appear there?

Hiobi commented 4 years ago

thanks for your reply !

luceos commented 4 years ago

This is absolutely an issue with one of the enabled extensions. Your php flarum info output already mentions the full list of enabled extensions. One of the disrupts your forum.

Please open a discussion on https://discuss.flarum.org and mention this issue. I hope you don't mind us closing this issue in the meantime. Should the support on discuss point to an actual bug in a first party extension, you're aok to re-open this.

Thanks for your patience.

Hiobi commented 4 years ago

Thanks luceos,

I made some tests and un I found with which extension it create there errors, it's fof/formatting (0.1.4)

https://github.com/FriendsOfFlarum/formatting/issues/9