RuntimeException thrown

/var/www/vhosts/7/134217/webspace/httpdocs/wp/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_gallery_display/templates/list/before.php is not a valid MVC template