laravel-opcache icon indicating copy to clipboard operation
laravel-opcache copied to clipboard

Error compiling opcache

Open Jamesking56 opened this issue 4 years ago • 1 comments
trafficstars

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

Jamesking56 avatar Apr 20 '21 20:04 Jamesking56

The same error. PHP 8.0.5 Laravel 8.67 image

php-writerman avatar Nov 01 '21 13:11 php-writerman