Jump to content


Photo
- - - - -
Resolved

Fatal Error

Fatal Error UnexpectedValueException RecursiveDirectoryIterator

This topic has been archived. This means that you cannot reply to this topic.
4 replies to this topic

#1 BBX

BBX

    Member

  • Members
  • 17 posts

Posted 18 October 2012 - 01:28 AM

Have no clue how to handle this error and would appreciate any help :
"Fatal error: Uncaught exception 'UnexpectedValueException' with message 'RecursiveDirectoryIterator::__construct(/home/bbx/public_html/wp-content/plugins/pagelines-sections/twin-shot/libs/scroll) [<a href='recursivedirectoryiterator.--construct'>recursivedirectoryiterator.--construct</a>]: failed to open dir: Too many open files' in /home/bbx/public_html/wp-content/themes/pagelines/includes/class.register.php:177 Stack trace: #0 [internal function]: RecursiveDirectoryIterator->__construct('/home/bbx/publi...') #1 /home/bbx/public_html/wp-content/themes/pagelines/includes/class.register.php(177): RecursiveDirectoryIterator->getChildren() #2 /home/bbx/public_html/wp-content/themes/pagelines/includes/class.register.php(62): PageLinesRegister->pagelines_getsections('/home/bbx/publi...', 'child') #3 /home/bbx/public_html/wp-content/themes/pagelines/includes/init.php(221): PageLinesRegister->pagelines_register_sections() #4 /home/bbx/public_html/wp-content/themes/pagelines/functions.php(22): require_once('/home/bbx/publi...') # in /home/bbx/public_html/wp-content/themes/pagelines/includes/class.register.php on line 177?

Have not added any new files and was wondering if it has got to do with not upgrading Pagelines when wordpress upgrade to the latest version?

#2 Simon_P

Simon_P

    Messer

  • Administrators



  • 8388607 posts

Posted 18 October 2012 - 01:55 AM

I think this is because certain files permissions have changed. Make sure all files under the pagelines folder is readable by the web server. You should upgrade anyway you have an old version.

Always update themes/plugins BEFORE updating wordpress. It tells you on the updates page.

#3 BBX

BBX

    Member

  • Members
  • 17 posts

Posted 18 October 2012 - 03:16 AM

Thanks Simon_P for responding.

The matter is now resolved and caused by the new Pagelines Framework update. I have restored the backups and then upload the new version into cpanel. The problem no longer exist.

Cheers,
Pauline :D ;)

#4 James B

James B

    Advocate

  • Members

  • 5126 posts

Posted 18 October 2012 - 04:34 AM

Thanks for letting us know Pauline. I'm glad you got it sorted :-)

#5 James B

James B

    Advocate

  • Members

  • 5126 posts

Posted 18 October 2012 - 04:35 AM

The topic was marked as resolved.