Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The log reports the same error on the time!Anybody helps me? #9067

Closed
duanego opened this issue Apr 4, 2018 · 1 comment
Closed

The log reports the same error on the time!Anybody helps me? #9067

duanego opened this issue Apr 4, 2018 · 1 comment

Comments

@duanego
Copy link

duanego commented Apr 4, 2018

The first error:
Invalid argument supplied for foreach() at /home/wwwroot/nextcloud/lib/private/L10N/Factory.php#200

The second error:
scandir() has been disabled for security reasons at /home/wwwroot/nextcloud/lib/private/L10N/Factory.php#198

The above two errors just be reported by the log again and again with no interrupt!
image

@MorrisJobke
Copy link
Member

This means that scandir is blacklisted in the disable_functions settings in your php.ini. We need this method to fetch available languages from the available files.

See https://secure.php.net/manual/en/ini.core.php#ini.disable-functions for the PHP documentation for this method. Please adjust it to allow scandir to be executed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants