title: No query results for model [App\Product] 36
body: <p>when i run it.it prompt out and error [No query results for model [App\Product] 36].</p>
  
  <p>this is the controller code.</p>
  
  <pre class="lang-php prettyprint-override"><code>public function  wishList(Request $request)
  {        
      $products = DB::table('wishlist')-&gt;leftjoin('products', 'products.id' , '=', 'wishlist.pro_id')-&gt;get();
      return view('wishlist',compact('products'));
  }
  </code></pre>
  
  <p>this is the route.</p>
  
  <pre class="lang-php prettyprint-override"><code>Route::get('addToWishList','UserProfileController@addWishList');
  Route::get('/wishlist','UserProfileController@wishList');
  Route::get('/removeWishList/{id}', 'UserProfileController@removeWishList');
  </code></pre>
  
  <p>this is the page interface code. the error shoe that the problem is came from here.</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;tbody&gt;
  @forelse($products as $product)
      &lt;tr&gt;
          &lt;td&gt;&lt;a href="{{url('/')}}/removeWishList/{{$product-&gt;id}}"&gt;&lt;i class="fa fa-trash-o" aria-hidden="true"&gt;&lt;/i&gt;&lt;/a&gt;&lt;/td&gt;
          &lt;td&gt;
              &lt;img src="{{url('/assets/images/products')}}/{{\App\Product::findOrFail($product-&gt;pro_id)-&gt;feature_image}}" alt=""&gt;
          &lt;/td&gt;
          &lt;td&gt;
              &lt;a href="{{url('/product',$product-&gt;id)}}"&gt;
              {{$product-&gt;title}}
          &lt;/td&gt;
          &lt;td&gt;
              &lt;td&gt;{{$settings[0]-&gt;currency_sign}}&lt;span id="price{{$product-&gt;id}}"&gt;{{\App\Product::Cost($product-&gt;id)}}&lt;/span&gt;&lt;/td&gt;
          &lt;/td&gt;
          &lt;td&gt;
              &lt;form class="addtocart-form"&gt;
                  {{csrf_field()}}
                  @if(Session::has('uniqueid'))
                      &lt;input type="hidden" name="uniqueid" value="{{Session::get('uniqueid')}}"&gt;
                  @else
                      &lt;input type="hidden" name="uniqueid" value="{{str_random(7)}}"&gt;
                  @endif
                  &lt;input type="hidden" name="title" value="{{$product-&gt;title}}"&gt;
                  &lt;input type="hidden" name="product" value="{{$product-&gt;id}}"&gt;
                  &lt;input type="hidden" id="cost" name="cost" value="{{\App\Product::Cost($product-&gt;id)}}"&gt;
                  &lt;input type="hidden" id="quantity" name="quantity" value="1"&gt;
                  @if($product-&gt;stock != 0 || $product-&gt;stock === null )
                      &lt;button type="button" class="addTo-cart to-cart"&gt;&lt;i class="fa fa-cart-plus"&gt;&lt;/i&gt;&lt;span&gt;{{$language-&gt;add_to_cart}}&lt;/span&gt;&lt;/button&gt;
                  @else
                      &lt;button type="button" class="addTo-cart  to-cart" disabled&gt;&lt;i class="fa fa-cart-plus"&gt;&lt;/i&gt;{{$language-&gt;out_of_stock}}&lt;/button&gt;
                  @endif
              &lt;/form&gt;
          &lt;/td&gt;
      &lt;/tr&gt;
  &lt;/tbody&gt;
  </code></pre>