Argument 2 of service “twig.command.lint” is abstract: File name pattern

I’m upgrading my 5.2.1 installation to 6.0.0 with the composer method documented here: How to update Mautic — Mautic Documentation 0.1 documentation . php version is 8.1.31.

After running php bin/console cache:clear about any bin/console command fails with this message:

In PhpDumper.php line 1969:
Argument 2 of service “twig.command.lint” is abstract: File name pattern

Screenshot:

grafik

I still have this issue. Trying to upgrade from 5.2.5 to 6.0.1:

php bin/console cache:clear --no-warmup

In PhpDumper.php line 1969:
                                                                             
  Argument 2 of service "twig.command.lint" is abstract: File name pattern.  
                                                                             

Deleting everything and restoring config/local.php did work around my issue.

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.