title: Undefined property: Illuminate\Database\Eloquent\Relations\HasOne::$user_id
body: <p>I'm just a beginner at laravel, Sorry if it's a stupid question </p>
  
  <p><strong>Here's my controller :-</strong></p>
  
  <pre><code>&lt;?php
  
  namespace App\Http\Controllers;
  
  use Illuminate\Http\Request;
  use App\User;
  use App\Profile;
  use Auth;
  
  
  
  class ProfilesController extends Controller
  {
  
    public function _construct()
    {
      $this-&gt;middleware('auth');
    }
  
    public function create()
    {
      return view('bio');
    }
  
    public function store(Request $request)
    {
    auth()-&gt;user()-&gt;profile()-&gt;user_id;
      // create Bio
      $profile = new Profile;
  
      $profile-&gt;bio = $request-&gt;input('bio');
      $profile-&gt;save();
      return redirect('/home');
  
    }
  
  
  }
  </code></pre>
  
  <p><strong>Here's My Model:-</strong></p>
  
  <pre><code>&lt;?php
  
  namespace App;
  
  use Illuminate\Database\Eloquent\Model;
  
  class Profile extends Model
  {
    protected $gaurded = [];
  protected $fillable = ['user_id', 'bio'];
  
      public function user()
      {
        return $this-&gt;belongsTo(User::class);
      }
  }
  </code></pre>
  
  <p><strong>Here Are My Tables</strong></p>
  
  <pre><code>&lt;?php
  
  namespace App;
  
  use Illuminate\Database\Eloquent\Model;
  
  class Profile extends Model
  {
    protected $gaurded = [];
  protected $fillable = ['user_id', 'bio'];
  
      public function user()
      {
        return $this-&gt;belongsTo(User::class);
      }
  }
  </code></pre>
  
  <p><strong>Here's My User Model:-</strong></p>
  
  <pre><code>  public function profile()
      {
        return $this-&gt;hasOne(Profile::class);
      }
  
      public function posts()
      {
        return $this-&gt;hasMany(Posts::class);
      }
  
  </code></pre>
  
  <p>I'm getting this error <strong>"Undefined property: Illuminate\Database\Eloquent\Relations\HasOne::$user_id"</strong> I don't know where i went wrong please help me and guide me if u can 
  <strong>Thanks</strong></p>