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

in_array() ErrorException occurs. #2

Closed
watarukura opened this issue Jan 14, 2016 · 5 comments · Fixed by #3
Closed

in_array() ErrorException occurs. #2

watarukura opened this issue Jan 14, 2016 · 5 comments · Fixed by #3

Comments

@watarukura
Copy link

after removing hirak/prestissimo, composer update is successable.
after change repositories.packagist packagist.org, error occurs, too.

error message:

$ composer update
Loading composer repositories with package information
in_array() expects parameter 2 to be array, null given
http://packagist.jp could not be fully loaded, package information was loaded from the local cache and may be out of date
Updating dependencies (including require-dev)

  [ErrorException]                                        
  in_array() expects parameter 2 to be array, null given  

update [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock] [--no-plugins] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--with-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--] [<packages>]...

$ composer require tuupola/slim-basic-auth
in_array() expects parameter 2 to be array, null given
http://packagist.jp could not be fully loaded, package information was loaded from the local cache and may be out of date

  [ErrorException]                                        
  in_array() expects parameter 2 to be array, null given  

require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-update] [--update-no-dev] [--update-with-dependencies] [--ignore-platform-reqs] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--] [<packages>]...
@hirak
Copy link
Owner

hirak commented Jan 14, 2016

Could you tell me your composer's version?
I guessed that you used stable version.

$ composer version

あと、日本語でも大丈夫です!

@watarukura
Copy link
Author

$ composer --version
Composer version 1.0.0-alpha11 2015-11-14 16:21:07

↑でした。
$ composer --version
Composer version 1.0-dev (03299ff075236be27be356498d6c64def973fe41) 2016-01-10 20:34:53

updateした後はうまくいきました。
お騒がせいたしました。。。:bow:

@hirak
Copy link
Owner

hirak commented Jan 15, 2016

さすがに最新のtaggedは動いて欲しいので調べてみますー

@hirak
Copy link
Owner

hirak commented Jan 17, 2016

@watarukura 修正版を0.1.3としてリリースしました。アップデートしてみてください。alpha10まではこれで動きそうです。

$ composer global update hirak/prestissimo

@watarukura
Copy link
Author

確認遅くなってすみません。
正常に動きました!ありがとうございます。

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