# Meta.Discourse not working on out of date Brave browser

**URL:** <https://meta.discourse.org/t/meta-discourse-not-working-on-out-of-date-brave-browser/221033>\
**Category:** Product Support\
**Created:** [March 15, 2022, 8:28pm UTC](https://meta.discourse.org/t/meta-discourse-not-working-on-out-of-date-brave-browser/221033 "2022-03-15T20:28:38Z")\
**Posts on this page:** 7\
**Page:** 1

## AI-generated summary

A user reported that Meta.Discourse was not working on their Brave browser (Ubuntu 20.04), showing a console error: `r.replaceAll is not a function`. Despite troubleshooting steps like disabling plugins and extensions, the issue persisted. Another user confirmed the same error in logs after a recent upgrade. A third user identified the browser version as outdated (v1.7.98) and recommended updating to the latest version (v1.36.112). The original user acknowledged the outdated browser, manually updated Brave using terminal commands, and confirmed the issue was resolved [BaronGrivet](/t/-/221033/1).

<div class="post-metadata">

**Author:** ![BaronGrivet](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/barongrivet/32/152142_2.png) [@BaronGrivet](https://meta.discourse.org/u/BaronGrivet)\
**Post date:** [March 15, 2022, 8:28pm UTC](https://meta.discourse.org/t/meta-discourse-not-working-on-out-of-date-brave-browser/221033/1 "2022-03-15T20:28:38Z")

</div>

I upgrade my version of Discourse yesterday & it broke on [Brave](https://brave.com/) (Ubuntu 20.04) with the following console error:

> r.replaceAll is not a function

So I went through all the normal troubleshooting steps of turning off all of the plugins, turning off all browser extensions & doing a complete rebuild.

Even with all of the above I’m still getting a blank screen & the console error.

Today visiting [https://meta.discourse.org/](https://meta.discourse.org/) using Brave desktop browser returns an identical error to my Discourse site:

```plaintext
jquery.js:4059 
Uncaught TypeError: r.replaceAll is not a function
    at ce (plugin-api.js:1788)
    at e.value (plugin-api.js:269)
    at onebox-decorators.js:48
    at e.withPluginApi (plugin-api.js:1756)
    at Object.initialize (onebox-decorators.js:47)
    at Object.i.initialize (app.js:46)
    at index.js:144
    at e.each (dag-map.js:231)
    at e.walk (dag-map.js:145)
    at e.each (dag-map.js:75)
    at e.topsort (dag-map.js:83)
    at n._runInitializer (index.js:158)
    at n.runInstanceInitializers (index.js:142)
    at n._bootSync (instance.js:110)
    at n.didBecomeReady (application.js:691)
    at t.invoke (backburner.js:371)
    at e.t.flush (backburner.js:263)
    at e.t.flush (backburner.js:470)
    at e.n._end (backburner.js:1044)
    at e.n.end (backburner.js:730)
    at e.n._run (backburner.js:1099)
    at e.n._join (backburner.js:1073)
    at e.n.join (backburner.js:790)
    at f (index.js:179)
    at HTMLDocument.<anonymous> (index.js:283)
    at u (jquery.js:3766)
    at c (jquery.js:3834)

```

Is anyone else experiencing this issue?

---

<div class="post-metadata">

**Author:** ![Mr.X\_Mr.X](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mr.x_mr.x/32/126610_2.png) [@Mr.X\_Mr.X](https://meta.discourse.org/u/Mr.X_Mr.X)\
**Post date:** [March 15, 2022, 8:50pm UTC](https://meta.discourse.org/t/meta-discourse-not-working-on-out-of-date-brave-browser/221033/2 "2022-03-15T20:50:19Z")

</div>

I’m seeing this error in logs starting yesterday’s upgrade in massive amounts.

r.replaceAll is not a function

---

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [March 15, 2022, 8:55pm UTC](https://meta.discourse.org/t/meta-discourse-not-working-on-out-of-date-brave-browser/221033/3 "2022-03-15T20:55:49Z")

</div>

What Brave version? v1.36.112 ?

---

<div class="post-metadata">

**Author:** ![BaronGrivet](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/barongrivet/32/152142_2.png) [@BaronGrivet](https://meta.discourse.org/u/BaronGrivet)\
**Post date:** [March 15, 2022, 8:57pm UTC](https://meta.discourse.org/t/meta-discourse-not-working-on-out-of-date-brave-browser/221033/4 "2022-03-15T20:57:48Z")

</div>

> [Version 1.7.98 Chromium: 81.0.4044.113 (Official Build) (64-bit)](https://brave.com/latest/)

Which is the latest update (I think).

---

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [March 15, 2022, 9:00pm UTC](https://meta.discourse.org/t/meta-discourse-not-working-on-out-of-date-brave-browser/221033/5 "2022-03-15T21:00:35Z")

</div>

That one is quite old, and probably insecure by today: [Release v1.7.38 · brave/brave-browser · GitHub](https://github.com/brave/brave-browser/releases/tag/v1.7.38)

Latest is v1.36.112, try updating.

---

<div class="post-metadata">

**Author:** ![BaronGrivet](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/barongrivet/32/152142_2.png) [@BaronGrivet](https://meta.discourse.org/u/BaronGrivet)\
**Post date:** [March 15, 2022, 9:08pm UTC](https://meta.discourse.org/t/meta-discourse-not-working-on-out-of-date-brave-browser/221033/6 "2022-03-15T21:08:36Z")

</div>

Interesting, thank you for the prompt!

I’ve become complacently used to having software on Ubuntu update automatically, especially the browsers & simply hadn’t checked that my version of Brave was updating.

I ran a manual update & it worked:

```plaintext
sudo apt install apt-transport-https curl
sudo curl -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main"|sudo tee /etc/apt/sources.list.d/brave-browser-release.list
sudo apt update
sudo apt upgrade brave-browser

```

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)\
**Post date:** [April 14, 2022, 9:08pm UTC](https://meta.discourse.org/t/meta-discourse-not-working-on-out-of-date-brave-browser/221033/7 "2022-04-14T21:08:37Z")

</div>

Closed on April 14, 2022, 9:08pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
