This seems to be invalid
<form action="{{route('usuario.show', $id->$usuario_ad)}}" method="POST">
Note the $id->$usuario_ad. I think you need one of the parameters here instead of both!
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I have tried to do a where query with a select options
Code with error
https://paste.laravel.io/de1569e9-6fe5-477c-b6fc-eac5fb3d59d9
"Trying to get property of non-object (View: C:\laragon\www\crudgobernaciontres\resources\views\Usuario\index.blade.php)"
In this module I consult all the records, but I also want to select by username, I still do not get it.
view https://paste.laravel.io/505fad0a-3fb6-49d4-9465-1751e9de6136 controller https://paste.laravel.io/dfdbb2b5-8c9f-46b2-b9bc-38b5dc2a7cbe
Is it possible to do this in the same module?
Please or to participate in this conversation.