Skip to content

CalDavBackend.php: Trying to access array offset on value of type bool #20784

@joreiff

Description

@joreiff

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. Create a calendar
  2. Add the Nextcloud account to Gnome

Expected behaviour

No errors in the log file

Actual behaviour

Trying to access array offset on value of type bool at /var/www/nextcloud/apps/dav/lib/CalDAV/CalDavBackend.php#1323
Refers to this line in the master branch:

if (!$filters['prop-filters'] && !$filters['comp-filters'][0]['comp-filters'] && !$filters['comp-filters'][0]['prop-filters'] && (!$timeRange['start'] || !$timeRange['end'])) {

Server configuration

Operating system: CentOS 8

Web server: Nginx

Database: PostgreSQL

PHP version: 7.4

Nextcloud version: 18.0.4.2

Updated from an older Nextcloud/ownCloud or fresh install: Updated from previous minor version

Where did you install Nextcloud from: https://download.nextcloud.com/server/releases/latest.tar.bz2

Signing status: No errors have been found.

Are you using encryption: no

Are you using an external user-backend, if yes which one: no

Logs

Nextcloud log
{"reqId":"XXX","level":3,"time":"XXX","remoteAddr":"XXX","user":"admin","app":"PHP","method":"REPORT","url":"/remote.php/caldav/calendars/admin/XXX/","message":"Trying to access array offset on value of type bool at /var/www/nextcloud/apps/dav/lib/CalDAV/CalDavBackend.php#1323","userAgent":"Evolution/3.34.4","version":"18.0.4.2"}

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending check for reproducibility or if it fits our roadmapbug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions