Problem with property ID #1858
Closed
FrancoAubone
started this conversation in
BUG
Replies: 1 comment
-
I already fixed it, what I did was to add this part in field: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Livewire PowerGrid version
v6.1.14
Livewire version
v3.5.18
Laravel version
v11.37
Which PHP version are you using?
PHP 8.2
Which Theme are you using?
Tailwind
Have you published the resource files and customized them? (php artisan vendor:publish)
No
What is the problem?
hi, I am trying to create a table from a collection, but I get the error Undefined property: stdClass::$id, I put $primaryKey and $sortField with the same name, and I also tried to forcibly put a new field “id” in the array before transforming it to collection, but still no solution. Also, I haven't published the views yet, I only published the .config.
Code snippets
return collect(Deuda::obtenerDeudaActualizada($this->cuentaid));
How do you expect it to work?
Show the table
Please confirm (incomplete submissions will not be addressed)
Beta Was this translation helpful? Give feedback.
All reactions