# 驱动本论坛的软件遇到意外问题

**URL:** https://meta.discourse.org/t/the-software-powering-this-discussion-forum-encountered-an-unexpected-problem/112126
**Category:** Support
**Created:** [2019年三月20日 06:51 UTC](https://meta.discourse.org/t/the-software-powering-this-discussion-forum-encountered-an-unexpected-problem/112126 "2019-03-20T06:51:07Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [2019年三月20日 08:18 UTC](https://meta.discourse.org/t/the-software-powering-this-discussion-forum-encountered-an-unexpected-problem/112126/3 "2019-03-20T08:18:56Z")

</div>

You can just go to `/logs` in the URL btw (a bit quicker than logging in via terminal, but you’ll soon need to do that!)

Do you see this error?:

`StandardError (Attempting to access a non preloaded custom field, this is disallowed to prevent N+1 queries.) /var/www/discourse/app/models/concerns/has_custom_fields.rb:158:in []`

This has been happening to a lot of sites recently due to a core change which is causing several plugins to break the build. Many plugins have been updated to fix this including [Topic List Previews](https://meta.discourse.org/t/topic-list-previews/101646/326), [Events Plugin, Discourse-Solved](https://meta.discourse.org/t/events-plugin-calendar/69776/426) and [Custom Layouts plugins.](https://meta.discourse.org/t/custom-layouts-plugin/55208/224)

First I would perform a complete rebuild to pick up all the updates, then if that doesn’t resolve it I would remove all plugins that don’t have explicit fixes for this and rebuild.

---

_[View the full topic](https://meta.discourse.org/t/the-software-powering-this-discussion-forum-encountered-an-unexpected-problem/112126)._
