• Resolved Eric A. Silva

    (@ericsil24)


    After updating to the latest version (2.3.0) I got the error below. I immediately had to revert back to the previous version.

    Plugin failed to reactivate due to a fatal error.

    Parse error: syntax error, unexpected ‘:’ in /home/content/07/8659907/html/wp-content/plugins/all-in-one-event-calendar/lib/calendar-feed/ics.php on line 451

    https://wordpress.org/plugins/all-in-one-event-calendar/

Viewing 9 replies - 1 through 9 (of 9 total)
  • ahoefling

    (@ahoefling)

    Just downloaded- tried twice and both times I got the same thing as member above:

    Plugin could not be activated because it triggered a fatal error.

    Parse error: syntax error, unexpected ‘:’ in /home/content/t/k/d/tkd0229/html/wp-content/plugins/all-in-one-event-calendar/lib/calendar-feed/ics.php on line 451

    Hi,

    Please create a new topic on timely forum and send us your WP admin details privately there. I’d like to take a closer look at what’s occurring.

    jeffrey wilcox

    (@jeffrey-wilcox)

    Thanks for reporting guys. Can you post a link back here to where you post in our forums? Want to make sure we don’t lose track.

    Thread Starter Eric A. Silva

    (@ericsil24)

    cefiar

    (@cefiar)

    Your host is using a version of PHP lower than 5.3. If you’re running PHP 5.2.X or lower, the following solves the problem.

    To fix this, edit: all-in-one-event-calendar/lib/calendar-feed/ics.php

    And change line 451 from:

    'feed_name' => $row->feed_name ?: $row->feed_url,

    To:

    'feed_name' => $row->feed_name ? $row->feed_name : $row->feed_url,

    Note: I’ve just got a reply from Jeff that a hot-fix release will be out soon that contains this fix. This should at least allow the early adopters running older versions to get their sites up and running.

    mrskeeney

    (@mrskeeney)

    I am getting the same error after updating all in one event calendar

    Parse error: syntax error, unexpected ‘:’ in /home4/region2/public_html/pkchq.com/wp-content/plugins/all-in-one-event-calendar/lib/calendar-feed/ics.php on line 451

    How can I revert back to the previous version. I really need my site to work. We are in the middle of registering competitors for an event and the link to registraion is on the event calendar

    cefiar

    (@cefiar)

    Just edit the file as I mentioned above, and it will be fixed.

    jeffrey wilcox

    (@jeffrey-wilcox)

    This is fixed in the latest release. Please update to 2.3.2

    I updated to 2.3.2 and all fixed. Thank you so much!

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Fatal error after update’ is closed to new replies.