Home › Forums › Calendar Products › Community Events › Community Frontend Error
- This topic has 14 replies, 3 voices, and was last updated 10 years, 9 months ago by
Support Droid.
-
AuthorPosts
-
May 7, 2012 at 4:48 am #18744
Ken
ParticipantI 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 70I 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.May 7, 2012 at 11:06 am #18767Jonah
ParticipantHi 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');
May 7, 2012 at 11:18 am #18771Ken
ParticipantJonah,
Not to be a pain. Are you talking about functions in the theme file i am using or the Community plug in.May 7, 2012 at 11:19 am #18772Jonah
ParticipantHi Ken,
functions.php in your theme – sorry for not being specific enough 🙂
May 7, 2012 at 11:47 am #18775Ken
ParticipantHi 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.May 7, 2012 at 12:00 pm #18777Ken
ParticipantI probably should add that it does work in the default wp themes. Just not this theme I bought in January for my business.
May 7, 2012 at 12:04 pm #18779Ken
ParticipantThis is file I am in.
/home/relyloci/public_html/shoplocallansing.com/wp-content/themes/directorypress/functions.php
May 7, 2012 at 12:12 pm #18781Jonah
ParticipantHi 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).
May 7, 2012 at 12:21 pm #18784Ken
ParticipantHI 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 866May 7, 2012 at 12:24 pm #18785Jonah
ParticipantHi 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,
JonahMay 7, 2012 at 12:26 pm #18787Ken
ParticipantI can email you access to my server. don’t have a FTP yet
May 7, 2012 at 1:06 pm #18801Ken
Participantsent
May 7, 2012 at 4:48 pm #18830Ken
ParticipantJonah,
It’s working.
I needed to update the theme.Thanks for your time. Love the plug. Very pleased with Pro and Community plug in.
May 8, 2012 at 11:15 am #18859Jonah
ParticipantHi Ken, glad to hear you got that sorted out. Let me know if there’s anything else I can help with.
July 7, 2015 at 6:19 am #976749Support Droid
KeymasterThis 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. -
AuthorPosts
- The topic ‘Community Frontend Error’ is closed to new replies.
