WordPress.org

Support

Support » Plugins and Hacks » PHP Error if no events in month

PHP Error if no events in month

  • I’ve tried several themes with the same result. When viewing a month with no events, I get the following errors all over the page…

    Warning: in_array() [function.in-array]: Wrong datatype for second argument in /homepages/xxxeditedoutxxx/wp-includes/post-template.php on line 1039

    If you click over to a month with events the errors are still there, but with a refresh on the page and they go away. Clicking to another month with no events and the reverse – no errors unless you refresh and then they re-appear.

    Running WP 3.5. Any ideas?

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • No ideas? It happens on all themes so I can’t be the only one with this issue can I?

    Plugin Author Rob La Gatta

    @roblagatta

    Hey steve_s. Sorry for the delay in responding here; we generally hit this once a week, but shut down for the holidays and are just resuming our regular schedule this week.

    This is the first report of this problem I’ve seen, but that’s not to say it isn’t legit – I am happy to check it out and to see if a dev can chime in should I be unable to get it sorted.

    Have you updated to 2.0.11 yet? If so, can you confirm if the issue persists when you do so? From there, if you can provide a link so we can check this out directly, it’d be huge. Thanks in advance, and for your patience so far.

    Thanks, version is indeed 2.0.11. Is there an email I can send link to?

    Plugin Author Rob La Gatta

    @roblagatta

    Hey steve_s: totally, shoot an email to pro /a/ tri.be, with a link to this thread and referencing me by name so it gets filtered appropriately, and I’ll respond from there. Cheers!

    Email sent today. Thanks.

    Plugin Author Rob La Gatta

    @roblagatta

    Hey Steve: I totally dropped the ball on this…I’m sorry. I’d totally understand if you’d moved onto another plugin solution by this point, but if you haven’t let me know. Happy to comp you a PRO license (100% off a personal license) based on dropping the ball here; it’d allow you to get onto the PRO forums, too, where we respond daily (instead of sporadically as is the case here on dot-org).

    If you’re down, shoot me an email (rob a/ tri.be) and I’ll get you sorted. Thanks for your patience.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘PHP Error if no events in month’ is closed to new replies.