RuntimeException thrown

/home/srv198869/isogor.ru/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_gallery_display/templates/container/before.php is not a valid MVC template