activating community events creates fatal error

Home Forums Calendar Products Community Events activating community events creates fatal error

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1078713
    Jen Russo
    Participant

    I 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:

    Fullscreen%202/19/16%208:23%20PM

    #1079462
    Brian
    Member

    Hi,

    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:

    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:

    Manual Updates

    If you have issues please let me know and I can help out.

    Thanks

    #1079491
    Jen Russo
    Participant

    Brian,

    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

    #1079503
    Jen Russo
    Participant

    Brian 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!

    #1079724
    Brian
    Member

    Ok let me know if you still need help.

    Sorry for the problems this has created, once updated though it will not come back.

    #1080262
    Jen Russo
    Participant

    Brian

    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?

    #1080326
    Brian
    Member

    That issue in your other thread was resolved in 4.0.1 or 4.0.2 it is a WordPress 4.4.x conflict.

    #1080359
    Jen Russo
    Participant

    I 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

    #1080360
    Brian
    Member

    This 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.

    #1086296
    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 10 posts - 1 through 10 (of 10 total)
  • The topic ‘activating community events creates fatal error’ is closed to new replies.