FriendsOfFlarum / discussion-language

Specify the language a discussion is written in & sort by language
MIT License
6 stars 2 forks source link

Extension makes blog home page not display posts #50

Closed FullThrottle83 closed 11 months ago

FullThrottle83 commented 1 year ago

Current Behavior When enabling this extensions my Home Page does not display Posts

Steps to Reproduce

  1. Choose "Blog" as Home Page
  2. Enable fof/discussion-language
  3. Enable languages (before I add languages it seems to work)
  4. Visit Home Page
  5. See error

Expected Behavior I expect the extension to give me possibility to choose language-tags for different discussions in forum - which it does.

Screenshots Without extension enabled: posts-visible

With extension enabled and languages added: image

Current settings in extension settings Side note: If I try to add an language to the bottom dropdowns, I get "Oops! Something went wrong. Please reload the page and try again."

Environment

Flarum core: 1.8.3
PHP version: 8.1.25
MySQL version: 8.0.35-0ubuntu0.22.04.1
Loaded extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, json, pcntl, Reflection, SPL, session, standard, sodium, memcached, redis, imagick, mysqlnd, PDO, xml, bcmath, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, iconv, imap, intl, exif, mysqli, pdo_mysql, pdo_sqlite, Phar, posix, readline, shmop, SimpleXML, soap, sockets, sqlite3, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlwriter, xsl, zip, Zend OPcache
+-------------------------------------+---------+--------+
| Flarum Extensions                   |         |        |
+-------------------------------------+---------+--------+
| ID                                  | Version | Commit |
+-------------------------------------+---------+--------+
| flarum-markdown                     | v1.8.0  |        |
| flarum-tags                         | v1.8.0  |        |
| flarum-flags                        | v1.8.0  |        |
| flarum-suspend                      | v1.8.1  |        |
| v17development-seo                  | v1.8.0  |        |
| askvortsov-rich-text                | v2.1.7  |        |
| fof-discussion-language             | 1.3.2   |        |
| flarum-sticky                       | v1.8.0  |        |
| flarum-lock                         | v1.8.0  |        |
| flarum-likes                        | v1.8.0  |        |
| fof-spamblock                       | 1.1.0   |        |
| fof-pages                           | 1.0.7   |        |
| flarum-approval                     | v1.8.0  |        |
| afrux-forum-widgets-core            | v0.1.7  |        |
| v17development-blog                 | v0.7.7  |        |
| sycho-advanced-extension-categories | v0.1.3  |        |
| noriods-auto-more                   | v1.0.0  |        |
| nearata-no-self-likes               | v1.2.1  |        |
| nearata-internal-links-noreload     | v2.2.0  |        |
| nearata-copy-code-to-clipboard      | v2.2.0  |        |
| matteocontrini-imgur-upload         | v3.9.1  |        |
| justoverclock-keywords              | 2.0.1   |        |
| ianm-same-page-admin                | 0.1.0   |        |
| fof-terms                           | 1.3.0   |        |
| fof-stopforumspam                   | 1.2.3   |        |
| fof-split                           | 1.1.0   |        |
| fof-sitemap                         | 2.2.0   |        |
| fof-realtimelogin                   | 1.0.1   |        |
| fof-pretty-mail                     | 1.1.1   |        |
| fof-oauth                           | 1.5.3   |        |
| fof-nightmode                       | 1.5.3   |        |
| fof-merge-discussions               | 1.4.1   |        |
| fof-links                           | 1.2.0   |        |
| fof-gamification                    | 1.6.2   |        |
| fof-formatting                      | 1.0.3   |        |
| fof-drafts                          | 1.2.8   |        |
| fof-disposable-emails               | 1.0.0   |        |
| fof-default-group                   | 1.1.1   |        |
| fof-cookie-consent                  | 1.1.1   |        |
| fof-bbcode-details                  | 1.1.1   |        |
| fof-ban-ips                         | 1.1.0   |        |
| flarum-subscriptions                | v1.8.0  |        |
| flarum-statistics                   | v1.8.0  |        |
| flarum-pusher                       | v1.8.0  |        |
| flarum-mentions                     | v1.8.2  |        |
| flarum-lang-english                 | v1.8.0  |        |
| flarum-emoji                        | v1.8.0  |        |
| flarum-bbcode                       | v1.8.0  |        |
| davwheat-session-keepalive          | 1.1.0   |        |
| datlechin-link-preview              | v1.4.0  |        |
| dalez-fluent-flarum                 | v1.2.1  |        |
| clarkwinkelmann-mailing             | 1.1.0   |        |
| clarkwinkelmann-emojionearea        | 1.0.0   |        |
| clarkwinkelmann-author-change       | 1.0.3   |        |
| blomstra-turnstile                  | 0.1.4   |        |
| blomstra-spam-prevention            | 1.5.0   |        |
| blomstra-fontawesome                | 0.1.5   |        |
| blomstra-cache-assets               | 0.5     |        |
| askvortsov-markdown-tables          | v1.2.1  |        |
| askvortsov-auto-moderator           | v0.1.3  |        |
| afrux-top-posters-widget            | v0.1.4  |        |
| afrux-online-users-widget           | v0.1.6  |        |
| afrux-news-widget                   | v0.1.1  |        |
| afrux-forum-stats-widget            | v0.1.1  |        |
+-------------------------------------+---------+--------+
Base URL: https://rankbarn.com
Installation path: /home/rankbarn/htdocs/rankbarn.com
Queue driver: sync
Session driver: file
Scheduler status: Active
Mail driver: smtp
Debug mode: off

Possible solution(s) null

Additional Context Steps I have already tried. php flarum migrate && php flarum cache:clear php flarum assets:publish Cleared cache in Flarum backend.

FullThrottle83 commented 1 year ago

I must apologize!

User fault here. The pre-chosen language was English. Since I had not yet tagged my blog posts with the correct language-tag, none showed up. Having the option "Any Language" enabled, it showed all posts.

Thank you!