I want to change a field in the database but I have an error?

Here is the error:
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'status_distib' in 'field list" in D:\Soft\OSPanel\domains\Zarplate\models\Worker.php:95 Stack trace: #0 D:\Soft\OSPanel\domains\Zarplate\models\Worker.php(95): PDO->prepare('UPDATE worker_l...') #1 D:\Soft\OSPanel\domains\Zarplate\controllers\UserController.php(91): Worker::setStatusDistrib(1, 1) #2 [internal function]: UserController->actionCheckDistrib() #3 D:\Soft\OSPanel\domains\Zarplate\components\Router.php(64): call_user_func_array(Array, Array) #4 D:\Soft\OSPanel\domains\Zarplate\index.php(13): Router->run() #5 {main} thrown in D:\Soft\OSPanel\domains\Zarplate\models\Worker.php on line 95
Here is the SQL query:
UPDATE worker_list
SET status_distib = 1
WHERE user_id = $user_id
June 3rd 19 at 19:25
2 answers
June 3rd 19 at 19:27
status_distib a typo
most likely
Thank you) - isai commented on June 3rd 19 at 19:30
June 3rd 19 at 19:29
Column not found: 1054 Unknown column 'status_distib' in 'field list'

What is not clear?

Find more questions by tags MySQL