Skip to content

Trying to access array offset on false Watcher.php:80 #33

@foremtehan

Description

@foremtehan

Just noticed the exception thrown inside watch command for no reason:

Fatal error: Uncaught ErrorException: Trying to access array offset on false in /var/www/html/vendor/hyperf/watcher/src/Watcher.php:80
Stack trace:
#0 /var/www/html/vendor/hyperf/watcher/src/Watcher.php(80): Hyperf\ExceptionHandler\Listener\ErrorExceptionHandler::{closure:Hyperf\ExceptionHandler\Listener\ErrorExceptionHandler::process():30}()
#1 /var/www/html/vendor/hypervel/devtool/src/Commands/WatchCommand.php(64): Hyperf\Watcher\Watcher->run()
#2 /var/www/html/vendor/hyperf/command/src/Command.php(177): Hypervel\Devtool\Commands\WatchCommand->handle()
#3 [internal function]: Hyperf\Command\Command->{closure:Hyperf\Command\Command::execute():174}()
#4 {main}
  thrown in /var/www/html/vendor/hyperf/watcher/src/Watcher.php on line 80
[2025-04-27 04:37:57 @335.0]    WARNING Channel::~Channel() (ERRNO 10003): channel is destroyed, 1 consumers will be discarded

hypervel v0.16 /docker/swoole 6.02

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions