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: Trying to access array offset on value of type null at /apps/dav/lib/CalDAV/BirthdayService.php#306 #29617

Closed
AndyXheli opened this issue Nov 9, 2021 · 6 comments · Fixed by #33341
Assignees
Labels
1. to develop Accepted and waiting to be taken care of bug feature: caldav Related to CalDAV internals feature: dav

Comments

@AndyXheli
Copy link

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce

  1. No Sure

Server configuration

Operating system:
Ubuntu 20.4
Web server:
Apache 2
Database:
10.5.12
PHP version:
8.0.12
Nextcloud version: (see Nextcloud admin page)
22.2.0
Updated from an older Nextcloud/ownCloud or fresh install:
Fresh Install
Where did you install Nextcloud from:
Nextcloud website

Nextcloud log (data/nextcloud.log)

Nextcloud log
{"reqId":"IoPpj4uCj4eCF585ahy3","level":3,"time":"2021-11-09T20:25:01+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Trying to access array offset on value of type null at /var/www/nextcloud/apps/dav/lib/CalDAV/BirthdayService.php#306","userAgent":"--","version":"22.2.0.2","exception":{"Exception":"Error","Message":"Trying to access array offset on value of type null at /var/www/nextcloud/apps/dav/lib/CalDAV/BirthdayService.php#306","Code":0,"Trace":[{"file":"/var/www/nextcloud/apps/dav/lib/CalDAV/BirthdayService.php","line":306,"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::"},{"file":"/var/www/nextcloud/apps/dav/lib/BackgroundJob/GenerateBirthdayCalendarBackgroundJob.php","line":69,"function":"resetForUser","class":"OCA\\DAV\\CalDAV\\BirthdayService","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/Job.php","line":51,"function":"run","class":"OCA\\DAV\\BackgroundJob\\GenerateBirthdayCalendarBackgroundJob","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/QueuedJob.php","line":45,"function":"execute","class":"OC\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/nextcloud/cron.php","line":127,"function":"execute","class":"OC\\BackgroundJob\\QueuedJob","type":"->"}],"File":"/var/www/nextcloud/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"},"id":"618aebfd2848f"}
@AndyXheli AndyXheli added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Nov 9, 2021
@aleadco

This comment has been minimized.

@solracsf solracsf changed the title Error: Trying to access array offset on value of type null at /var/www/nextcloud/apps/dav/lib/CalDAV/BirthdayService.php#306 Error: Trying to access array offset on value of type null at /apps/dav/lib/CalDAV/BirthdayService.php#306 Nov 12, 2021
@proletarius101

This comment has been minimized.

@tcitworld
Copy link
Member

tcitworld commented Jan 27, 2022

@aleadco What you posted is a different issue, see #30112 and #30265 instead. This will not be fixed by #20766

Not sure why this specific issue happens, I had it once but couldn't manage to reproduce. Anyway, it should be simple to fix.

@tcitworld tcitworld added 1. to develop Accepted and waiting to be taken care of feature: caldav Related to CalDAV internals feature: dav and removed 0. Needs triage Pending check for reproducibility or if it fits our roadmap labels Jan 27, 2022
@tcitworld tcitworld self-assigned this Jan 27, 2022
@AndyXheli
Copy link
Author

@tcitworld Any updates on this ? still present NC 23

@miyata-i
Copy link

@tcitworld Any updates on this ? still present NC 24.
This error occurred on my server as well.

tcitworld added a commit that referenced this issue Jul 25, 2022
… exist

Doesn't matter much as it's been recreated afterwards with (ensureCalendarExists).

Closes #29617

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
@tcitworld
Copy link
Member

@miyata-i Feel free to try #33341

tcitworld added a commit that referenced this issue Jul 25, 2022
… exist

Doesn't matter much as it's been recreated afterwards with (ensureCalendarExists).

Closes #29617

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
backportbot-nextcloud bot pushed a commit that referenced this issue Jul 26, 2022
… exist

Doesn't matter much as it's been recreated afterwards with (ensureCalendarExists).

Closes #29617

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
backportbot-nextcloud bot pushed a commit that referenced this issue Jul 26, 2022
… exist

Doesn't matter much as it's been recreated afterwards with (ensureCalendarExists).

Closes #29617

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. to develop Accepted and waiting to be taken care of bug feature: caldav Related to CalDAV internals feature: dav
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants