Closed djekl closed 7 years ago
If in a model I use protected $appends to add say a computed field like full_address then you will get
protected $appends
full_address
Undefined offset: 0 {"exception":"[object] (ErrorException(code: 0): Undefined offset: 0 at .../vendor/yab/laravel-scout-mysql-driver/src/Services/ModelService.php:44)
Will submit a simple PR that will fix this now
Fixes applied in v2.0.1
If in a model I use
protected $appends
to add say a computed field likefull_address
then you will getUndefined offset: 0 {"exception":"[object] (ErrorException(code: 0): Undefined offset: 0 at .../vendor/yab/laravel-scout-mysql-driver/src/Services/ModelService.php:44)
Will submit a simple PR that will fix this now