Skip to content

Vote count displayed is always zero #121

@dinapolis

Description

@dinapolis

Bug Report

Current Behavior
Vote count is always zero in the discussion list

Steps to Reproduce

  1. Open discussion list - all discussions, or any tag, sorting method doesn't matter. Refreshing doesn't make a difference - all posts show '0' regardless of the amount of votes.
  2. Click on any post: the amount of votes is displayed correctly
  3. Go back to the list (back button on browser or keyboard shortcut): the amount of votes for that post will now be the correct number.
  4. Refresh the discussion list page and all votes go back to zero again.
  • Webserver: apache
  • Hosting environment: shared
  • Browser: Chrome, Safari, both desktop and mobile latest versions
  • Flarum core: 1.8.5
  • PHP version: 8.2.16
  • MySQL version: 10.6.16-MariaDB
    Loaded extensions: Core, date, libxml, openssl, pcre, sqlite3, zlib, bz2, calendar, ctype, curl, hash, filter, ftp, gettext, json, iconv, SPL, pcntl, random, readline, Reflection, session, standard, mbstring, shmop, SimpleXML, tokenizer, xml, i360, bcmath, dom, fileinfo, gd, gmp, igbinary, imagick, imap, intl, exif, PDO, mysqlnd, mysqli, pdo_mysql, pdo_sqlite, Phar, posix, redis, soap, sockets, sodium, xmlreader, xmlrpc, xmlwriter, xsl, zip, ionCube Loader
+-----------------------------------+---------+--------+
| Flarum Extensions                 |         |        |
+-----------------------------------+---------+--------+
| ID                                | Version | Commit |
+-----------------------------------+---------+--------+
| flarum-tags                       | v1.8.0  |        |
| flarum-mentions                   | v1.8.3  |        |
| flarum-subscriptions              | v1.8.0  |        |
| flarum-suspend                    | v1.8.1  |        |
| fof-follow-tags                   | 1.2.3   |        |
| flarum-flags                      | v1.8.0  |        |
| v17development-seo                | v1.8.1  |        |
| litalino-title-content-length     | 1.0.0   |        |
| fof-user-bio                      | 1.4.0   |        |
| fof-sitemap                       | 2.2.1   |        |
| fof-mason                         | 1.2.1   |        |
| fof-ignore-users                  | 1.2.1   |        |
| fof-gamification                  | 1.6.7   |        |
| fof-best-answer                   | 1.4.4   |        |
| fof-anti-spam                     | 1.1.2   |        |
| flarum-sticky                     | v1.8.0  |        |
| flarum-statistics                 | v1.8.0  |        |
| flarum-markdown                   | v1.8.0  |        |
| flarum-lock                       | v1.8.0  |        |
| flarum-likes                      | v1.8.0  |        |
| flarum-lang-english               | v1.8.0  |        |
| flarum-extension-manager          | v1.0.2  |        |
| flarum-emoji                      | v1.8.0  |        |
| flarum-com-tags-under-discussion  | 1.0.0   |        |
| flarum-bbcode                     | v1.8.0  |        |
| datlechin-signup-button           | v0.1.1  |        |
| clarkwinkelmann-create-user-modal | 1.3.1   |        |
| blomstra-spam-prevention          | 1.6.0   |        |
+-----------------------------------+---------+--------+

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions