Your software
My Mautic version is: 3.3.2
My PHP version is: PHP Version 7.3.20
My Database type and version is:
Your problem
My problem is:
Hi everyone.
On attempting an update I got this log:
[2021-06-24 10:07:05] mautic.ERROR: Symfony\Component\Debug\Exception\FatalErrorException: Notice: Declaration of Mautic\Migrations\Version20150402000000::up(Doctrine\DBAL\Schema\Schema $schema) must be compatible with Mautic\CoreBundle\Doctrine\AbstractMauticMigration::up(Doctrine\DBAL\Schema\Schema $schema): void - in file /home/sol1029/public_html/mkt/app/migrations/Version20150402000000.php - at line 21
[2021-06-24 10:07:05] mautic.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\FatalErrorException: “Compile Error: Declaration of Mautic\Migrations\Version20150402000000::up(Doctrine\DBAL\Schema\Schema $schema) must be compatible with Mautic\CoreBundle\Doctrine\AbstractMauticMigration::up(Doctrine\DBAL\Schema\Schema $schema): void” at /home/sol1029/public_html/mkt/app/migrations/Version20150402000000.php line 21 {“exception”:"[object] (Symfony\Component\Debug\Exception\FatalErrorException(code: 0): Compile Error: Declaration of Mautic\Migrations\Version20150402000000::up(Doctrine\DBAL\Schema\Schema $schema) must be compatible with Mautic\CoreBundle\Doctrine\AbstractMauticMigration::up(Doctrine\DBAL\Schema\Schema $schema): void at /home/sol1029/public_html/mkt/app/migrations/Version20150402000000.php:21)"}
I tryed troubleshotting suggestions from “Update Failed” section in the docs.
I´m about to update files manually but fist I’d like to ask if there is something I´m missing.
These errors are showing in the log:
Steps I have tried to fix the problem: