@mertz3hack opened this Issue on May 30th 2020

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: <a href='/0'>#0</a> /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)) <a href='/1'>#1</a> /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)) <a href='/2'>#2</a> /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) <a href='/3'>#3</a> /home/site/public_html/matomo/vendor/php-di/php-di/src/DI/Container.php(131): DI\Container->resolveDefinition(Object(DI\Definition\ObjectDefinition)) <a href='/4'>#4</a> /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: <a href='/0'>#0</a> /home/site/public_html/matomo/vendor/php-di/php-di/src/DI/Container.php(131): DI\Container->resolveDefinition(Object(DI\Definition\AliasDefinition)) <a href='/1'>#1</a> /home/site/public_html/matomo/core/Container/StaticContainer.php(80): DI\Container->get('Psr\\Log\\LoggerI...') <a href='/2'>#2</a> /home/site/public_html/matomo/core/FrontController.php(265): Piwik\Container\StaticContainer::get('Psr\\Log\\LoggerI...') <a href='/3'>#3</a> [internal function]: Piwik\FrontController::triggerSafeModeWhenError() <a href='/4'>#4</a> {main} thrown in /home/site/public_html/matomo/vendor/php-di/php-di/src/DI/Container.php on line 297
@tsteur commented on June 1st 2020 Member

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

@mertz3hack commented on June 2nd 2020

@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 commented on June 2nd 2020 Member

Glad it works now @mertz3hack

This Issue was closed on June 2nd 2020
Powered by GitHub Issue Mirror