Skip to content

Evolution error "HTTP error 500 (Internal Server Error): 4.1.0" #929

@cscholz

Description

@cscholz

Baikal version: 0.7.0

  • I've searched open and closed issues for duplicates
  • I've installed the release zip, not the source code zip
  • I've tested it with the previous version 0.6.1

Expected behaviour: Evolution 3.36.2-1 calender sync without errors

Current behaviour: Throwing exception.

  1. Evolution error message
Die Fehlermeldung war »Fehler bei der Ausgabe von REPORT: HTTP-Fehlercode 500 (Internal Server Error): 4.1.0
  ErrorException
  Trying to access array offset on value of type bool[sabredav-version][exception][message]«.
  1. nginx error log:
2020/06/07 17:58:40 [error] 796#796: *594 FastCGI sent in stderr: "PHP message: ErrorException: Trying to access array offset on value of type bool in .../vendor/sabre/dav/lib/CalDAV/Backend/PDO.php:791
Stack trace:
#0 .../vendor/sabre/dav/lib/CalDAV/Backend/PDO.php(791): Baikal\Framework::exception_error_handler(8, 'Trying to acces...', '/var/customers/...', 791, Array)
#1 .../vendor/sabre/dav/lib/CalDAV/Calendar.php(354): Sabre\CalDAV\Backend\PDO->calendarQuery(1, Array)
#2 .../vendor/sabre/dav/lib/CalDAV/Plugin.php(598): Sabre\CalDAV\Calendar->calendarQuery(Array)
#3 .../vendor/sabre/dav/lib/CalDAV/Plugin.php(258): Sabre\CalDAV\Plugin->calendarQueryReport(Object(Sabre\CalDAV\Xml\Request\CalendarQueryReport))
#4 .../vendor/sabre/event/lib/WildcardEmitterTrait.php(89): Sabre\CalDAV\Plugin->report('{urn:ietf:param...', Object(Sabre\C" while reading response header from upstream, client: 37.24.77.127, server: dav.domain.tld, request: "REPORT /cal.php/calendars/cscholz/default/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/user-php-fpm.socket:", host: "dav.domain.tld"
  1. .../vendor/sabre/dav/lib/CalDAV/Backend/PDO.php

Related code section. If uncommented, sync runs without any error.

                // If start time OR the end time is not specified, we can do a
                // 100% accurate mysql query.
                if (!$filters['prop-filters'] && !$filters['comp-filters'][0]['comp-filters'] && !$filters['comp-filters'][0]['prop-filters'] && (!$timeRange['start'] || !$timeRange['end'])) {
                    $requirePostFilter = false;
                }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions