This site has been archived. To learn more about our current products Ibexa Content, Ibexa Experience, Ibexa Commerce head over to the Ibexa Developer Portal

eZ Community » Forums » eZ Publish 5 Platform » render(controller()) ask for an...

render(controller()) ask for an argument ... that I gave

render(controller()) ask for an argument ... that I gave

Monday 08 July 2013 5:10:38 pm

Hello all,

I have a weird problem in prod environment (not happening in dev).

I display a contact form from my twig template like that :

 {{ render_esi( controller( "sise_contact:contactPageAction", {'initialRequest' : app.request, 'location': location}) ) }}

The problem is that in prod env, the form does not display at all. There is the log error : 

[2013-07-08 16:50:58] request.CRITICAL: Uncaught PHP Exception RuntimeException: "Controller "Sise\ContactBundle\Controller\DefaultController::contactPageAction()" requires that you provide a value for the "$initialRequest" argument (because there is no default value or because there is a non optional argument after this one)." at /var/www/gii/sise/application/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Controller/ControllerResolver.php line 134 [] []

As I said, it does work in dev environment.

I did clear my prod cache but it does nothing.

Do you have any idea about it ?



No reply yet!


You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from