title: Undefined property: Illuminate\Pagination\LengthAwarePaginator::$name
body: <p>I am trying to get data from my table and show it in my view and paginate this data. I received this problem and couldn2t find any solution. I did the exactly same thing in my previous  project and it worked well. </p>
  
  <p>here is my Controller </p>
  
  <pre><code>public function hadiBirlikteCalisalimShow (){
      $users =DB::table('birlikte_calisalim')-&gt;paginate(15);
      return view('admin.birliktecalisalim',compact(['users']));
  }
  </code></pre>
  
  <p>and this is my view </p>
  
  <pre><code>&lt;table class="table table-bordered table-hover table-striped"&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;İsim&lt;/th&gt;
              &lt;th&gt;Email&lt;/th&gt;
              &lt;th&gt;Tarih&lt;/th&gt;
              &lt;th&gt;İstek&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
  
      &lt;tbody&gt;
          @foreach($users as $row)
          &lt;tr&gt;
              &lt;td&gt;{{$users-&gt;name}}&lt;/td&gt;
              &lt;td&gt;{{$users-&gt;email}}&lt;/td&gt;
              &lt;td&gt;{{$users-&gt;tarih}}&lt;/td&gt;
              &lt;td&gt;{{$users-&gt;message}}&lt;/td&gt;
          &lt;/tr&gt;
          @endforeach
      &lt;/tbody&gt;
  &lt;/table&gt;
  {{$users-&gt;links()}}
  </code></pre>