# בעיה עם DiscoTOC: TypeError: \_offsetCalculator.headerOffset אינו פונקציה

**URL:** <https://meta.discourse.org/t/problem-with-discotoc-typeerror-offsetcalculator-headeroffset-is-not-a-function/219710>\
**Category:** Bug\
**Created:** [1 במרץ,‏ 2022,‏ 3:08pm UTC](https://meta.discourse.org/t/problem-with-discotoc-typeerror-offsetcalculator-headeroffset-is-not-a-function/219710 "2022-03-01T15:08:26Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![amotl](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/amotl/32/109873_2.png) [@amotl](https://meta.discourse.org/u/amotl)\
**Post date:** [1 במרץ,‏ 2022,‏ 9:55pm UTC](https://meta.discourse.org/t/problem-with-discotoc-typeerror-offsetcalculator-headeroffset-is-not-a-function/219710/5 "2022-03-01T21:55:05Z")

</div>

So we should either upgrade Discourse or downgrade DiscoTOC to a version before the refactoring, right? Thank you!

---

_[View the full topic](https://meta.discourse.org/t/problem-with-discotoc-typeerror-offsetcalculator-headeroffset-is-not-a-function/219710)._
