Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Composer update : Trying to access array offset on value of type null

I updated my server with PHP 7.4.2 and now I am getting this :

~/public_html/infusionsoft$ php composer.phar update


  [ErrorException]                                    
  Trying to access array offset on value of type null  

I had to revert back to 7.3.14 and it works. But is composer not PHP 7.4 ready ?

like image 954
anjanesh Avatar asked Dec 31 '22 07:12

anjanesh


1 Answers

This is a composer issue and has been fixed in this release: https://github.com/composer/composer/pull/8296

In order to fix this issue please update your composer.

like image 143
Vadim Sirbu Avatar answered Jan 08 '23 02:01

Vadim Sirbu