-
Notifications
You must be signed in to change notification settings - Fork 126
Open
Description
I come across this error such as below
php : v8.0.3 with opcache and xdebug
laravel : v8 LTS
note: eror occure while pre-compile commanding
sorry for bad english
Trying to access array offset on value of type null
at C:\xampp_old\htdocs\nib-backend-v2\vendor\laravel\framework\src\Illuminate\Http\Client\Response.php:349
345▕ */
346▕ #[\ReturnTypeWillChange]
347▕ public function offsetGet($offset)
348▕ {
➜ 349▕ return $this->json()[$offset];
350▕ }
351▕
352▕ /**
353▕ * Set the value at the given offset.
1 C:\xampp_old\htdocs\nib-backend-v2\vendor\laravel\framework\src\Illuminate\Http\Client\Response.php:349
Illuminate\Foundation\Bootstrap\HandleExceptions::handleError("Trying to access array offset on value of type null", "C:\xampp_old\htdocs\nib-backend-v2\vendor\laravel\framework\src\Illuminate\Http\Client\Response.php")
2 C:\xampp_old\htdocs\nib-backend-v2\vendor\appstract\laravel-opcache\src\Commands\Compile.php:40
Illuminate\Http\Client\Response::offsetGet("result")
m0stwan1ed
Metadata
Metadata
Assignees
Labels
No labels