Community Frontend Error

Home Forums Calendar Products Community Events Community Frontend Error

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #18744
    Ken
    Participant

    I am getting this error when I am looking for the frontend for the community to add their own events.
    Fatal error: Call to undefined function has_post_thumbnail() in /home/relyloci/public_html/shoplocallansing.com/wp-content/plugins/the-events-calendar-community-events/views/event-form.php on line 70

    I am using a Premiuim Press theme http://www.shoplocallansing.com
    It does work on the WP default themes. Is something you can help me with or do I need to talk to the Premium Press guys. I love the calendar and this function will make my life a lot easier.

    #18767
    Jonah
    Participant

    Hi Ken,

    This will be fixed in an upcoming version but for now try adding this to your functions.php file:

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

    #18771
    Ken
    Participant

    Jonah,
    Not to be a pain. Are you talking about functions in the theme file i am using or the Community plug in.

    #18772
    Jonah
    Participant

    Hi Ken,

    functions.php in your theme – sorry for not being specific enough 🙂

    #18775
    Ken
    Participant

    Hi Jonah,
    I placed the code in the themes function.php it just showed the code above the header. To be honest with you. I am not much of a code guy and I apologize for that.

    #18777
    Ken
    Participant

    I probably should add that it does work in the default wp themes. Just not this theme I bought in January for my business.

    #18779
    Ken
    Participant

    This is file I am in.

    /home/relyloci/public_html/shoplocallansing.com/wp-content/themes/directorypress/functions.php

    #18781
    Jonah
    Participant

    Hi Ken,

    Make sure you are pasting it after all other code in functions.php and before the closing php tag at the end (with the question mark and right pointing arrow).

    #18784
    Ken
    Participant

    HI Johan,
    Oh boy. I leave it in in case you want to see it but this is what came up:
    Warning: Cannot modify header information – headers already sent by (output started at /home/relyloci/public_html/shoplocallansing.com/wp-content/themes/directorypress/functions.php:19) in /home/relyloci/public_html/shoplocallansing.com/wp-includes/pluggable.php on line 866

    #18785
    Jonah
    Participant

    Hi Ken,

    Uh oh, that’s no good. Can you provide me FTP access and I’ll try plugging it in myself? Please email to jonah [at] tri [dot] be

    Thanks,
    Jonah

    #18787
    Ken
    Participant

    I can email you access to my server. don’t have a FTP yet

    #18801
    Ken
    Participant

    sent

    #18830
    Ken
    Participant

    Jonah,

    It’s working.
    I needed to update the theme.

    Thanks for your time. Love the plug. Very pleased with Pro and Community plug in.

    #18859
    Jonah
    Participant

    Hi Ken, glad to hear you got that sorted out. Let me know if there’s anything else I can help with.

    #976749
    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 15 posts - 1 through 15 (of 15 total)
  • The topic ‘Community Frontend Error’ is closed to new replies.