# Discourse Category Lockdown

**URL:** https://meta.discourse.org/t/discourse-category-lockdown/70649
**Category:** Plugin
**Tags:** pavilion
**Created:** [September 23, 2017, 9:26pm UTC](https://meta.discourse.org/t/discourse-category-lockdown/70649 "2017-09-23T21:26:39Z")
**Posts on this page:** 1
**Showing post:** 36

<div class="post-metadata">

### Author: ![dylanb](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dylanb/32/139102_2.png) [@dylanb](https://meta.discourse.org/u/dylanb)
#### Post date: [September 5, 2020, 8:12pm UTC](https://meta.discourse.org/t/discourse-category-lockdown/70649/36 "2020-09-05T20:12:12Z")

</div>

This plugin appears to break in 2.6 beta 2. @fzngagan Discourse doesn’t allow me to load any topics when it is activated, see errors below.

> [@Can't load topics](https://meta.discourse.org/t/cant-load-topics/163126):
>
> I recently upgraded my Discourse and now can not seem to load topics. I just get a spinning circle when trying to load the content. URL: [forum.umhoops.com](http://forum.umhoops.com)[This error keeps repeating in the logs](https://pastebin.com/QgbyU51h). In [safe mode](https://meta.discourse.org/t/53504?silent=true), I get this error when trying to load a topic: I’ve rebuilt the container multiple times but that doesn’t seem to fix the issue. The issue started when I tried to upgrade through the web interface a received a bootstrap failed error. I then re-built via SSH and it “w…

```
Message (204 copies reported)

ArgumentError (wrong number of arguments (given 1, expected 0))
lib/topic_view.rb:59:in `initialize'
app/controllers/topics_controller.rb:81:in `new'
app/controllers/topics_controller.rb:81:in `show'
app/controllers/application_controller.rb:340:in `block in with_resolved_locale'
app/controllers/application_controller.rb:340:in `with_resolved_locale'
lib/middleware/omniauth_bypass_middleware.rb:68:in `call'
lib/content_security_policy/middleware.rb:12:in `call'
lib/middleware/anonymous_cache.rb:334:in `call'
config/initializers/100-quiet_logger.rb:23:in `call'
config/initializers/100-silence_logger.rb:31:in `call'
lib/middleware/enforce_hostname.rb:22:in `call'
lib/middleware/request_tracker.rb:176:in `call'

Backtrace

plugins/discourse-category-lockdown/plugin.rb:41:in `check_and_raise_exceptions'
lib/topic_view.rb:59:in `initialize'
app/controllers/topics_controller.rb:81:in `new'
app/controllers/topics_controller.rb:81:in `show'
actionpack (6.0.3.2) lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
actionpack (6.0.3.2) lib/abstract_controller/base.rb:195:in `process_action'
actionpack (6.0.3.2) lib/action_controller/metal/rendering.rb:30:in `process_action'
actionpack (6.0.3.2) lib/abstract_controller/callbacks.rb:42:in `block in process_action'
activesupport (6.0.3.2) lib/active_support/callbacks.rb:112:in `block in run_callbacks'
app/controllers/application_controller.rb:340:in `block in with_resolved_locale'

Env

```

---

_[View the full topic](https://meta.discourse.org/t/discourse-category-lockdown/70649)._
