throw exception if event notification occures before site.afterInit event
Merge branch '3.6' of github.com:impresspages/ImpressPages-CMS into theme_autoinstall
dont hang if there are no images