Error in sync response (cosmetic?)

WordPress Event Management, Calendars & Registration Forums iCal Extension Error in sync response (cosmetic?)

This topic contains 3 replies, has 2 voices, and was last updated by  Stephen Harris 4 years, 3 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #38447

    When I hit the sync now, I get an error in the response. The sync functions, and if I refresh the page, it looks normal (Feed with X events completed with X warnings…)

    In the debug log, there is the following:

    PHP Notice compact(): Undefined variable: timestamp in /var/www/html/wp-content/plugins/event-organiser-ical-sync/event-organiser-ical-sync.php on line 657
    

    I also see another, but I assume this is specific / related to the ics file:

    PHP Notice Undefined offset: 0 in /var/www/html/wp-content/plugins/event-organiser/includes/class-eo-ical-parser.php on line 1235
    

    This is with EO 3.10, ICAL Sync 2.3.1, on WP 5.4.

    Dunn Carney
    #38473

    Do you get those errors in the response from clicking sync, or just in the logs?

    The second warning could be due to an incorrectly set BYDAY property of a monthly recurring event. Can you provide a link to the feed?

    I think the first warning can be safely ignored. A future resolve it, but it shouldn’t impact the functioning of the plug-in.

    Stephen Harris
    #38505

    Clicking sync returns ‘An unknown error has occurred’. Then, refreshing that page displays the normal ‘Feed with X events completed with X warnings…’

    For the BYDAY situation, I parsed it down and found a single item that will cause the issue. This ICS file is exported from an Exchange Public Calendar.

    
    BEGIN:VCALENDAR
    PRODID:-//Microsoft Corporation//Outlook 16.0 MIMEDIR//EN
    VERSION:2.0
    METHOD:PUBLISH
    X-CALSTART:20200219T200000Z
    X-CALEND:20220707T200000Z
    X-CLIPSTART:20200218T080000Z
    X-CLIPEND:20220819T070000Z
    X-WR-RELCALID:{0000002E-987C-84ED-4F9F-FDDCFE2C7750}
    X-WR-CALNAME:Calendar
    BEGIN:VTIMEZONE
    TZID:Pacific Standard Time
    BEGIN:STANDARD
    DTSTART:16011104T020000
    RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=11
    TZOFFSETFROM:-0700
    TZOFFSETTO:-0800
    END:STANDARD
    BEGIN:DAYLIGHT
    DTSTART:16010311T020000
    RRULE:FREQ=YEARLY;BYDAY=2SU;BYMONTH=3
    TZOFFSETFROM:-0800
    TZOFFSETTO:-0700
    END:DAYLIGHT
    END:VTIMEZONE
    BEGIN:VEVENT
    ATTENDEE;CN="Someone";RSVP=TRUE:mailto:Someone@google.com
    CLASS:PUBLIC
    CREATED:20160208T172918Z
    DESCRIPTION:\n
    DTEND;TZID="Pacific Standard Time":20200305T130000
    DTSTAMP:20161102T192347Z
    DTSTART;TZID="Pacific Standard Time":20200305T120000
    LAST-MODIFIED:20181205T000633Z
    LOCATION:Rainier
    ORGANIZER;CN="Person":mailto:Person@google.com
    PRIORITY:5
    RRULE:FREQ=MONTHLY;COUNT=15;INTERVAL=2;BYDAY=TH;BYSETPOS=1
    SEQUENCE:0
    SUMMARY;LANGUAGE=en-us:Meeting
    TRANSP:OPAQUE
    UID:040000008200E00074C5B7101A82E0080000000040B738C95362D101000000000000000
        010000000FFC9D1D8E3172B4286D073FD0BCC88D0
    X-ALT-DESC;FMTTYPE=text/html:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//E
        N">\n<HTML>\n<HEAD>\n<META NAME="Generator" CONTENT="MS Exchange Server ve
        rsion rmj.rmm.rup.rpr">\n<TITLE></TITLE>\n</HEAD>\n<BODY>\n<!-- Converted 
        from text/rtf format -->\n\n

    \n\n< /BODY>\n</HTML> X-MICROSOFT-CDO-BUSYSTATUS:BUSY X-MICROSOFT-CDO-IMPORTANCE:1 X-MICROSOFT-DISALLOW-COUNTER:FALSE X-MS-OLK-APPTLASTSEQUENCE:4 X-MS-OLK-APPTSEQTIME:20160208T173336Z X-MS-OLK-AUTOFILLLOCATION:FALSE X-MS-OLK-CONFTYPE:0 END:VEVENT END:VCALENDAR

    Thanks!

    Dunn Carney
    #38587

    Ah, yes BYDAY=TH is invalid, it should be BYDAY=1TH for the “first thursday”

    Stephen Harris
Viewing 4 posts - 1 through 4 (of 4 total)
To enable me to focus on Pro customers, only users who have a valid license for the Pro add-on may post new topics or replies in this forum. If you have a valid license, please log-in or register an account using the e-mail address you purchased the license with. If you don't you can purchase one here. Or there's always the WordPress repository forum.