Events Categories are gone

Home Forums Calendar Products Events Calendar PRO Events Categories are gone

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #1121869
    Dawn
    Participant

    After the last upgrade Event Categories no longer appears in the sidebar.
    We still have the meta-box, but it is greyed out and uneditable.

    Local environment working normally.

    #1121876
    Dawn
    Participant

    FYI, we add Regular cats and posts to the cpt via functions (see below).
    This has worked for years and still works locally.

    
    add_action('init', 'events_register_post_type');
    
    function events_register_post_type() {
    register_post_type('tribe_events', array( 'rewrite' => array('slug' => 'event', 'with_front' => false),
    'labels' => array(
    'name' => 'Events',
    'singular_name' => 'Event',
    'add_new' => 'Add new event',
    'edit_item' => 'Edit event',
    'new_item' => 'New event',
    'view_item' => 'View event',
    'search_items' => 'Search events',
    'not_found' => 'No events found',
    'not_found_in_trash' => 'No events found in Trash'
    ),
    'public' => true,
    'menu_position' => 4,
    'supports' => array(
    'title',
    'excerpt'
    ),
    'taxonomies' => array('category', 'post_tag') // this is IMPORTANT
    ));
    }
    add_filter('pre_get_posts', 'query_post_type');
    function query_post_type($query) {
    if(is_archive() || is_tag() || is_home() && empty( $query->query_vars['suppress_filters'] ) ) {
    $post_type = get_query_var('post_type');
    if($post_type)
    $post_type = $post_type;
    else
    $post_type = array('post','tribe_events','attachment');
    $query->set('post_type',$post_type);
    return $query;
    }
    }
    
    #1122031
    Hunter
    Moderator

    Hi and welcome back,

    Can you please confirm if the issue still occurs after reviewing our Testing for conflicts guide? We’ll need to rule out a theme and/or plugin conflict before going further.

    Thanks for posting and I look forward to your response. Have a great Friday ๐Ÿ™‚

    #1122368
    Dawn
    Participant

    I disabled all plugins and overrides.
    Same issue.
    When I switch to Twentysixteen the events CPT disappears and I have no access to the posts.
    I tried it with just the 2 tribe plugins activated, as well as all plugins activated, same result.

    #1122630
    Hunter
    Moderator

    Welcome back and thank you for the response,

    I’m unfortunately unable to reproduce the issue. To clarify, does the issue occur when you remove the code provided in your second response and revert back to the Twenty Sixteen theme with only our plugins active ? Also, was that code provided to you by a support team member?

    Have a good Saturday and thanks again ๐Ÿ™‚

    #1123151
    Dawn
    Participant

    Hi,
    Thanks for your continued assistance.
    You wouldn’t be able to reproduce the issue unless you were logged in.

    I think it may not have been clear so to rephrase what I said in the last post, when I change to 2016 theme, the post type does not appear at all in the wp backend. Only tribe events plugins are active, but there is no way to access tribe events posts.
    So, no, it does not fix the problem of event categories being grayed out.

    I tried it with 205 theme, and had slightly different results.
    The wp backend menu item for Events appears, but not the submenu item for event posts, only tags, etc (see attached)

    I believe you need to login to be able to observe any of these problems.
    I am working out whether that is possible.

    #1123153
    Dawn
    Participant

    ps,
    I don’t remember whether that code was provided by tribe support, as it was a very long time ago.
    I believe it was not.

    #1123154
    Dawn
    Participant

    This reply is private.

    #1123609
    Hunter
    Moderator

    This reply is private.

    #1123797
    Dawn
    Participant

    But it’s not working even when we use a wp theme and remove all other plugins, or remove the custom code on our theme.
    Do you really have no suggestions whatsoever?

    #1124022
    Hunter
    Moderator

    Hey Dawn,

    Thanks for getting back to me. As you previously stated:

    I donโ€™t remember whether that code was provided by tribe support, as it was a very long time ago.
    I believe it was not.

    We are unfortunately unable to support these types of requests due to the code you need assistance with isn’t actually our code, so we are not technically responsible for whether it “works” or not. I hope this clarifies our position on the matter and do apologize I can’t do more. If you need further assistance, we’ve got a list of folks than can possibly help you out. Thanks again and take care.

    #1124092
    Dawn
    Participant

    Once again, itโ€™s not working even when we use a wp theme and remove all other plugins, or remove the custom code on our theme.

    Ie, it’s not working with zero custom code.

    #1124632
    Hunter
    Moderator

    Hey Dawn,

    My sincerest apologies for not catching that you had removed the custom code and are still experiencing problems. Can you try reverting to a previous version and see if the Event Categories show back up? You can download prior versions of free version here: https://wordpress.org/plugins/the-events-calendar/developers/

    To download previous versions of the PRO version, visit your Downloads page.

    As of right now, we don’t have any logged bugs of users reporting similar issues, so I’m not sure what exactly is causing the issue. With that said, I’m afraid you’ll have to work this out on your own as we’re unable to log into customer sites :-/

    Let me know if reverting back to a previous version works. I’m not dismissing a bug here, I’m just not sure how to go about identifying the source of conflict. Thank you for understanding and your patience while we work through this.

    Cheers!

    #1131552
    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 14 posts - 1 through 14 (of 14 total)
  • The topic ‘Events Categories are gone’ is closed to new replies.