N
N
Nikita Zelikov2021-08-20 18:40:01
Laravel
Nikita Zelikov, 2021-08-20 18:40:01

Laravel port, 500 error, what's wrong?

Moved laravel project from git to host (beget), got 500 error...
What's wrong?

.log

[previous exception] [object] (PDOException(code: 42S22): SQLSTATE[42S22]: Column not found: 1054 Unknown column 'settings.deleted_at' in 'where clause' at /home/l/ledimiqx/getcrm-new/vendor/laravel/framework/src/Illuminate/Database/Connection.php:345)

In the log, as I understand it, it swears on the database

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
inFureal, 2021-08-20
@inFureal

Because there is no deleted_at column in the settings table. Check if there is a SoftDeletes trait in the Settings model

L
Loli E1ON, 2021-08-20
@E1ON

Column not found: 1054 Unknown settings.deleted_at column in where clause

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question