Your software
My Mautic version is: Whatever the previous update was as of 3/14/22. I was going to attempt the latest update this morning when I found my installation down.
My PHP version is: 7.4
My Database type and version is: MariaDB (MySQL) 5.6.43
Your problem
Installation worked last night and I sent out a newsletter. This morning I get " The site is currently offline due to encountering an error. If the problem persists, please contact the system administrator."
These errors are showing in the log:
[16-Mar-2022 15:26:15 UTC] Symfony\Component\DependencyInjection\Exception\RuntimeException: Cannot autowire service “Mautic\MarketplaceBundle\Command\InstallCommand”: argument “$composer” of method “__construct()” references class “Mautic\CoreBundle\Helper\ComposerHelper” but no such service exists. - in file /home/cstukfps/email/vendor/symfony/dependency-injection/Compiler/DefinitionErrorExceptionPass.php - at line 54
Steps I have tried to fix the problem:
I’ve manually deleted the cache through Cpanel and tried using terminal to reset file permissions as per a post on the Mautic website. I also tried starting the next update, but that gives the same error:
$ php bin/console mautic:update:find
In DefinitionErrorExceptionPass.php line 54:
Cannot autowire service “Mautic\MarketplaceBundle\Command\InstallCommand”: argument “$composer” of method “__construct()” references class “Mautic\CoreBundle\Helper\ComposerHelper” but no such service exists."
The ComposerHelper.pgp its referring to exists, through the path on my installation is email\app\bundles\CoreBundle\Helper\ComposerHelper