sonata-project/SonataMediaBundle — Issue #97: ImageProvider::__construct() must be an array
Author: cbeyer
Created: 2012-02-15 04:24:59+00:00
State: open

I have created a custom provider which extends ImageProvider

My services.xml :
```

my.media.provider.remote.image

SonataMediaBundle:Provider:thumbnail.html.twig
SonataMediaBundle:Provider:view_image.html.twig

```

Since a recent vendors update, I've got this error :
"Catchable Fatal Error: Argument 6 passed to Sonata\MediaBundle\Provider\ImageProvider::__construct() must be an array, string given, "

How can I correct this ?
I my custom PHP provider, I haven't overriden the __construct method. Should I make that ?