Title: RuntimeException thrown
Last modified: September 19, 2023

---

# RuntimeException thrown

 *  Resolved [And1rzej](https://wordpress.org/support/users/and1rzej/)
 * (@and1rzej)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/runtimeexception-thrown-7/)
 * **RuntimeException thrown**
   D:\Mail\…\wp-content\plugins\nextgen-gallery\products\
   photocrati_nextgen\modules\nextgen_basic_gallery\templates\thumbnails\default-
   view.php.php is not a valid MVC templateTo resolve this issue, I tried the following
   these steps:
    1. I Deactivated and reactivated the NextGEN Gallery Plugin**:
    2. Clear Plugin Cache
    3. Checked for Theme Conflicts
 *  - Temporarily switched to a default WordPress theme
 *  1. Reuploaded the Plugin Files via FTP:
 * Issue still exist

Viewing 10 replies - 1 through 10 (of 10 total)

 *  Plugin Contributor [Imagely](https://wordpress.org/support/users/imagely/)
 * (@imagely)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/runtimeexception-thrown-7/#post-17061583)
 * Hi [@and1rzej](https://wordpress.org/support/users/and1rzej/),
 * We are sorry for the inconvenience created. Most likely this is related with 
   the changes from the latest NextGen Gallery update. Our developers will look 
   into replicating it on our own IIS instances.
 * As a temporary workaround, please revert to NextGen Gallery 3.37 that can be 
   downloaded from: [https://downloads.wordpress.org/plugin/nextgen-gallery.3.37.zip](https://downloads.wordpress.org/plugin/nextgen-gallery.3.37.zip)
 * Thanks for your understanding
 *  Thread Starter [And1rzej](https://wordpress.org/support/users/and1rzej/)
 * (@and1rzej)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/runtimeexception-thrown-7/#post-17062795)
 * I did, so please let me know when it will be newest and SAFE version to update
 *  [lheisey](https://wordpress.org/support/users/lheisey/)
 * (@lheisey)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/runtimeexception-thrown-7/#post-17063902)
 * To help debug, for me the problem is only on my local Windows servers both on
   LAMP and Local by Flywheel. My production site running a Linux server does not
   have the problem which is in this file: wp-content\plugins\nextgen-gallery\products\
   photocrati_nextgen\modules\mvc\package.module.mvc.php. If I replace the 3.39 
   version of this file with the 3.37 version my Windows sites work OK.
 *  Plugin Contributor [Imagely](https://wordpress.org/support/users/imagely/)
 * (@imagely)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/runtimeexception-thrown-7/#post-17064721)
 * Hi [@and1rzej](https://wordpress.org/support/users/and1rzej/),
 * Thanks for asking. Our dev team made it the biggest priority and we look forward
   to have it fixed very soon. You can expect a new NGG version to be released on
   this week or at the beginning of the following one.
 *  Plugin Contributor [Imagely](https://wordpress.org/support/users/imagely/)
 * (@imagely)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/runtimeexception-thrown-7/#post-17084800)
 * Hi [@and1rzej](https://wordpress.org/support/users/and1rzej/), [@lheisey](https://wordpress.org/support/users/lheisey/),
 * We are happy to inform you that the latest NextGen Gallery update (3.41) should
   fix the _“not a valid MVC Template”_ problem that you have reported.
 * We appreciate your patience
 *  Thread Starter [And1rzej](https://wordpress.org/support/users/and1rzej/)
 * (@and1rzej)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/runtimeexception-thrown-7/#post-17089705)
 * Hi [@imagely](https://wordpress.org/support/users/imagely/) – thank you, I did,
   and everything seems to be good now, that latest update fixed the _“not a valid
   MVC Template”_, problem…
   I really appreciate your help.
 *  [ns1045](https://wordpress.org/support/users/ns1045/)
 * (@ns1045)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/runtimeexception-thrown-7/#post-17127437)
 * I still get the error:
   NextGen Version: 3.41WordPress: <span id=”wp-version”>
   6.3.2</span>Theme: Activello
 *  [ns1045](https://wordpress.org/support/users/ns1045/)
 * (@ns1045)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/runtimeexception-thrown-7/#post-17155361)
 * Still have the problem! When I deactivate the NextGen-Plugin the Homepage is 
   working pretty well (except the galleries off course ;-)).
   I assume that it could
   caused by running wordpress in a docker-unit with wordpress in an userdefined
   path: /bitnami/wordpress/… . Is there any fixed path / reference to root in the
   code?
    -  This reply was modified 2 years, 7 months ago by [ns1045](https://wordpress.org/support/users/ns1045/).
 *  [kefi](https://wordpress.org/support/users/kefi/)
 * (@kefi)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/runtimeexception-thrown-7/#post-17286668)
 * I have the same problem with WordPress 6.4.2 and NextGen 3.55 on my Windows XAMPP
   installation.
 * Is there any solution for this already?
 *  [gamerwithadegree](https://wordpress.org/support/users/gamerwithadegree/)
 * (@gamerwithadegree)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/runtimeexception-thrown-7/#post-17310443)
 * I am also getting this error “default-view.php.php is not a valid MVC template”
   notice the double .php. THis is also on a local xampp install using NGG version
   3.55. Rolling back to version 3.41 fixes the problem.

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘RuntimeException thrown’ is closed to new replies.

 * ![](https://ps.w.org/nextgen-gallery/assets/icon-256x256.png?rev=2083961)
 * [Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery](https://wordpress.org/plugins/nextgen-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextgen-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextgen-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/nextgen-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextgen-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextgen-gallery/reviews/)

 * 10 replies
 * 6 participants
 * Last reply from: [gamerwithadegree](https://wordpress.org/support/users/gamerwithadegree/)
 * Last activity: [2 years, 5 months ago](https://wordpress.org/support/topic/runtimeexception-thrown-7/#post-17310443)
 * Status: resolved