# 500 error loading summary page for some users (beta4)

**URL:** <https://meta.discourse.org/t/500-error-loading-summary-page-for-some-users-beta4/101796>\
**Category:** Product Support\
**Created:** [11월 11, 2018, 7:56오후 UTC](https://meta.discourse.org/t/500-error-loading-summary-page-for-some-users-beta4/101796 "2018-11-11T19:56:28Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![DiscourseMetrics](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/discoursemetrics/32/55756_2.png) [@DiscourseMetrics](https://meta.discourse.org/u/DiscourseMetrics)\
**Post date:** [11월 11, 2018, 7:56오후 UTC](https://meta.discourse.org/t/500-error-loading-summary-page-for-some-users-beta4/101796/1 "2018-11-11T19:56:28Z")

</div>

I’m seeing a 500 error loading some users’ summary pages:

```
NoMethodError (undefined method `attributes' for nil:NilClass) /var/www/discourse/app/models/user_summary.rb:196:in `block in user_counts'

```

and

```
/var/www/discourse/app/models/user_summary.rb:196:in `block in user_counts'
/var/www/discourse/app/models/user_summary.rb:194:in `map'
/var/www/discourse/app/models/user_summary.rb:194:in `user_counts'
/var/www/discourse/app/models/user_summary.rb:80:in `most_liked_users'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/active_model_serializers- 
0.8.4/lib/active_model/serializer.rb:122:in `block (2 levels) in associate'
...

```

I haven’t been able to ascertain if there are commonalities between the user profiles this happens to, but perhaps it has to do with which users are most liked by that user.

Happy to get any ideas on how to fix this 🙂

Cheers!

---

_[View the full topic](https://meta.discourse.org/t/500-error-loading-summary-page-for-some-users-beta4/101796)._
