Skip to content

Compile error after cache clear and warmup #25654

@coudenysj

Description

@coudenysj
Q A
Bug report? yes
Feature request? no
BC Break report? -
RFC? no
Symfony version 3.4.2

This is related to #24885.

Fatal Compile Error: require(): Failed opening required '/.../cache/prod/Container3no4t0t/getSwiftmailer_EmailSender_ListenerService.php' (include_path='.:/usr/share/php')

I run a couple commands during deployment, clear cache, warm cache, other commands, and always get a Fatal Compile Error after the cache warmup:

php bin/console cache:clear --no-warmup --env=prod
php bin/console cache:warmup --env=prod
php bin/console rabbitmq-supervisor:rebuild -vv --no-interaction --env=prod

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions