# User card loading failed

**URL:** https://meta.discourse.org/t/user-card-loading-failed/366391
**Category:** Support
**Tags:** gamification, user-card
**Created:** [May 16, 2025, 7:53am UTC](https://meta.discourse.org/t/user-card-loading-failed/366391 "2025-05-16T07:53:49Z")
**Posts on this page:** 1
**Showing post:** 9

<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: [May 16, 2025, 8:40am UTC](https://meta.discourse.org/t/user-card-loading-failed/366391/9 "2025-05-16T08:40:47Z")

</div>

> [@sheng\_hualuo](#):
>
> ```plaintext
> Failed to handle exception in exception app middleware : ActiveRecord::StatementInvalid : PG::UndefinedTable: ERROR: relation "gamification_leaderboard_cache_1_all_time" does not exist LINE 1: ...p.t
> 
> ActiveRecord::StatementInvalid (PG::UndefinedTable: ERROR: relation "gamification_leaderboard_cache_1_all_time" does not exist LINE 1: ...p.total_score, p.position FROM "users" INNER JOIN gamificati.
> 
> ```

> [@sheng\_hualuo](#):
>
> `GET https://www.tometo.me/u/shen_hualuo.json 500 (Internal Server Error)`

So these look related.

Looks like Gamification is modifying the User data and is throwing an error.

So that almost certainly explains why the User Card is not loading.

It looks to me like you have more than one issue and are related to addins, not Core Discourse.

I would remove:

- Gamification plugin
- Whatever theme component ([THEME 300 ‘最新主题摘要’]) is causing that other browser error (needs to be rewritten to avoid use of .hbr templates)

until you can solve those issues.

Suggest reporting the Gamification error on the [Gamification Topic](https://meta.discourse.org/t/discourse-gamification/225916).

---

_[View the full topic](https://meta.discourse.org/t/user-card-loading-failed/366391)._
