Title: Fatal error: Uncaught exception &#039;UnexpectedValueException&#039;
Last modified: August 21, 2016

---

# Fatal error: Uncaught exception 'UnexpectedValueException'

 *  [CRiquelme](https://wordpress.org/support/users/criquelme/)
 * (@criquelme)
 * [12 years ago](https://wordpress.org/support/topic/fatal-error-uncaught-exception-unexpectedvalueexception/)
 * Hello, I’m using Theme-Check version 20131213.1 on wordpress 3.9.1 and when I
   click on “Check it” I get this error:
 * Fatal error: Uncaught exception ‘UnexpectedValueException’ with message
    ‘RecursiveDirectoryIterator::
   __construct(C:\AppServ\www\xx/wp-content/themes/xx\node_modules\grunt-contrib-
   imagemin\node_modules\image-min\node_modules\ gifsicle\node_modules\bin-wrapper\
   node_modules\download\node_modules\request\node_modules\http-signature\node_modules\
   ctype\man\man3ctype) [<a href=’recursivedirectoryiterator.–construct’>recursivedirectoryiterator.–
   construct]: failed to open dir: No error’ in C:\AppServ\www\xx\wp-content\plugins\
   theme-check\checkbase.php:158 Stack trace: #0 [internal function]: RecursiveDirectoryIterator-
   >__construct(‘C:\AppServ\www\…’) #1 C:\AppServ\www\xx\wp-content\plugins\theme-
   check\checkbase.php(158): RecursiveDirectoryIterator->getChildren() #2 C:\AppServ\
   www\xx\wp-content\plugins\theme-check\main.php(6): listdir(‘C:\AppServ\www\…’)#
   3 C:\AppServ\www\xx\wp-content\plugins\theme-check\theme-check.php(54): check_main(‘
   xx’) #4 [internal function]: themecheck_do_page(”) in C:\AppServ\www\xx\wp-content\
   plugins\theme-check\checkbase.php on line 158
 * Can someone help me please?
 * [https://wordpress.org/plugins/theme-check/](https://wordpress.org/plugins/theme-check/)

The topic ‘Fatal error: Uncaught exception 'UnexpectedValueException'’ is closed
to new replies.

 * ![](https://ps.w.org/theme-check/assets/icon-128x128.png?rev=972579)
 * [Theme Check](https://wordpress.org/plugins/theme-check/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/theme-check/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/theme-check/)
 * [Active Topics](https://wordpress.org/support/plugin/theme-check/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/theme-check/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/theme-check/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [CRiquelme](https://wordpress.org/support/users/criquelme/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/fatal-error-uncaught-exception-unexpectedvalueexception/)
 * Status: not resolved