'Laravel 8 error. Missing Parameters in URL
enter image description hereIlluminate\Routing\Exceptions\UrlGenerationException Missing required parameter for [Route: product_update] [URI: product-update/{id}] [Missing parameter: id]. (View: C:\xampp\htdocs\test\resources\views\productedit.blade.php)
I have already provided the parameter via route but still, there is an error.
Code Screenshots are below.
enter image description here enter image description hereenter image description here
Solution 1:[1]
I think it should be like this
route('product_update', ['id' => $productID])
I hope it's helpful
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 |
