Skip to content

Too many warning logs #20541

@bojandavkov

Description

@bojandavkov

With PHP8.2 and above getLastErrors function returns false as well.
This leads to many warning logs which should be better handled coming from convertToPHPValue function in UTCDateTimeType class. Bellow is the exact warning message.

php.WARNING: Warning: Trying to access array offset on value of type bool {"exception":"[object] (ErrorException(code: 0): Warning: Trying to access array offset on value of type bool at /vendor/akeneo/pim-community-dev/src/Akeneo/Tool/Bundle/StorageUtilsBundle/Doctrine/DBAL/Types/UTCDateTimeType.php:60)"} []

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