Skip to content

[Cache][BUG][PHP 7.1]Always set default lifetime #19641

Closed
@mvrhov

Description

@mvrhov

Looking at cache.xml, there is a parameter/argument named default lifetime.
It seems that this is not set as the container contains '' as a value for a parameter that's clearly supposed to be an integer.
This is a problem in php 7.1 as '' is not a valid integer and thus php emits a warning Warning: A non-numeric value encountered

This can be clearly seen when running app/console cache:clear on php 7.1

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