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

Many PHP errors in the log - illegal offset type in multiple files relating to memory and users #11776

Closed
linucksrox opened this issue Oct 11, 2018 · 3 comments
Labels

Comments

@linucksrox
Copy link

Steps to reproduce

Upgrade to 14.0.2 and check the logs

Expected behaviour

No errors

Actual behaviour

Lots of errors

Server configuration

Operating system:
Ubuntu 16.04

Web server:
Apache 2.4

Database:
MySQL 5.7

PHP version:
7.0

Nextcloud version: (see Nextcloud admin page)
14.0.2

Updated from an older Nextcloud/ownCloud or fresh install:
Just upgraded from 13.0.6

Where did you install Nextcloud from:
The internet 😉

I'm using LDAP for user authentication, and noticed on the Users list that people are listed 2 or 3 times when I scroll to the end. I'm not sure if this is related or not, but it's worth mentioning.

These errors spew into the logs during each cron run:

Error | PHP | Illegal offset type in isset or empty at /var/www/nextcloud/lib/private/User/Manager.php#135
Error | PHP | Array to string conversion at /var/www/nextcloud/lib/private/User/Database.php#340
Error | PHP | Illegal offset type at /var/www/nextcloud/lib/private/Cache/CappedMemoryCache.php#73
Error | PHP | Illegal offset type in isset or empty at /var/www/nextcloud/lib/private/User/Manager.php#155
Error | PHP | Illegal offset type in isset or empty at /var/www/nextcloud/lib/private/Cache/CappedMemoryCache.php#42
Error | PHP | Array to string conversion at /var/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php#105
Error | PHP | Illegal offset type at /var/www/nextcloud/lib/private/Cache/CappedMemoryCache.php#53
Error | PHP | Illegal offset type in isset or empty at /var/www/nextcloud/lib/private/Cache/CappedMemoryCache.php#42
Error | PHP | Array to string conversion at /var/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php#105
Error | PHP | Illegal offset type at /var/www/nextcloud/lib/private/Cache/CappedMemoryCache.php#53
Error | PHP | Illegal offset type at /var/www/nextcloud/lib/private/User/Manager.php#161

... and repeat

Possibly unrelated, but I saw this once mixed in between, triggered by going to the Users list page:

Error | PHP | ldap_search(): Partial search results returned: Sizelimit exceeded at /var/www/nextcloud/apps/user_ldap/lib/LDAP.php#293
@nextcloud-bot
Copy link
Member

GitMate.io thinks possibly related issues are #6784 (Php error?), #3483 (Many errors in log), #4201 (Multiple Errors), #285 (PHP error in logfile), and #10808 (File drop for logged in users).

@PpaiSanchez
Copy link

See here: nextcloud/fulltextsearch#395
This has something to do with these apps: Full text search - Elasticsearch

@linucksrox
Copy link
Author

Thanks for the information. Not production ready... time to abandon full text search.

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

No branches or pull requests

3 participants