M
M
Main2017-05-23 00:04:34
Yii
Main, 2017-05-23 00:04:34

Tell me what's wrong?

48afa464eda445efac871f9f8d1d006d.JPG
Please help, what is the error?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Decadal, 2017-05-23
@Maxmil

The table you are accessing does not have a "status" field. Check if you are using the correct model, also check the user table for the presence of this field (usually a base migration creates a user table that includes the status field)

M
Maxim Timofeev, 2017-05-23
@webinar

Somewhere a query is formed that depends on status, but there is no such column in the database. In the full error code there is info where exactly the request goes. In which video did you find this? For user statuses it is better to use RBAC. The introduction of status seems simpler, only at first glance, but then entails a whole bicycle factory.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question