The Events Calendar
Losing data entered in The Events Calendar (3 posts)

  1. jmek
    Posted 5 years ago #

    When I "Update" a post or view it on the site and then return to the editing view, the "Yes" radio button after "Is this an Event" changes to "No" and all the event data is lost. It was happening about 10% of the time; now that we upgraded to the latest version of the plug-in, it happens more like 50% of the time. Does this happen to anyone else? Any ideas on how to fix it?

  2. idealien
    Posted 5 years ago #

    Happening to me on a brand-new installation (3.0.1) with 1.6.4 of The Events Calendar.

    Worse actually is that when I try to post with a calendar entry I get the white screen of death. Adding
    error_reporting(E_ALL); ini_set('display_errors', 1);

    to wp-config.php provides this additional error detail:

    Fatal error: Call to undefined function filter_var() in /var/www/html/wp-content/plugins/the-events-calendar/the-events-calendar.class.php on line 883

  3. idealien
    Posted 5 years ago #

    Quick inspection says that it is an issue with PHP version and the filter_var function. Commenting it out does solve the issue - but does leave a scenario where unfiltered html elements could be added in the string.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • The Events Calendar
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic