R
Asked
I have installed v3 and its up and running but if i try to check out a item or delete item i get a 500 error the only thing i can see in logs i have posted below.
[2023-02-09 22:04:19] production.ERROR: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'account_id' in 'where clause' (SQL: select * from `checkout_items` where `checkout_items`.`checkout_id` = 4 and `checkout_items`.`checkout_id` is not null and `account_id` = 1) {"userId":2,"exception":"[object] (Illuminate\\Database\\QueryException(code: 42S22): SQLSTATE[42S22]: Column not found: 1054 Unknown column 'account_id' in 'where clause' (SQL: select * from `checkout_items` where `checkout_items`.`checkout_id` = 4 and `checkout_items`.`checkout_id` is not null and `account_id` = 1) at /home/rtecone/domains/van.rtec.one/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:760)
[stacktrace]
[2023-02-09 22:04:19] production.ERROR: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'account_id' in 'where clause' (SQL: select * from `checkout_items` where `checkout_items`.`checkout_id` = 4 and `checkout_items`.`checkout_id` is not null and `account_id` = 1) {"userId":2,"exception":"[object] (Illuminate\\Database\\QueryException(code: 42S22): SQLSTATE[42S22]: Column not found: 1054 Unknown column 'account_id' in 'where clause' (SQL: select * from `checkout_items` where `checkout_items`.`checkout_id` = 4 and `checkout_items`.`checkout_id` is not null and `account_id` = 1) at /home/rtecone/domains/van.rtec.one/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:760)
[stacktrace]
- MSAnsweredHello,
I am sorry for the trouble. I have updated the schema for new installations.
Please re-install it and it should work.
Thank you - Login to Reply