Title: Fatal Error: Uncaught UnexpectedValueException: DirectoryIterator :: _ construct
Last modified: August 4, 2021

---

# Fatal Error: Uncaught UnexpectedValueException: DirectoryIterator :: _ construct

 *  Resolved [zenoxable](https://wordpress.org/support/users/zenoxable/)
 * (@zenoxable)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-unexpectedvalueexception-directoryiterator-_-construct/)
 * Hello! My error is When I am going to upload a new module, the tab notifies me
   with a “Fatal Error: Uncaught UnexpectedValueException: DirectoryIterator :: _
   construct” and does not enable the button to upload a new module, it says to 
   check line 1285 in \ cluevo-lms \ functions \ functions.module-management.inc.
   php
 * But I do not find any error in it. Line 1285 says: $ typeIterator = new DirectoryIterator(
   $ typePath);
 * It is worth mentioning that when uploading the first module it works perfectly,
   but when uploading a new one this error appears.
 * I appreciate your prompt reply.`

Viewing 1 replies (of 1 total)

 *  Plugin Author [CLUEVO](https://wordpress.org/support/users/cluevo/)
 * (@cluevo)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-unexpectedvalueexception-directoryiterator-_-construct/#post-14736909)
 * Hi zenoxable,
 * we’re aware of the issue and there should be an update available later today 
   that will hopefully fix this.
 * Greetings,
 * the CLUEVO team

Viewing 1 replies (of 1 total)

The topic ‘Fatal Error: Uncaught UnexpectedValueException: DirectoryIterator :: _
construct’ is closed to new replies.

 * ![](https://ps.w.org/cluevo-lms/assets/icon-256x256.png?rev=2111880)
 * [CLUEVO LMS, E-Learning Platform](https://wordpress.org/plugins/cluevo-lms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cluevo-lms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cluevo-lms/)
 * [Active Topics](https://wordpress.org/support/plugin/cluevo-lms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cluevo-lms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cluevo-lms/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [CLUEVO](https://wordpress.org/support/users/cluevo/)
 * Last activity: [4 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-unexpectedvalueexception-directoryiterator-_-construct/#post-14736909)
 * Status: resolved