# Bug: uninitialized constant SiteCategorySerializer

**URL:** <https://meta.discourse.org/t/bug-uninitialized-constant-sitecategoryserializer/126551>\
**Category:** Bug\
**Tags:** topic-voting\
**Created:** [8월 22, 2019, 5:24오후 UTC](https://meta.discourse.org/t/bug-uninitialized-constant-sitecategoryserializer/126551 "2019-08-22T17:24:27Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![brahn](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/brahn/32/109267_2.png) [@brahn](https://meta.discourse.org/u/brahn)\
**Post date:** [8월 27, 2019, 3:01오전 UTC](https://meta.discourse.org/t/bug-uninitialized-constant-sitecategoryserializer/126551/5 "2019-08-27T03:01:21Z")

</div>

I just hit this today upgrading stable.  
In case it is helpful to anyone or someone can suggest a better way, this is my temporary solution:

```plaintext

hooks:
  after_code:
    - exec:
        cd: $home/plugins
        cmd:
          - mkdir -p plugins
          - git clone https://github.com/discourse/discourse-voting.git
          - cd discourse-voting && git reset --hard 9b4f233b9d33a946f626597aaf3863d2305b8809 && cd ..

```

---

_[View the full topic](https://meta.discourse.org/t/bug-uninitialized-constant-sitecategoryserializer/126551)._
