Hi all,
I am trying to make a new composer in our Sage theme.
We did install Acorn in our bedrock folder.
We are getting the following error message;
In mime-types.php line 22:
Trying to access array offset on value of type null
We are using command;
wp acorn make:composer Test
In an other Bedrock + Sage installation it is working.
Does anybody know why we are getting this error?
Thanks!
Log1x
December 1, 2022, 10:59am
#2
Where is mime-types.php
coming from? We’re going to need more details/a larger error message - but this will more than likely have something to do with your environment.
@Log1x ;
Ok so I found the problem, I did remove the plugin below from bedrock composer.json
"wpackagist-plugin/svg-support": "^2.4.2"
After that it started working again.
Log1x
December 1, 2022, 2:46pm
#4
2 Likes