Access to undeclared static property: Gedmo\Uploadable\Mapping\Validator::$validateWritableDirectory Symfony2

351 Views Asked by At

please, why it wrotes me this error: ** Access to undeclared static property: Gedmo\Uploadable\Mapping\Validator::$validateWritableDirectory** ?? My files:

Thank you for your help

1

There are 1 best solutions below

0
On

In the composer.json

change this two lines:

"gedmo/doctrine-extensions": "v2.3.2",
"stof/doctrine-extensions-bundle": "~1.1@dev"

to this one:

"stof/doctrine-extensions-bundle": "v1.1.0"

In my case it was helpful.