UnexpectedValueException [500]

Invalid folder
.../libraries/joomlatools-components/files/model/folders.php:38
33             'map'     => array($this, 'iteratorMap'),
34             'sort'    => $state->sort
35         ));
36 
37         if ($folders === false) {
38             throw new UnexpectedValueException('Invalid folder');
39         }
40 
41         $this->_count = count($folders);
42 
43         if (strtolower($state->direction) == 'desc') {