-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Invalid argument supplied for foreach() JSCombiner.php#107 #6898
Comments
@rullzer i guess it is either a faulty app (but they look OK) or some issue with the caching. Perhaps check what |
I don't have the problem anymore, it just showed up in the log, so I wanted to report it here. So the output of: server/lib/private/Template/JSCombiner.php Lines 118 to 124 in 49c622f
is not necessary right? Caching could be issue. I have Cloudflare between the cloud and the user. |
If it can happen, we should check the return value, anyhow. Cloudflare sounds unlikely, it's either in-memory runtime cache or any external memcache if you configured it. |
I don't have any cache configured. APCu was also not configured. I added logging to the error log for testing purposes. |
I noticed something similar when opening a file, that is not there anymore: {
"app": "PHP",
"level": 3,
"message": "fopen(http://s3.local/bucket/urn%3Aoid%3A123455): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found\r\n at /var/www/html/nextcloud/lib/private/Files/ObjectStore/S3.php#77",
"method": "GET",
"reqId": "WgBvTDJaaozFBpEhi26m0QAAAAI",
"url": "/index.php/apps/files/",
"version": "12.0.3.3"
}
{
"app": "PHP",
"level": 3,
"message": "Invalid argument supplied for foreach() at /var/www/html/nextcloud/lib/private/Template/SCSSCacher.php#145",
"method": "GET",
"reqId": "WgBvTDJaaozFBpEhi26m0QAAAAI",
"url": "/index.php/apps/files/",
"version": "12.0.3.3"
} |
I'll look into this tomorrow. |
Should fix #6898 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Should fix #6898 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Steps to reproduce
Expected behaviour
No error
Actual behaviour
Invalid argument supplied for foreach() at /var/www/cloud/lib/private/Template/JSCombiner.php#107
Server configuration
Operating system: Debian 9.1 PXE:
Web server: nginx/1.10.3
Database: MariaDB
PHP version: 7.1.9
Nextcloud version: 12.0.3
Updated from an older Nextcloud/ownCloud or fresh install: Fresh Install
Where did you install Nextcloud from: https://download.nextcloud.com/server/releases/nextcloud-12.0.3.zip
Signing status:
Signing status
No errors have been found.
List of activated apps:
App list
Nextcloud configuration:
Config report
Are you using external storage, if yes which one: local/smb/sftp/.. No.
Are you using encryption: No
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/... Only webdav
Client configuration
Browser: Chrome 62
Operating system: Windows 7 Enterprise
Logs
Web server error log
Web server error log
Nextcloud log (data/nextcloud.log)
Nextcloud log
Browser log
Not relevant
The text was updated successfully, but these errors were encountered: