Help. How to fix it?
ErrorException
Undefined offset: 3
at C:\OSPanel\domains\gofer\vendor\laravel\framework\src\Illuminate\Support\Collection.php:1351
1347| * @return mixed
1348| */
1349| public function offsetGet($key)
1350| {
> 1351| return $this->items[$key];
1352| }
1353|
1354| /**
1355| * Set the item at a given offset.
1 C:\OSPanel\domains\gofer\vendor\laravel\framework\src\Illuminate\Support\Collection.php:1351
Illuminate\Foundation\Bootstrap\HandleExceptions::handleError()
2 C:\OSPanel\domains\gofer\app\Providers\AppServiceProvider.php:77
Illuminate\Support\Collection:
ffsetGet()
Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1
At the start of the site, the same thing happens in the browser
ErrorException
Undefined offset: 3
at C:\OSPanel\domains\gofer\vendor\laravel\framework\src\Illuminate\Support\Collection.php:1351
1347| * @return mixed
1348| */
1349| public function offsetGet($key)
1350| {
> 1351| return $this->items[$key];
1352| }
1353|
1354| /**
1355| * Set the item at a given offset.
1 C:\OSPanel\domains\gofer\vendor\laravel\framework\src\Illuminate\Support\Collection.php:1351
Illuminate\Foundation\Bootstrap\HandleExceptions::handleError()
2 C:\OSPanel\domains\gofer\app\Providers\AppServiceProvider.php:77
Illuminate\Support\Collection:
Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1
At the start of the site, the same thing happens in the browser