Composer update or require error array_key()

coming here for an error when i try to do a composer update or a composer require in my symfony project.

It always return : array_keys() expects parameter 1 to be array, null given

Didn’t know why, and it since i do a cache clear on composer (cause i got an other error before, a 400 Bad request error on composer require).

Thanks for your help.

After doing composer update -vvv, i can see this message many times :

Skipping download: The 'http://packagist.org/p/provider-2020-01%2434fef7bea0581958875b62f3f1fae710400212a6a3d187c167fba3d903f3b012.json' URL could not be accessed: HTTP/1.1 400 Bad Request

Edit : It seems my proxies are not taken by composer, and i didn’t found any configuration file where we can call them. Any idea?

Source: Symfony Questions

Was this helpful?

0 / 0

Leave a Reply 0

Your email address will not be published. Required fields are marked *