php - Sonata throwing RuntimeException on add pages -
sonata throwing following exception when trying add elements using crudcontroller , doctrine:
you using closure `inlineconstraint`, constraint cannot serialized. need re-attach `inlineconstraint` on each request. once done, can set `serializingwarning` option `true` avoid message.
any idea , how deactivate , cause of exception? don't see in docs well.
it thrown here:
in vendor/sonata-project/core-bundle/validator/constraints/inlineconstraint.php @ line 34
this resolved when using version dev-master in composer.json:
"sonata-project/admin-bundle": "dev-master"
this pulls newest version 2.3.6 of sonatacore includes lastest changes rande: https://github.com/sonata-project/sonataadminbundle/pull/3179
Comments
Post a Comment