Hi all, I'm experiencing a strange behaviour. If I put a logger inside the render() function of the $view (I've extended it), I see that the render() is called several times. The final result displayed is ok (I mean the template is not rendered twice), but the function render() is called too many times and it should be called one. Who's the caller of $view->render()? Have you got any ideas about this behaviour?
That's my render() function log extract for only one page view:
[2017-10-05 19:48:49][local][WARNING] rendering: index, index
[2017-10-05 19:48:49][local][WARNING] rendering: error, show404
[2017-10-05 19:48:50][local][WARNING] rendering: error, show404
[2017-10-05 19:48:50][local][WARNING] rendering: error, show404
[2017-10-05 19:48:50][local][WARNING] rendering: error, show404
[2017-10-05 19:48:50][local][WARNING] rendering: error, show404
[2017-10-05 19:48:51][local][WARNING] rendering: index, index
[2017-10-05 19:48:54][local][WARNING] rendering: index, getcartitemn
[2017-10-05 19:48:54][local][WARNING] rendering: error, show404
[2017-10-05 19:48:56][local][WARNING] rendering: index, index