WordPress.org

Ready to get started?Download WordPress

Forums

The Events Calendar
Un Defined variables in widget (6 posts)

  1. mojowill
    Member
    Posted 2 years ago #

    When using the sidebar widget for upcoming events with WP_DEBUG to true there are a couple of errors:

    Before Widget:

    Notice: Undefined variable: category in /wp-content/plugins/the-events-calendar/lib/widget-list.class.php on line 37
    
    Notice: Undefined variable: category in /wp-content/plugins/the-events-calendar/lib/widget-list.class.php on line 37
    
    Notice: Undefined variable: category in /wp-content/plugins/the-events-calendar/lib/widget-list.class.php on line 43

    And then before the link to all events:

    Notice: Undefined variable: old_display in /wp-content/plugins/the-events-calendar/lib/widget-list.class.php on line 67

    http://wordpress.org/extend/plugins/the-events-calendar/

  2. roblagatta
    Modern Tribe Support
    Plugin Author

    Posted 2 years ago #

    Thanks for the heads up, Will. I know we're squashing a few of those debug-related errors for 2.0.2, so I'm going to add this to the list (in case it wasn't already on it). If it doesn't make it into the 2.0.2 build, it'll definitely be worked into 2.0.3.

  3. mojowill
    Member
    Posted 2 years ago #

    This plugin pretty much breaks everything when DEBUG is on.

    when trying to work in the admin area any time you try to update a post or submit a form:

    Notice: Undefined index: venue in /wp-content/plugins/the-events-calendar/lib/the-events-calendar.class.php on line 1437
    
    Notice: Undefined index: organizer in /wp-content/plugins/the-events-calendar/lib/the-events-calendar.class.php on line 1475
    
    Notice: Undefined index: venue in /wp-content/plugins/the-events-calendar/lib/the-events-calendar.class.php on line 1437
    
    Notice: Undefined index: organizer in /wp-content/plugins/the-events-calendar/lib/the-events-calendar.class.php on line 1475
    
    Warning: Cannot modify header information - headers already sent by (output started at /wp-content/plugins/the-events-calendar/lib/the-events-calendar.class.php:1437) in /wp-includes/pluggable.php on line 934
  4. roblagatta
    Modern Tribe Support
    Plugin Author

    Posted 2 years ago #

    We went through for 2.0.2, which comes out on Monday, and knocked out most of the errors we could find - I know for a fact that at least a few on that list you posted were among them. Would be interested to hear your thoughts upon upgrading, and whether you're still faced with any...if you are we'll patch them up for 2.1. Thanks!

  5. mojowill
    Member
    Posted 2 years ago #

    Great ill test on my dev site as soon as update pops up!

  6. roblagatta
    Modern Tribe Support
    Plugin Author

    Posted 2 years ago #

    We'd aimed for Monday on this, but introduced a critical error at the last minute that delayed things. We're now aiming to get it out by the end of the week.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic