# Error in Docs when open a topic

**URL:** <https://meta.discourse.org/t/error-in-docs-when-open-a-topic/225869>\
**Category:** Bug\
**Tags:** docs\
**Created:** [May 2, 2022, 12:56pm UTC](https://meta.discourse.org/t/error-in-docs-when-open-a-topic/225869 "2022-05-02T12:56:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Don](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/don/32/228726_2.png) [@Don](https://meta.discourse.org/u/Don)\
**Post date:** [May 2, 2022, 12:56pm UTC](https://meta.discourse.org/t/error-in-docs-when-open-a-topic/225869/1 "2022-05-02T12:56:17Z")

</div>

Hello,

In Docs the following error shows in console when open topic. It seems to the topic open correctly but maybe slower than before? Not sure…

`Uncaught TypeError: Cannot read properties of undefined (reading 'toString')`

 ![Screenshot 2022-05-02 at 14.41.04](https://global.discourse-cdn.com/meta/original/4X/4/b/0/4b05465d8272764dcdec000b6b91107f6f051a5d.png)

**Repro:**

1. Go to Docs → [Documentation - Discourse Meta](https://meta.discourse.org/docs)
2. Open a topic
3. Check console

* * *

Thanks 🙂

---

<div class="post-metadata">

**Author:** ![isaac](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/isaac/32/235758_2.png) [@isaac](https://meta.discourse.org/u/isaac)\
**Post date:** [May 3, 2022, 4:42pm UTC](https://meta.discourse.org/t/error-in-docs-when-open-a-topic/225869/4 "2022-05-03T16:42:26Z")

</div>

I have added a [fix](https://github.com/discourse/discourse/pull/16610), thank you for bringing this up 🙂

---

<div class="post-metadata">

**Author:** ![isaac](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/isaac/32/235758_2.png) [@isaac](https://meta.discourse.org/u/isaac)\
**Post date:** [May 4, 2022, 4:42pm UTC](https://meta.discourse.org/t/error-in-docs-when-open-a-topic/225869/5 "2022-05-04T16:42:34Z")

</div>

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