Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undefined array key "line" error #637

Closed
alecpl opened this issue Feb 1, 2023 · 1 comment
Closed

Undefined array key "line" error #637

alecpl opened this issue Feb 1, 2023 · 1 comment

Comments

@alecpl
Copy link

alecpl commented Feb 1, 2023

  • Laravel Version: 9.47
  • Octane Version: 1.4.0
  • PHP 8.1

Undefined array key "line" {"exception":"[object] (ErrorException(code: 0): Undefined array key "line" at /.../vendor/laravel/octane/src/Commands/Concerns/InteractsWithIO.php:186)

I got it when OpenSwoole\Http\Response throws an exception (for a reason related to my faulty code). So, sounds like the line is not always specified.

@nunomaduro
Copy link
Member

It will be fixed next week, on the next release of Octane.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants