Archived

This topic is now archived and is closed to further replies.

Question

Posted · Report post

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?

Share this post


Link to post
Share on other sites

4 answers to this question

Posted · Report post

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.

Share this post


Link to post
Share on other sites

Posted · Report post

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;)

Share this post


Link to post
Share on other sites

Posted · Report post

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

Share this post


Link to post
Share on other sites

Posted · Report post

The topic was marked as resolved.

Share this post


Link to post
Share on other sites