Problems with discussion fedoraproject.org website in Brave and Firefox

Similar for me. From the Firefox console logs, it seems like there’s a bug in the Discourse JS preventing it from adding some event listeners (which would tie in with the “New Topic” button not working). But then it can’t be all event listeners, because other buttons like “Reply” still work.

Uncaught (in promise) TypeError: can't access property "addEventListener", s is null
    Ember 61
        didInsertElement
        didInsertElement
        i
        _trigger
        i
        _trigger
        i
        didCreate
        commit
        commit
        eX
        _renderRoots
        _renderRootsTransaction
        _renderRoot
        _appendDefinition
        appendOutletView
        invoke
        flush
        flush
        _end
        _boundAutorunEnd
        promise callback*59017/r/<
        flush
        _scheduleAutorun
        _end
        _boundAutorunEnd
        promise callback*59017/r/<
        flush
        _scheduleAutorun
        _end
        _boundAutorunEnd
        promise callback*59017/r/<
        flush
        _scheduleAutorun
        _end
        _boundAutorunEnd
        promise callback*59017/r/<
        flush
        _scheduleAutorun
        _end
        _boundAutorunEnd
        promise callback*59017/r/<
        flush
        _scheduleAutorun
        _end
        _boundAutorunEnd
        promise callback*59017/r/<
        flush
        _scheduleAutorun
        _end
        _boundAutorunEnd
        promise callback*59017/r/<
        flush
        _scheduleAutorun
        _ensureInstance
        schedule
        f
        waitForDOMReady
        init
        _
        create
    <anonymous> start-app.js:17
    async* discourse-boot.js:13
    <anonymous> discourse-boot.js:1

I also see these messages in the console when the page loads:

DEPRECATION NOTICE: Accessing `site.mobileView` or `site.desktopView` during the site initialization can lead to errors and inconsistencies when the browser window is resized. Please move these checks to a component, transformer, or API callback that executes during page rendering. [deprecated since Discourse 3.5.0.beta9-dev] [deprecation id: discourse.static-viewport-initialization] [info: https://meta.discourse.org/t/367810]
DEPRECATION: [THEME 59 'Admin Warnings'] Importing `inject` from `@ember/service` is deprecated. Please import `service` instead. [deprecation id: importing-inject-from-ember-service] This will be removed in ember-source 7.0.0. See https://deprecations.emberjs.com/id/importing-inject-from-ember-service for more details.

Like you, I don’t get any of the same messages on KDE’s Discourse.

2 Likes