Updating Event, Error

Home Forums Calendar Products Events Calendar PRO Updating Event, Error

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #18654
    Simon
    Participant

    When updating an already published event I got the following error–

    Fatal error: Call to undefined function has_post_thumbnail() in /home/wildearth/wildearth.org/wp-content/plugins/events-calendar-pro/lib/tribe-events-recurrence-meta.class.php on line 371

    #18657
    Jonah
    Participant

    Hi Simon, what version of WordPress and The Events Calendar and Events Calendar Pro are you running?

    #18662
    Simon
    Participant

    Everything is up-to-date.

    WordPress 3.3.2
    Events Calendar 2.0.6
    Events Calendar PRO 2.0.6

    #18679
    Jonah
    Participant

    Hi Simon, is it happening with all events or only particular events?

    #18698
    Jonah
    Participant

    Hi Simon, I think I’ve got a fix for you. Just add this to your themes functions.php file:

    /* Check for and add theme support for post-thumbnails */
    if ( function_exists('add_theme_support') )
    add_theme_support('post-thumbnails');

    The problem is, not all themes will have support for post-thumbnails added and we use this function in the plugin without checking to see if support is added first. We’ll be patching the plugin to check for this which will fix it without the need for adding anything to functions.php but this is a temporary fix.

    Let me know whether or not that works.

    Cheers,
    Jonah

    #976721
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Updating Event, Error’ is closed to new replies.