Errors thrown by calendar widget

This topic contains 2 replies, has 2 voices, and was last updated by  Adam Abrams 8 years, 9 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #22875

    Hi! I’ve had EO steaming along just fine on my client’s site, but suddenly they were getting a rash of “Undefined Index” error messages on their homepage. Here’s a screen shot:

    http://i64.tinypic.com/2yx5fsp.jpg

    It all seemed related to the calendar widget – when I removed that, the errors went away (but the calendar too, of course – need to get that back!)

    The calendar’s being added in a WordPress template using the following code:

    echo '<div id="homeCalendar">';
        echo do_shortcode('[eo_calendar]');
    echo '</div>';
    

    Their web host said something about “a PHP version mismatch”, at least that’s what was passed along to me… no clue what they mean, but might this mean anything to you? Is there a specific / minimum version of PHP required? Maybe they updated and that’s messed things up?

    Anyway, any help you can provide is most welcome!

    Thanks,
    Adam

    Adam Abrams
    #22876

    Hi Adam,

    Those error messages are notices – they are the lowest level of error and do not disrupt the working of the plug-in. In this case, it’s not checking if an (optional) array key exists before trying to access it. However, unless notices are turned off (which I recommend for production sites) they will appear as you’ve seen.

    Of course, the plug-in shouldn’t produce any notices anyway, so I’ll fix this 3.1.1, but an immediate fix is to disable notices.

    Stephen Harris
    #22883

    Thanks Stephen! I’ve disabled notices and it’s all working fine again.

    Adam Abrams
Viewing 3 posts - 1 through 3 (of 3 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.