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

PHP Notice: Undefined offset: 0 ...Plugin/UpdateCommand.php on line 43 #2374

Open
kyletaylored opened this issue Jul 15, 2022 · 0 comments
Open

Comments

@kyletaylored
Copy link
Contributor

kyletaylored commented Jul 15, 2022

Platform

(x) MacOS
( ) Linux
( ) Winderz

Installed Via

(x) Homebrew
( ) Apt Package
( ) Manually

PHP Version

(x) 7.4x
(x) 8.0
(x) 8.1

Command Executed

terminus plugin:update

Expected behavior

I wasn't sure what to expect, but if it was poorly formatted args, I would expect an error output with suggestions.

Actual behavior

Output consists of PHP stack trace for an undefined array key. Different outputs for different versions of PHP, but ultimately the same error and no suggestion for how to format the command.

7.4

PHP Notice: Undefined offset: 0 in phar:///opt/homebrew/Cellar/terminus/3.0.7/bin/terminus/src/Commands/Self/Plugin/UpdateCommand.php on line 43

8.0

PHP Warning: Undefined array key 0 in phar:///opt/homebrew/Cellar/terminus/3.0.7/bin/terminus/src/Commands/Self/Plugin/UpdateCommand.php on line 43

8.1

PHP Notice: Undefined offset: 0 in phar:///opt/homebrew/Cellar/terminus/3.0.7/bin/terminus/src/Commands/Self/Plugin/UpdateCommand.php on line 43

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

1 participant