the backend is in /backend and the api in .... /api
I'm currently experiencing a strange problem, in my backend when I try to edit a Form containing images I got the following error
An Exception was thrown while handling: Format 'html' not supported, handler must be implemented
If i check the profiler i can see this error:
ERROR - Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\UnsupportedMediaTypeHttpException: "Format 'html' not supported, handler must be implemented" at /vagrant/mvms/vendor/friendsofsymfony/rest-bundle/FOS/RestBundle/View/ViewHandler.php line 304
as the exception seems to be thrown by the bundle , i would like to know if it is possible to restrict him to /api so that it does not interfer with the backend ?
I have a backend and my api
the backend is in
/backend
and the api in ..../api
I'm currently experiencing a strange problem, in my backend when I try to edit a Form containing images I got the following error
If i check the profiler i can see this error:
the controller method is the following
and my config.yml for FOSRestBundle is the following
as the exception seems to be thrown by the bundle , i would like to know if it is possible to restrict him to
/api
so that it does not interfer with the backend ?