#dump() returns collection without toggle to seee data it contains

1 messages · Page 1 of 1 (latest)

rare flume
#

hello team,

it seems that laravel have been changing a thing since many months (if I didn't dream?), but it makes me crazy:
any idea to see data that collections or arrays contain when we make a dump ?
Is it a way to bypass that behaviour (except using for a @dd() or a @php var_dump($variable) @endphp ?

Thanks

floral cave
#

Any errors in the browser console?

rare flume
#

I check asap
(I noticed that @dump(get_defined_vars()) strangely works with dump/toggle !)

rare flume
#

damn. Today it works 😱
if I get the same problem in the future, I check the browser console and give a feedback. Thank you

rare flume
#

you were right, when I got this behaviour, I sometimes get

           Failed to load resource: the server responded with a status of 500 (Internal Server Error)```

but sometimes nothing