• Support
  • bug on auto-follow discussion

i think its probably a bug but when i click on the toggle for auto-follow discussion, i need to refresh manually the page to see the toggle status:
this happen even with privacy toggle

    Justoverclock I don't think I'm able to replicate this: when I click the toggles, they switch over immediately without a page refresh.

    Flarum core 0.1.0-beta.15
    PHP version: 7.3.27
    Loaded extensions: Core, date, libxml, openssl, pcre, sqlite3, zlib, bcmath, bz2, calendar, ctype, curl, dba, dom, enchant, hash, fileinfo, filter, ftp, gd, gettext, gmp, SPL, iconv, session, intl, json, mbstring, standard, mysqlnd, pcntl, mysqli, PDO, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, pspell, readline, Reflection, imap, shmop, SimpleXML, soap, sockets, sodium, exif, sysvmsg, sysvsem, tidy, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, memcached, ionCube Loader, Zend OPcache
    +-----------------------+------------------+--------+
    | Flarum Extensions | | |
    +-----------------------+------------------+--------+
    | ID | Version | Commit |
    +-----------------------+------------------+--------+
    | flarum-approval | v0.1.0-beta.15 | |
    | flarum-bbcode | v0.1.0-beta.15 | |
    | flarum-emoji | v0.1.0-beta.15 | |
    | flarum-flags | v0.1.0-beta.15 | |
    | flarum-likes | v0.1.0-beta.15 | |
    | flarum-lock | v0.1.0-beta.15 | |
    | flarum-markdown | v0.1.0-beta.15 | |
    | flarum-mentions | v0.1.0-beta.15 | |
    | flarum-statistics | v0.1.0-beta.15 | |
    | flarum-sticky | v0.1.0-beta.15.1 | |
    | flarum-subscriptions | v0.1.0-beta.15 | |
    | flarum-suspend | v0.1.0-beta.15 | |
    | flarum-tags | v0.1.0-beta.15 | |
    | nearata-lang-italian | v0.1.0-beta.15.1 | |
    | fof-oauth | 0.1.0 | |
    | flarum-lang-english | v0.1.0-beta.15 | |
    | fof-formatting | 0.3.1 | |
    | luuhai48-oauth-google | v1.1.0 | |
    | fof-best-answer | 0.3.6 | |
    | fof-linguist | 0.5.0 | |
    | jordanjay29-summaries | 0.3.2 | |
    | flarum-pusher | v0.1.0-beta.15 | |
    | fof-analytics | 0.11.0 | |
    | fof-gamification | 0.4.2 | |
    +-----------------------+------------------+--------+

    Hmm I don't know of issues with those. I also signed up for an account on your site and tested, everything works normally. Could you record your screen while this bug occurs and share that?

      Justoverclock hmm, very odd.... If you open up the dev tools console, are there any errors while doing that?

      Justoverclock Hmm... Since you don't have that many extensions installed, try disabling all the non bundled ones, and reenabling them one at a time.

      done, but nothing changed....

      its strange because all works fine...except this bug

      i'm not a coder, but the incriminated file is forum-8802d98a.js, maybe a syntax error?

        Justoverclock That file is all the compiled JS for the site. I'm not sure why I'm unable to replicate this on your site, the one thing that could come to mind is that it only affects admins for some reason? Or a browser issue (which browser are you using) but you said it also occurs on mobile so I doubt that.

        If you would like me to take a look under an admin account, my username on your site is askvortsov. If not, absolutely no pressure

          askvortsov If you would like me to take a look under an admin account, my username on your site is askvortsov. If not, absolutely no pressure

          how can i set u as admin? 🙂

          EDIT: done, now u are admin

          I think I've been able to trace this down to the gamification extension. I've disabled it, could you try again now?

          Justoverclock Welp seeing as it's a bug, I think the best course of action would be to reach out and report this, so the team can try to fix it.

            24 days later

            I've discovered that this bug is linked to rank label in profile. If I delete the ranks, so that no label shows, the bug disappears even with the Gamification extension enabled.

              enricodx I'm not able to reproduce this; how many rank badges do you have set to show on the user's profile?

              Also, can you try to replicate again and see if you get any errors in your dev console?