Yesterday I upgraded my forum from version 1.5 to 1.6.2 due to discovered XSS. I was testing the news of the version change and I found an error trying to use the custom dates feature in statistics.
No errors are generated in the log files. Inspecting the browser console I see one:
I have cleared the cache several times, from the terminal and from the admin panel but it still doesn't work.
Flarum information
Flarum core 1.6.2
PHP version: 8.1.12
MySQL version: 5.7.23-23
Loaded extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, json, pcntl, readline, Reflection, SPL, session, standard, bcmath, bz2, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, gmp, iconv, imap, intl, exif, mysqlnd, odbc, PDO, pgsql, Phar, posix, pspell, SimpleXML, soap, sockets, sodium, sqlite3, tidy, tokenizer, xml, xmlwriter, xsl, zip, mysqli, pdo_mysql, PDO_ODBC, pdo_pgsql, pdo_sqlite, xmlreader, imagick, Zend OPcache
+-------------------------------------+---------+--------+
| Flarum Extensions | | |
+-------------------------------------+---------+--------+
| ID | Version | Commit |
+-------------------------------------+---------+--------+
| flarum-flags | v1.6.1 | |
| flarum-sticky | v1.6.1 | |
| flarum-tags | v1.6.1 | |
| flarum-markdown | v1.6.1 | |
| flarum-suspend | v1.6.1 | |
| flarum-lock | v1.6.1 | |
| flarum-approval | v1.6.1 | |
| afrux-forum-widgets-core | v0.1.7 | |
| zerosonesfun-composer-preview | 1.1.9 | |
| v17development-seo | v1.8.0 | |
| the-turk-stickiest | 2.0.3 | |
| sycho-move-posts | v0.1.7 | |
| michaelbelgium-discussion-views | v7.1.3 | |
| matteocontrini-imgur-upload | v3.9.1 | |
| kyrne-whisper | v0.1.7 | |
| kilowhat-audit-free | 1.5.1 | |
| justoverclock-welcomebox | 1.3.7 | |
| justoverclock-related-discussions | 1.3.3 | |
| fof-webhooks | 1.1.1 | |
| fof-user-bio | 1.1.1 | |
| fof-terms | 1.2.0 | |
| fof-sitemap | 1.0.3 | |
| fof-share-social | 1.1.0 | |
| fof-masquerade | 1.0.0 | |
| fof-links | 1.1.2 | |
| fof-forum-statistics-widget | 1.0.2 | |
| fof-formatting | 1.0.2 | |
| fof-disposable-emails | 1.0.0 | |
| fof-default-user-preferences | 1.1.1 | |
| fof-cookie-consent | 1.1.1 | |
| flarum-subscriptions | v1.6.1 | |
| flarum-statistics | v1.6.1 | |
| flarum-mentions | v1.6.1 | |
| flarum-likes | v1.6.1 | |
| flarum-lang-spanish | 1.3.2 | |
| flarum-emoji | v1.6.1 | |
| flarum-bbcode | v1.6.0 | |
| dem13n-topic-starter-label | 0.1.8 | |
| davwheat-ads | 1.2.0 | |
| clarkwinkelmann-post-permissions | 1.0.0 | |
| clarkwinkelmann-first-post-approval | 1.0.1 | |
| clarkwinkelmann-emojionearea | 1.0.0 | |
| clarkwinkelmann-author-change | 1.0.2 | |
| askvortsov-discussion-templates | v0.8.3 | |
| askvortsov-categories | v3.0.6 | |
+-------------------------------------+---------+--------+
Base URL: https://www.domain.com/
Installation path: xxx
Queue driver: sync
Session driver: file
Mail driver: smtp
Debug mode: off