Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

iamDiscovery's avatar

Spark QueryException; Subscriptions.user_id

It says to run migrations, that does not fix it. This is the error I get when I go to /billing

SQLSTATE[42S22]: Column not found: 1054 Unknown column 'subscriptions.user_id' in 'where clause' (SQL: select * from subscriptions where subscriptions.user_id = 1 and subscriptions.user_id is not null order by created_at desc)

The database contains the subscriptions table.

0 likes
1 reply

Please or to participate in this conversation.