Fictitious event categories
-
Ive recently stumbled into a weird bug:
On the wp-backend, on the New Event page I have
Example Category
listed under my list of Event Categories to select.However, that category doesnt appear on the Event Category’s backend page (wp-admin/edit-tags.php?taxonomy=tribe_events_cat&post_type=tribe_events).
Which means that I get a PHP
Notice: Trying to get property 'slug' of non-object in \path\to\wp-includes\taxonomy.php on line 3961
from tribe_get_event_categories().Strangely, going to Event Category page on the front-end (example.com/events/category/example-category/) does show all the events that have this category selected.
So, to fix the PHP notice, I recreated the category, and updated all the events to point to the new one.
But, to make sure people use the new correct category, I need to delete the old one from the list (which again, doesnt show up on the Event Categories page).
Suggestions?
- The topic ‘Fictitious event categories’ is closed to new replies.