[Bug] Database Error: Could not find table 'public.v_user_status' in schema cache

Status Closed — not planned
Reported on v2.1.245
Maintainer reply None cached
Activity 1 comment · opened Aug 25, 2026 · closed Aug 28, 2026

Bug Description
⨯ Error: Không đọc được trạng thái người dùng: Could not find the table 'public.v_user_status' in the schema cache
at getUserStatus (lib/billing/quota.ts:37:20)
at async AppLayout (app/(app)/layout.tsx:21:18)
35 | .maybeSingle();
36 |

37 | if (error) throw new Error(Không đọc được trạng thái người dùng: ${error.message});

| ^
38 | return data as UserStatus | null;
39 | }
40 | {
digest: '3969975130'
}
⨯ Error: Không đọc được trạng thái người dùng: Could not find the table 'public.v_user_status' in the schema cache
at getUserStatus (lib/billing/quota.ts:37:20)
at async DashboardPage (app/(app)/dashboard/page.tsx:17:18)
35 | .maybeSingle();
36 |

37 | if (error) throw new Error(Không đọc được trạng thái người dùng: ${error.message});

| ^
38 | return data as UserStatus | null;
39 | }
40 | {
digest: '1046512149'
}
GET /dashboard 500 in 1818ms

Could not open quota.ts in the editor.
The editor process exited with an error: Terminal editors can only be used on macOS.

To set up the editor integration, add something like REACT_EDITOR=atom to the .env.local file in your project folder and restart the development server.

Could not open quota.ts in the editor.
The editor process exited with an error: Terminal editors can only be used on macOS.

To set up the editor integration, add something like REACT_EDITOR=atom to the .env.local file in your project folder and restart the development server.

Environment Info

  • Platform: linux
  • Terminal: vte-based
  • Version: 2.1.245
  • Feedback ID: 4c46b4a4-4187-499a-a5eb-a934b160d4f7

Errors

[]

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗