RuntimeException thrown

/home/kayakchi/public_html/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_gallery_display/templates/image/before.php is not a valid MVC template