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

Error to auth delete with --ip for website or global. #1463

Closed
petermann opened this issue Aug 3, 2020 · 1 comment · Fixed by EasyEngine/auth-command#43
Closed

Error to auth delete with --ip for website or global. #1463

petermann opened this issue Aug 3, 2020 · 1 comment · Fixed by EasyEngine/auth-command#43

Comments

@petermann
Copy link

ee auth delete global --ip=IP_ADDRESS

PHP Fatal error:  Uncaught TypeError: Argument 1 passed to Auth_Command::clean_and_validate_ips() must be of the type string, null given, called in phar:///usr/local/bin/ee/vendor/easyengine/auth-command/src/Auth_Command.php on line 613 and defined in phar:///usr/local/bin/ee/vendor/easyengine/auth-command/src/Auth_Command.php:102
Stack trace:
#0 phar:///usr/local/bin/ee/vendor/easyengine/auth-command/src/Auth_Command.php(613): Auth_Command->clean_and_validate_ips(NULL)
#1 [internal function]: Auth_Command->delete(Array, Array)
#2 phar:///usr/local/bin/ee/php/EE/Dispatcher/CommandFactory.php(96): call_user_func(Array, Array, Array)
#3 [internal function]: EE\Dispatcher\CommandFactory::EE\Dispatcher\{closure}(Array, Array)
#4 phar:///usr/local/bin/ee/php/EE/Dispatcher/Subcommand.php(272): call_user_func(Object(Closure), Array, Array)
#5 phar:///usr/local/bin/ee/php/EE/Runner.php(338): EE\Dispatcher\Subcommand->invoke(Array, Array, Array)
#6 phar:///usr/local/bin/ee/php/EE/Runner.php(361): EE\Runner->run_command(Array, Array)
#7 in phar:///usr/local/bin/ee/vendor/easyengine/auth-command/src/Auth_Command.php on line 102

Note: I only view this error after upgrading to version 4.1.1.

ee_info.txt

Thanks!

@kirtangajjar
Copy link
Contributor

Thanks @petermann for reporting this issue, we've fixed it and we will release it in v4.1.2 shortly.

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

Successfully merging a pull request may close this issue.

2 participants