Skip to content
Advertisement

Too few arguments to function AppHttpControllersHomeClientLogoController::EditClientImage() Controller Laravel

I am using Laravel 9 and I am getting this error I tried various methods to fix this issue but I’m stuck on this . Please help me.

Here is my code:

JavaScript

I have passed Id with the route and capture. Here is the code. :-

JavaScript

And this is my controller code .

JavaScript

and an error is showing in line 51. This is my line 51. public function EditClientImage($id) and I am redirecting it to edit_client Here is the code for edit_client 

JavaScript

Thank You

Advertisement

Answer

JavaScript

You need to name it as id…

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement