Home › Forums › Calendar Products › Community Events › activating community events creates fatal error
- This topic has 9 replies, 3 voices, and was last updated 10 years, 1 month ago by
Support Droid.
-
AuthorPosts
-
February 19, 2016 at 10:30 pm #1078713
Jen Russo
ParticipantI am currently updating my pro plugins to the current issue. I have TECP, Community, Facebook, and Filter Bar. Right now I have updated TECP, and I am trying to activate the Community plug in to update it. however when I activate I get this message:
Fatal error: Cannot redeclare tribe_is_community_my_events_page() (previously declared in /nas/content/staging/mauitime/wp-content/plugins/the-events-calendar/src/functions/template-tags/query.php:67) in /nas/content/staging/mauitime/wp-content/plugins/the-events-calendar-community-events/src/functions/template-tags.php on line 13
and
Fatal error: Cannot redeclare tribe_is_community_my_events_page() (previously declared in /nas/content/staging/mauitime/wp-content/plugins/the-events-calendar/src/functions/template-tags/query.php:67) in /nas/content/staging/mauitime/wp-content/plugins/the-events-calendar-community-events/src/functions/template-tags.php on line 10
Please advise.
Screenshot here:
February 21, 2016 at 1:09 pm #1079462Brian
MemberHi,
Sorry for the issues here. I can work with you to resolve this.
If you updated The Events Calendar to 4.0 and leave Community Events at 3.12.x or earlier it will break the site. If you cannot update Community Events for whatever reason you should remain on 3.12.6 for the Events Calendar and follow the steps below to set that up.
Unfortunately, the only way to fix it is to access the files of you site and delete the older version of Community Events. This process itself does not delete or change any of your settings in the database.
This can be done by either your hosting account file manager or through ftp. The files will be found here:
wp-content/plugins/the-events-calendar-community-events/
Please make sure to remove all copies of Community Events.
That will bring your site back and then you can download the latest version of Community Events (4.0) from your account here and manually upload it to your site.
We also have this guide for manual updates:
If you need your site right away with community events I recommended downgrading to the 3.12.x for all the plugins.
You can download the older versions from your account here on theeventscalendar.com and older versions of the core plugin here: https://wordpress.org/plugins/the-events-calendar/developers/
And follow these steps for manual updates:
If you have issues please let me know and I can help out.
Thanks
February 21, 2016 at 2:07 pm #1079491Jen Russo
ParticipantBrian,
I have both TECP and community events updated to 4.0 and I am getting this message.
So are you saying I updated them incorrectly? or that i have to upload them simultaneously and not one at a time?
Right now I am updating them through the auto update in the wordpress backend.
thank you for explaining more about what I need to do to remove this fatal error from my site.
Jen
February 21, 2016 at 2:54 pm #1079503Jen Russo
ParticipantBrian my bad. I see that i was trying to update to the 4. version of community events but the system jammed up w fatal error. Let me work on the updates for all my add ons simultaneously and see what transpires. I believe I tried that first and also got a fatal error so i went to the one by one update to see what errors came up.
thanks!
February 22, 2016 at 7:18 am #1079724Brian
MemberOk let me know if you still need help.
Sorry for the problems this has created, once updated though it will not come back.
February 22, 2016 at 3:34 pm #1080262Jen Russo
ParticipantBrian
that is fine, i am testing on a staging environment to be safe anyway. This is what I found: https://theeventscalendar.com/support/forums/topic/events-calendar-plugin-disabling-my-menu-function/
I had to start a new thread for a different issue that came up. Can you help w this one?February 22, 2016 at 4:50 pm #1080326Brian
MemberThat issue in your other thread was resolved in 4.0.1 or 4.0.2 it is a WordPress 4.4.x conflict.
February 22, 2016 at 6:33 pm #1080359Jen Russo
ParticipantI get that, because I updated and it went away. but the thing is, I cannot update my site to 4.0 because it breaks my export. So is there a work around for those of us that have to stay on 3.12?
thanks for any additional info
Jen
February 22, 2016 at 6:43 pm #1080360Brian
MemberThis was the change we made to fix the issue:
https://github.com/moderntribe/the-events-calendar/commit/3db046a30a4d9c2c8e81a025429ea0b6f7463ae6
You could add the coding in green to the main.php to resolve it.
March 8, 2016 at 8:35 am #1086296Support 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 ‘activating community events creates fatal error’ is closed to new replies.
