Title: RuntimeException thrown
Last modified: August 21, 2016

---

# RuntimeException thrown

 *  Resolved [Madern](https://wordpress.org/support/users/madern/)
 * (@madern)
 * [12 years ago](https://wordpress.org/support/topic/runtimeexception-thrown-2/)
 * Hi everyone!
    Firstly, sorry for my english 🙂 Let’s start from the begining…
   I have this plugin for over a year but had to move my website on the other, better
   server. Generally everything works fine, in posts I put shortcode for slideshows,
   exept the link “Show as slideshow” doesn’t work. I figured out that the permalinks
   in WP setting was causing this problem, when i switched it back to default it
   works. But I wanted to make it work with my custom permalinks so I deleted plugin,
   clear the database from everything containg “ngg” phrase and reinstall it – the
   newest version.
 * Now when I in my admin area go for example to “Add Gallery/Images” section it
   shows:
 * > RuntimeException thrown
   > /strona/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/
   > nextgen_addgallery_page/upload_images.php is not a valid MVC template
 * [https://wordpress.org/plugins/nextgen-gallery/](https://wordpress.org/plugins/nextgen-gallery/)

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

 *  Thread Starter [Madern](https://wordpress.org/support/users/madern/)
 * (@madern)
 * [12 years ago](https://wordpress.org/support/topic/runtimeexception-thrown-2/#post-4921132)
 * Strange thing happened. I’ve been trying installing difrent versions, starting
   from 2.0.0, 2.0.63, 2.0.61, and 2.0.57 and from this version just update via 
   WordPress to newest version and it ….. works 😀
    I hope it won’t break anymore…
   🙂
 * **EDIT**
    Ehh… again problem with permalinks, after changing to default it works
   but with my not, can anybody solve that ?
 * **EDIT #2**
    I’ve just repaired it. It was my mistake, my permalinks looks like
   that: “www.site.pl / index.php / %category% / %postname%” When i change it to:“
   www.site.pl / %category% / %postname%” It works
 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [12 years ago](https://wordpress.org/support/topic/runtimeexception-thrown-2/#post-4921187)
 * [@madern](https://wordpress.org/support/users/madern/) – Thanks for the follow-
   ups and all of your troubleshooting.
 * I’m glad this is sorted out for you,
 * – Cais.

Viewing 2 replies - 1 through 2 (of 2 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/)

 * 2 replies
 * 2 participants
 * Last reply from: [photocrati](https://wordpress.org/support/users/photocrati/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/runtimeexception-thrown-2/#post-4921187)
 * Status: resolved