Home › Forums › Calendar Products › Events Calendar PRO › Duplicate Event Category
- This topic has 20 replies, 5 voices, and was last updated 8 years, 9 months ago by Support Droid.
-
AuthorPosts
-
May 26, 2012 at 9:29 pm #19758BobParticipant
I named an Event Category slug, and WordPress appended a -2 to it. When I tried to rename it back, a message indicated that Category already existed. It does exist as Post Category, but not as an Event Category. And I have other Category slugs that exist in both places.
Any idea where I should look for the duplicate? I had another Calendar plugin installed and just deactivated, so I activated that one again, but it does not contain a duplicate Event Category.May 29, 2012 at 8:32 am #19808RobMemberHi again Bob. On this one…so you don’t see that slug in use anywhere under “Event Categories”, “Venues” or “Organizers”? And what about “Tags”? Just want to make sure I’m aware of all the elements here so I can try to diagnose this for you.
May 29, 2012 at 6:59 pm #19868BobParticipantCorrect, that slug is not in any of the places you listed.
May 29, 2012 at 7:39 pm #19874BobParticipantAlso used the Export/Import plugin to export all content to an XML file, and search does not find a duplicate of the problem category anywhere. For one of the two categories which has this problem, it doesn’t even have a matching Posts Category either, so the conflict isn’t there.
May 29, 2012 at 7:41 pm #19876BobParticipantI also tried removing the existing events from one of the categories then renaming the category, but that didn’t make a difference.
May 29, 2012 at 10:52 pm #19895JonahParticipantHi Bob,
Something sounds fishy here. Were you ever running any other event related plugin? It could be that that plugin, after removing it, did not delete all it’s data. Other things to check are:
1. Are you running the latest version of WordPress.
2. Are you running the latest versions of our plugins (2.0.6)
3. Have you tried deactivating all other plugins to rule out a conflict?
4. Have you tried reverting to the Twenty Eleven theme to see if it’s something with your theme?Try those steps and let us know what you find.
Thanks,
JonahJune 2, 2012 at 4:53 am #20083BobParticipantWP 3.3.2 and Events Calendar 2.0.6.
I agree, though, it sounds like something lingering from another plugin. That’s why I reactivated the one and checked its categories, but these 2 categories were not among them. Another was completely removed by another admin, so I couldn’t see what might have been created there.
Haven’t tried deactivating all other plugins or reverting theme. We’re in the process of migrating the site, though, so I might not get to try that for a while. Wondering if I might need to manually query the database, which I’m not looking forward to.
June 2, 2012 at 7:41 pm #20096BobParticipantI fixed one of the two by re-activating a previous calendar and deleting all its content and categories. I’m starting to suspect the other might be from yet a third calendar that was uninstalled already. So we may have to reinstall that even just to check and see if there is content to delete.
June 3, 2012 at 12:57 pm #20115JonahParticipantHi Bob, I would agree, it sounds like data that was not removed by the other plugins upon deactivation. Hopefully you can get it worked out. Let us know if there’s anything else we can do for you.
– Jonah
June 3, 2012 at 8:00 pm #20123BobParticipantMan, I don’t know where else to look. I reinstalled that other calendar, but it did not reveal any existing posts or categories, so I uninstalled it again, and I still can’t rename that one.
June 5, 2012 at 2:14 pm #20181JonahParticipantHi Bob,
You’ll need to dig deeper, likely into the database itself to try and track this down. You might even try starting from scratch and slowly migrating things over one piece at a time. I’m not sure what else to tell you…
– Jonah
June 5, 2012 at 8:54 pm #20214BobParticipantBear with me as I’m new to some of these terms, but it appears that maybe tribe_events_cat will reuse an existing term_id in some situations, but will create a new one in others?
Looking at wp_cms_term_taxonomy, I see that some tribe_events_cat rows have a term_id that matches one from a category, but this particular one has a unique term_id. As do several other tribe_events_cats which don’t have “matching” post categories.
Is it possible that for any Event category/slug I create *after* I’ve created a post category with that same slug, they’ll be able to share the slug, but if I create in the other order, they won’t be able to?
Given the current situation, do you guys know the cleanest way to clean up? Simplistically, I’d like to just change the term_id in the tribe_events_cat, but I suspect it isn’t that easy.
Also, it would be nice if we could know how to prevent this from happening in the future.
Thanks for your assistance. (And BTW, Rob’s help on the WordPress forum is part of why we moved from free to pro.)
June 6, 2012 at 7:39 am #20235RobMemberHey there Bob. Thanks for jumping over to PRO; glad to see you made the switch 🙂 Just in case Jonah didn’t see the follow-up here (we’ve been having some weirdness with the email notifications as of late, which we’re working on now)…I have passed this his way again. You should get a response here sometime today.
June 6, 2012 at 2:39 pm #20258JonahParticipantHi Bob,
I’m not really sure the answer to your question and have asked another dev to come in and take a look. Stay tuned.
– Jonah
June 8, 2012 at 7:31 pm #20400BobParticipantStill tuned….
-
AuthorPosts
- The topic ‘Duplicate Event Category’ is closed to new replies.