Title: Fatal error: Class &#039;RuntimeException&#039; not found
Last modified: August 20, 2016

---

# Fatal error: Class 'RuntimeException' not found

 *  [williamswartwerkcom](https://wordpress.org/support/users/williamswartwerkcom/)
 * (@williamswartwerkcom)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-class-runtimeexception-not-found/)
 * I am running WP 3.4.2 and NextGen 1.9.7
 * I am unable to activate the plugin because I get the following error.
 * **
    Plugin could not be activated because it triggered a fatal error.
 * Fatal error: Class ‘RuntimeException’ not found in /home/cbloger/www/vintage-
   car-restoration.com/wp-content/plugins/nextgen-gallery/nggallery.php on line 
   35
 * Any ideas? I have seen a multitude of others with the same error – but NO one
   has provided a solution.
 * Any ideas? Thanks!
 * [http://wordpress.org/extend/plugins/nextgen-gallery/](http://wordpress.org/extend/plugins/nextgen-gallery/)

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

 *  Thread Starter [williamswartwerkcom](https://wordpress.org/support/users/williamswartwerkcom/)
 * (@williamswartwerkcom)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-class-runtimeexception-not-found/#post-3192897)
 * Do you still support this plugin?
 *  [boazarad](https://wordpress.org/support/users/boazarad/)
 * (@boazarad)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-class-runtimeexception-not-found/#post-3192906)
 * My guess is that your PHP version is outdated – ‘RuntimeException’ exists only
   in PHP => 5.1, if you edit ‘nggallery.php’ and replace ‘RuntimeException’ on 
   line 35 with ‘Exception’ it _should_ work (at least it did in my case).

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

The topic ‘Fatal error: Class 'RuntimeException' not found’ 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/)

## Tags

 * [RuntimeException](https://wordpress.org/support/topic-tag/runtimeexception/)

 * 2 replies
 * 2 participants
 * Last reply from: [boazarad](https://wordpress.org/support/users/boazarad/)
 * Last activity: [13 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-class-runtimeexception-not-found/#post-3192906)
 * Status: not resolved