Skip to content

Dependency on a non-existent service "time.datetime_formatter" #99

@KevOutIngs

Description

@KevOutIngs

Hello,

I'm experiencing a specific issue in my Symfony application related to the Dukecity\CommandSchedulerBundle\Command\MonitorCommand. The core of the problem is a missing dependency: the service is attempting to access the non-existent service time.datetime_formatter. This issue exclusively occurs in the production environment of my production server.

What's intriguing is that this problem does not manifest on my development server, even when Symfony is set to production mode. To mitigate the issue temporarily on the production server, I enabled Knp\Bundle\TimeBundle\KnpTimeBundle::class => ['all' => true],` in my `bundles.php. This workaround is functional as a tempory fix for now.

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