Illuminate Container error with PSR Container

Hello guys,

When i want to visit my local installation it suddenly gives me the following error.

**Fatal error** : Declaration of Illuminate\Container\Container::get($id) must be compatible with Psr\Container\ContainerInterface::get(string $id) in **/Users/joris/sites/bedrock/web/app/themes/sage/vendor/illuminate/container/Container.php** on line **17**

I’m running on PHP7.4 while checking php-v. What seems to be the problem?
Thanks!

Howdy! What version of Sage 10 are you on - the beta 1 release or what’s on the master branch? You should be able to tell from the CHANGELOG

Can you also let us know which version of Acorn it’s installing? You can tell by checking composer.json

Thanks @ben for you’re response! I’m not sure why but it looks like the problem is solved… I’m running ### 1.15.4: 2021-05-19 and Acorn is version “roots/acorn”: “2.0.0-alpha.0”. A restart of my laptop fixed and suddenly the error disappeared.

This topic was automatically closed after 42 days. New replies are no longer allowed.