Jump to content
Sign in to follow this  
PawelGIX

Recoverable Fatal Error: Object of class DirectoryIterator could not be converted to boolean (line 671 of /home/users/g2s/public_html/automotive2/wire/modules/LanguageSupport/ProcessLanguageTranslator.module) This error message was shown because: site i

Recommended Posts

I get error:

Recoverable Fatal Error: Object of class DirectoryIterator could not be converted to boolean (line 671 of /home/users/g2s/public_html/automotive2/wire/modules/LanguageSupport/ProcessLanguageTranslator.module) This error message was shown because: site is in debug mode. ($config->debug = true; => /site/config.php). Error has been logged.

When i access page /processwire/setup/language-translator/add/?language_id=1017.

Latest stable ProcessWire.

What can i do?

 

UPDATE

ProcessLanguageTranslator.module

Line 671:

        // if(!$dirIterator) return array();
        if(!$dirIterator->valid()) return array();

Edited by PawelGIX
FIX

Share this post


Link to post
Share on other sites

You must be the first one confusing post content with post title.
Please tell us something about your server environment, php version
and used processwire modules so we can help you in a better way.

Did you put processwire debug mode on ?
Please install Tracy Debugger as it will
give you valuable debug information.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...