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

Error Message "undefined offset" with comments #5684

Closed
phatair opened this issue Jul 11, 2017 · 3 comments
Closed

Error Message "undefined offset" with comments #5684

phatair opened this issue Jul 11, 2017 · 3 comments

Comments

@phatair
Copy link

phatair commented Jul 11, 2017

Steps to reproduce

In the Log file i got a lot of error messages if i create a comment. They appear not immediately after the comment is created.
The error looks like this:
`

Error | PHP | Undefined offset: 0 at /var/www/cloud/apps/comments/lib/Activity/Provider.php#172 | 2017-07-11T17:00:01+0200
Error | PHP | Undefined offset: 0 at /var/www/cloud/apps/comments/lib/Activity/Provider.php#172 | 2017-07-11T17:00:01+0200
Error | PHP | Undefined offset: 0 at /var/www/cloud/apps/comments/lib/Activity/Provider.php#172 | 2017-07-11T17:00:01+0200
Error | PHP | Undefined offset: 0 at /var/www/cloud/apps/comments/lib/Activity/Provider.php#172 | 2017-07-11T16:30:02+0200
Error | PHP | Undefined offset: 0 at /var/www/cloud/apps/comments/lib/Activity/Provider.php#172 | 2017-07-11T16:30:02+0200
Error | PHP | Undefined offset: 0 at /var/www/cloud/apps/comments/lib/Activity/Provider.php#172 | 2017-07-11T16:30:02+0200
Error | PHP | Undefined offset: 0 at /var/www/cloud/apps/comments/lib/Activity/Provider.php#172 | 2017-07-11T16:30:02+0200
Error | PHP | Undefined offset: 0 at /var/www/cloud/apps/comments/lib/Activity/Provider.php#172 | 2017-07-11T16:30:02+0200
Error | PHP | Undefined offset: 0 at /var/www/cloud/apps/comments/lib/Activity/Provider.php#172 | 2017-07-11T16:30:02+0200
Error | PHP | Undefined offset: 0 at /var/www/cloud/apps/comments/lib/Activity/Provider.php#172 | 2017-07-11T16:30:02+0200
Error | PHP | Undefined offset: 0 at /var/www/cloud/apps/comments/lib/Activity/Provider.php#172 | 2017-07-11T16:30:01+0200
`

Also in the mails that inform about activities on nextcloud, there is just a information like this

Today at 14:00
"add_comment_subject"

Expected behaviour

There should no error message in the log file
and there should be a detailed information in the activity mail

Server configuration

Operating system: Ubuntu 16.04.2

Web server: apache 2.4.18

Database: mariadb 10.0.29

PHP version: 7.0.18

Nextcloud version: 12.0.0

Updated from an older Nextcloud/ownCloud or fresh install: No

@phatair
Copy link
Author

phatair commented Jul 21, 2017

I'm the only one who has this problem?
Every email notification about a comment has only the "add_comment_subject".

@MorrisJobke
Copy link
Member

cc @nickvergessen

@MorrisJobke MorrisJobke added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug feature: activity and notification feature: comments labels Aug 30, 2017
@nickvergessen
Copy link
Member

Duplicate of #6211

PR fixing it is in #6369

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

No branches or pull requests

3 participants