You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Getting ERROR: ErrorException: Undefined array key 0 in /var/www/hr/vendor/laravel/telescope/src/Watchers/ModelWatcher.php:74
If I set 'hydrations' => false, in telescope.php, it works.
I noticed the key of an array comes as string like model and doesn't comes as 0
Steps To Reproduce:
1 - I have existing Laravel app which have different models but I believe this can be replicated on fresh Laravel installation.
2 - Run composer require laravel/telescope:4.7.1 --dev. I have tried multiple versions but still no luck.
3 - Try open your app in browser. You should see the error in the console or your logs.
The text was updated successfully, but these errors were encountered:
I think this is related to my PR here: #1174. Seems that associative keys are kept because of the decoding. But it's beyond me why they're being recorded again.
Description:
Getting
ERROR: ErrorException: Undefined array key 0 in /var/www/hr/vendor/laravel/telescope/src/Watchers/ModelWatcher.php:74
'hydrations' => false,
intelescope.php
, it works.model
and doesn't comes as0
Steps To Reproduce:
1 - I have existing Laravel app which have different models but I believe this can be replicated on fresh Laravel installation.
2 - Run
composer require laravel/telescope:4.7.1 --dev
. I have tried multiple versions but still no luck.3 - Try open your app in browser. You should see the error in the console or your logs.
The text was updated successfully, but these errors were encountered: