# Production.log gera erro de método e o Discourse não está funcionando

**URL:** <https://meta.discourse.org/t/production-log-give-no-method-error-and-discourse-not-working/135017>\
**Category:** Product Support\
**Created:** [Dezembro 3, 2019, 11:46pm UTC](https://meta.discourse.org/t/production-log-give-no-method-error-and-discourse-not-working/135017 "2019-12-03T23:46:20Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Özgür\_Kuru](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/%C3%B6zg%C3%BCr_kuru/32/140422_2.png) [@Özgür\_Kuru](https://meta.discourse.org/u/%C3%96zg%C3%BCr_Kuru)\
**Post date:** [Dezembro 4, 2019, 3:36pm UTC](https://meta.discourse.org/t/production-log-give-no-method-error-and-discourse-not-working/135017/5 "2019-12-04T15:36:03Z")

</div>

O arquivo production.log online contém estas linhas:

```plaintext
Started GET "/" for 85.110.58.198 at 2019-12-04 15:32:50 +0000
Processing by ListController#new as HTML
Completed 500 Internal Server Error in 1041ms (ActiveRecord: 0.0ms)
NoMethodError (undefined method `suppress_from_latest' for #<Category:0x00007fcdf480a1a0>)
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/activemodel-5.2.3/lib/active_model/attribute_methods.rb:430:in `method_missing'
Started GET "/service-worker-29f380effd40cdaa98cfa88ea74b0c66ba6ca6c901f666253c7592d49fa5e7d4.js" for 85.110.58.198 at 2019-12-04 15:32:53 +0000
ActionController::RoutingError (No route matches [GET] "/service-worker-29f380effd40cdaa98cfa88ea74b0c66ba6ca6c901f666253c7592d49fa5e7d4.js")
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.3/lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'
Started GET "/" for 85.110.58.198 at 2019-12-04 15:32:53 +0000
Processing by ListController#new as HTML
  Rendered exceptions/_not_found_topics.html.erb (139.8ms)
  Rendering exceptions/not_found.html.erb within layouts/no_ember
  Rendered exceptions/not_found.html.erb within layouts/no_ember (1.3ms)
  Rendered layouts/_head.html.erb (56.4ms)
  Rendered common/_discourse_stylesheet.html.erb (131.3ms)
  Rendered application/_header.html.erb (6.5ms)
  Rendering html template
  Rendered html template (0.0ms)
Completed 500 Internal Server Error in 502ms (ActiveRecord: 0.0ms)
NoMethodError (undefined method `suppress_from_latest' for #<Category:0x00007fcdf4b996e0>)
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/activemodel-5.2.3/lib/active_model/attribute_methods.rb:430:in `method_missing'

```

---

_[View the full topic](https://meta.discourse.org/t/production-log-give-no-method-error-and-discourse-not-working/135017)._
