DataDogAuditBundle
DataDogAuditBundle copied to clipboard
Error on save undefined method named "addLogger"
Hello,
I'm facing this error on entity edit :

Here is SF configuration :

bundle config :
data_dog_audit:
audited_entities:
- App\Entity\Formation
Tell me if you want more informations about the "bug".
Previously there wasn't a version constraint on doctrine/dbal which is likely the cause of this. Can you update to v0.1.21 and let us know if you still have this issue?
Seems to be removed in doctrine/dbal
https://github.com/doctrine/dbal/blob/3.2.x/UPGRADE.md#deprecated-sqllogger-and-its-implementations
https://github.com/doctrine/dbal/commit/06dc97e0faf2a2012e2c8e0c07289a99a806301f#diff-ede4922d6cee6c8394a3d85443d4a4e4b0faf43fd34190fb1d82193116f4d928
Correct, this was fixed in https://github.com/DATA-DOG/DataDogAuditBundle/commit/519d1574c44e5b889e509bd66c2200f400fb5dce.
My guess here is the latest version of this bundle is not being used.