Skip to content

Capistrano deploy throws exception #107

Closed
@aradoje

Description

@aradoje

When deploying application with capistrano it fails and throws an exception:

  [RuntimeException]                                                                                                                                                                                                                                                                                                                        
  An error occurred when executing the "'cache:clear --no-warmup'" command:                                                                                                                                                                                                                                                                 
  PHP Fatal error:  Uncaught LogicException: [PHP-Translation] To integrate with the Symfony profiler you first need to enable it. Please set framework.translator.enabled: true in /***/vendor/php-translation/symfony-bundle/DependencyInjection/CompilerPass/SymfonyProfilerPass.php:33  

Exception is thrown because $container has no definition for translator.data_collector, and it's not fixed when

framework:
  enabled: true

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions