appstract / laravel-opcache

Laravel Package for OPcache
MIT License
1.33k stars 118 forks source link

Error compiling opcache #131

Open Jamesking56 opened 3 years ago

Jamesking56 commented 3 years ago

When running php artisan opcache:status I get:

In Response.php line 270:

  [ErrorException]
  Trying to access array offset on value of type null

Exception trace:
  at /home/sites/15a/5/564543e965/staging/releases/98/vendor/laravel/framework/src/Illuminate/Http/Client/Response.php:270
 Illuminate\Foundation\Bootstrap\HandleExceptions->handleError() at /home/sites/15a/5/564543e965/staging/releases/98/vendor/laravel/framework/src/Illuminate/Http/Client/Response.php:270
 Illuminate\Http\Client\Response->offsetGet() at /home/sites/15a/5/564543e965/staging/releases/98/vendor/appstract/laravel-opcache/src/Commands/Status.php:36
 Appstract\Opcache\Commands\Status->handle() at /home/sites/15a/5/564543e965/staging/releases/98/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:36
 Illuminate\Container\BoundMethod::Illuminate\Container\{closure}() at /home/sites/15a/5/564543e965/staging/releases/98/vendor/laravel/framework/src/Illuminate/Container/Util.php:40
 Illuminate\Container\Util::unwrapIfClosure() at /home/sites/15a/5/564543e965/staging/releases/98/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:93
 Illuminate\Container\BoundMethod::callBoundMethod() at /home/sites/15a/5/564543e965/staging/releases/98/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:37
 Illuminate\Container\BoundMethod::call() at /home/sites/15a/5/564543e965/staging/releases/98/vendor/laravel/framework/src/Illuminate/Container/Container.php:610
 Illuminate\Container\Container->call() at /home/sites/15a/5/564543e965/staging/releases/98/vendor/laravel/framework/src/Illuminate/Console/Command.php:136
 Illuminate\Console\Command->execute() at /home/sites/15a/5/564543e965/staging/releases/98/vendor/symfony/console/Command/Command.php:256
 Symfony\Component\Console\Command\Command->run() at /home/sites/15a/5/564543e965/staging/releases/98/vendor/laravel/framework/src/Illuminate/Console/Command.php:121
 Illuminate\Console\Command->run() at /home/sites/15a/5/564543e965/staging/releases/98/vendor/symfony/console/Application.php:971
 Symfony\Component\Console\Application->doRunCommand() at /home/sites/15a/5/564543e965/staging/releases/98/vendor/symfony/console/Application.php:290
 Symfony\Component\Console\Application->doRun() at /home/sites/15a/5/564543e965/staging/releases/98/vendor/symfony/console/Application.php:166
 Symfony\Component\Console\Application->run() at /home/sites/15a/5/564543e965/staging/releases/98/vendor/laravel/framework/src/Illuminate/Console/Application.php:93
 Illuminate\Console\Application->run() at /home/sites/15a/5/564543e965/staging/releases/98/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php:129
 Illuminate\Foundation\Console\Kernel->handle() at /home/sites/15a/5/564543e965/staging/releases/98/artisan:37
php-writerman commented 2 years ago

The same error. PHP 8.0.5 Laravel 8.67 image