title: SQLSTATE[42S22]: Column not found: 1054 Unknown column '0' in 'field list Laravel
body: <p>I have following function code in my Controller</p>
  
  <pre><code>   public function processEdit($inputs) {
  
  
          $id = Input::get('id');
           $user = new User($inputs);
          $result = User::where('id', '=', $id)-&gt;update(array($user));
       return view ('welcome');
      }
  </code></pre>
  
  <p>after executing this code i am getting following error </p>
  
  <pre><code>  SQLSTATE[42S22]: Column not found: 1054 Unknown column '0' in 'field list
  </code></pre>
  
  <p>I have not any column in my table , or my inputs. Any help ?</p>