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

New installation Parameter Resolver OverjectCreator #16005

Closed
mertz3hack opened this issue May 30, 2020 · 3 comments
Closed

New installation Parameter Resolver OverjectCreator #16005

mertz3hack opened this issue May 30, 2020 · 3 comments
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@mertz3hack
Copy link

Hello all
I went to do a new installation on a shared server and got this error. I was looking to see if there is some dependency missing but haven't found it.

Thoughts?

Fatal error: Uncaught Error: Class 'DI\Definition\Resolver\ParameterResolver' not found in /home/site/public_html/site/vendor/php-di/php-di/src/DI/Definition/Resolver/ObjectCreator.php:51 Stack trace: #0 /home/site/public_html/matomo/vendor/php-di/php-di/src/DI/Definition/Resolver/ResolverDispatcher.php(95): DI\Definition\Resolver\ObjectCreator->__construct(Object(DI\Definition\Resolver\ResolverDispatcher), Object(DI\Proxy\ProxyFactory)) #1 /home/site/public_html/matomo/vendor/php-di/php-di/src/DI/Definition/Resolver/ResolverDispatcher.php(56): DI\Definition\Resolver\ResolverDispatcher->getDefinitionResolver(Object(DI\Definition\ObjectDefinition)) #2 /home/site/public_html/matomo/vendor/php-di/php-di/src/DI/Container.php(303): DI\Definition\Resolver\ResolverDispatcher->resolve(Object(DI\Definition\ObjectDefinition), Array) #3 /home/site/public_html/matomo/vendor/php-di/php-di/src/DI/Container.php(131): DI\Container->resolveDefinition(Object(DI\Definition\ObjectDefinition)) #4 /home/site/public_ht in /home/site/public_html/matomo/vendor/php-di/php-di/src/DI/Definition/Resolver/ObjectCreator.php on line 51

Fatal error: Uncaught DI\DependencyException: Circular dependency detected while trying to resolve entry 'Psr\Log\LoggerInterface' in /home/site/public_html/matomo/vendor/php-di/php-di/src/DI/Container.php:297 Stack trace: #0 /home/site/public_html/matomo/vendor/php-di/php-di/src/DI/Container.php(131): DI\Container->resolveDefinition(Object(DI\Definition\AliasDefinition)) #1 /home/site/public_html/matomo/core/Container/StaticContainer.php(80): DI\Container->get('Psr\\Log\\LoggerI...') #2 /home/site/public_html/matomo/core/FrontController.php(265): Piwik\Container\StaticContainer::get('Psr\\Log\\LoggerI...') #3 [internal function]: Piwik\FrontController::triggerSafeModeWhenError() #4 {main} thrown in /home/site/public_html/matomo/vendor/php-di/php-di/src/DI/Container.php on line 297
@tsteur
Copy link
Member

tsteur commented Jun 1, 2020

@mertz3hack thanks for creating the issue. How did you install Matomo? Did you download the Matomo zip from our website?

@mertz3hack
Copy link
Author

@tsteur I originally downloaded from Github by cloning. After reading your comment I went and download the latest version form the website and it worked right away.

@tsteur
Copy link
Member

tsteur commented Jun 2, 2020

Glad it works now @mertz3hack

@tsteur tsteur added the answered For when a question was asked and we referred to forum or answered it. label Jun 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Projects
None yet
Development

No branches or pull requests

2 participants