bug #2001 Bugfix: Call to a member function render() on null (grachevko)
bug #2001 Bugfix: Call to a member function render() on null (grachevko)

This PR was merged into the 1.17.x-dev branch.

Discussion
----------

Bugfix: Call to a member function render() on null

After update to v1.17.8
![image](https://user-images.githubusercontent.com/8628465/34934285-f86f3260-f9ea-11e7-9521-b2722ea483a4.png)

Commits
-------

fd5952c Bugfix: Call to a member function render() on null

yceruto/EasyAdminBundle,OskarStark/EasyAdminBundle,OskarStark/EasyAdminBundle,javiereguiluz/EasyAdminBundle,yceruto/EasyAdminBundle,yceruto/EasyAdminBundle,javiereguiluz/EasyAdminBundle,OskarStark/EasyAdminBundle