title: Trying to get property 'first_name' of non-object
body: <p>I am trying to fetch digitizing order related to the user but unfortunately, I am facing an error.</p>
  <p>Please see this error: <a href="https://flareapp.io/share/VmeWJ47Q" rel="nofollow noreferrer">https://flareapp.io/share/VmeWJ47Q</a></p>
  <p><strong>Controller</strong></p>
  <pre><code>public function index()
  {
    $data=
       [
         'digitizings'=&gt;Digitizing::with('user')-&gt;paginate(8)
       ];
    return view('front_end.profile.digitizing.digitizing_view_order',$data);
  }
  </code></pre>
  <p><strong>User Model</strong></p>
  <pre><code>class User extends Authenticatable
  {
     use Notifiable;
     public function digitizing()
     {
        return $this-&gt;hasMany('App\Digitizing','user_id');
     }
                         
  }
  </code></pre>
  <p><strong>Digitizing Model</strong></p>
  <pre><code>class Digitizing extends Model
  {
    protected $fillable = ['id','order_name','height','width','urgent','image',
    'order_placement','required_format','order_fabric','instruction','user_id'];
  
  protected $table =&quot;digitizing_orders&quot;;
  
   public function user()
   {
       return $this-&gt;belongsTo('App\User');
   }
  }
  </code></pre>
  <p><strong>HTML view</strong></p>
  <pre><code> @foreach($digitizings as  $key =&gt;$digitizing)
      &lt;tr&gt;
          &lt;td&gt;DPO# {{$digitizing-&gt;id}}&lt;/td&gt;
          &lt;td&gt;{{$digitizing-&gt;created_at}}&lt;/td&gt;
          &lt;td&gt;{{$digitizing-&gt;order_name}}&lt;/td&gt;
          &lt;td&gt;{{$digitizing-&gt;user-&gt;first_name}}&lt;/td&gt;
          &lt;td&gt;{{$digitizing-&gt;user-&gt;email}}&lt;/td&gt;
          &lt;td&gt;{{$digitizing-&gt;released_date ??  'processing'}}&lt;/td&gt;
          &lt;td&gt;&lt;a href=&quot;&quot;&gt;View&lt;/a&gt;  
          &lt;/td&gt;
      &lt;/tr&gt;
   @endforeach
  </code></pre>