title: Laravel Eloquent update cannot see columns that needs to be updated
body: <p><strong>Hello guys, I created a "promos" table and now, I am working on the CRUD functionalities of this module. The "create" functionality is done and I encountered no problems. My only problem is this when I am updating my model and it is very weird.</strong></p>
  
  <p>It seems that $this->model->where('id', $id)->first() cannot see and retrieve the list of columns. Here is the screenshot.</p>
  
  <p><a href="https://i.stack.imgur.com/BgUgP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BgUgP.png" alt="enter image description here"></a></p>
  
  <p>I already tried composer dump-autoload and php artisan clear-compiled hoping the problem will fix itself.</p>
  
  <p>For additional reference, here is my schema, model and code:</p>
  
  <p><a href="https://i.stack.imgur.com/xgwdv.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xgwdv.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/und0O.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/und0O.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/l15ua.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/l15ua.png" alt="enter image description here"></a></p>
  
  <p><em>Other notes: $this->model points to the Promo model</em></p>
  
  <hr>
  
  <p><strong>EDIT:</strong> </p>
  
  <p>I did not display the controllers specifically the update method as stated by @OmarTarek. Our company is using RepositoryInterface Pattern. Instead of the normal <strong>View=>Controller=>Model</strong> when saving data to the database, our workflow is like this <strong>View=>Controller=>Repository=>Model</strong></p>
  
  <p>In my controller, my code is</p>
  
  <p><a href="https://i.stack.imgur.com/NuO6F.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NuO6F.png" alt="enter image description here"></a></p>
  
  <p>While in my repository, my code is like this:</p>
  
  <p><a href="https://i.stack.imgur.com/ATDOB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ATDOB.png" alt="enter image description here"></a></p>
  
  <p>As you can see, I am inheriting the BaseRepository.php because it has all the necessary functions/methods for create, update and delete.</p>
  
  <p>It is the BaseRepository
  <a href="https://i.stack.imgur.com/XSIfd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XSIfd.png" alt="enter image description here"></a></p>
  
  <p>I highlighted the code that is giving the error.</p>
  
  <hr>
  
  <p><strong>EDIT II:</strong> </p>
  
  <p>I already implemented the change suggested by @PaladiN. The error still displays and the update method still don't work.</p>
  
  <p><a href="https://i.stack.imgur.com/RB87Z.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RB87Z.png" alt="enter image description here"></a></p>