Skip to content

The bundle not set automatcly the value to updated_at and created_at columns when persisting data #2774

Closed
@hyper112

Description

@hyper112

I got this error : Gedmo\Timestampable\Mapping\Event\Adapter\ORM::getRawDateValue(): Argument #1 ($mapping) must be of type array, Doctrine\ORM\Mapping\FieldMapping given, called in /home/{user}/projects/symfony6-test/v
endor/gedmo/doctrine-extensions/src/Timestampable/Mapping/Event/Adapter/ORM.php on line 35

knowing that the configuration is ok inside the file stof_doctrine_extensions.yaml : stof_doctrine_extensions:
default_locale: en_US
orm:
default:
timestampable: 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