title: Laravel - Property [owner] does not exist on this collection instance
body: <p>I'm trying to get data from multiple rows in the same call by their id but I get this error everytime when I submit the form..
  'Property [owner] does not exist on this collection instance.'
  Can you tell me what I'm doing wrong?</p>
  
  <p>My controller</p>
  
  <pre><code>public function delivery(Request $request) {
  
     $iid = $request-&gt;inv_id;
  
  
     $item = DB::table('inventory')
     -&gt;join('products', 'products.id', '=', 'inventory.product_id')
     -&gt;whereIn('inventory.id', $iid)
     -&gt;select('products.*' , 'inventory.id as id1')
     -&gt;get();
  
  
  //Check if user owns the items
  if ($item-&gt;owner != Auth::user()-&gt;id)
  return back()-&gt;with('error', 'Nu detii acest obiect.');
  //Check if item is not sold
  if ($item-&gt;sold == 1)
  return back()-&gt;with('error', 'Din pacate acest obiect este vandut.');
  //Check if the item is not put in the marketplace
  if ($item-&gt;on_market == 1)
  return back()-&gt;with('error', 'Acest obiect este plasat la vanzare pe market.');
  // Set Inventory Item redemeed to 1
  Inventory::whereIn('id', $iid)
            -&gt;update(['redeemed' =&gt; 1]);
  
  
  return redirect('/inventory')-&gt;with('success', 'Success');
  
   }
  </code></pre>
  
  <p>My Blade:</p>
  
  <pre><code>&lt;input type="hidden" name="inv_id[]" value="{{$product-&gt;id1}}"&gt;
  </code></pre>
  
  <p>dd($item) Output</p>
  
  <pre><code>Collection {#679 ▼
    #items: array:3 [▼
      0 =&gt; {#677 ▼
        +"id": 339
        +"product_id": 13
        +"game_key": null
        +"owner": "6"
        +"redeemed": 0
        +"visible": 1
        +"delivered": 0
        +"sold": 0
        +"on_market": 0
        +"item_nr": "8062731872"
        +"created_at": "2020-02-07 17:13:52"
        +"updated_at": "2020-02-07 17:13:52"
        +"id1": 339
      }
      1 =&gt; {#674 ▶}
      2 =&gt; {#664 ▶}
    ]
  }
  </code></pre>