Since 4.2, "Organizer is required" — but it’s already filled out.

Home Forums Calendar Products Community Events Since 4.2, "Organizer is required" — but it’s already filled out.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1126724
    Sean Sullivan
    Participant

    Hello,

    See other users have had this issue in the past:

    "organizer name already exists" and "event organizer required" errors

    "Organizer Required" Even When Organizer is Filled Out

    Since our upgrade to 4.2, visitors are unable to submit events to our community calendar. They receive an “Organizer is required” error message when selecting one of the existing organizers.

    You can test at http://MYDOMAIN.com/calendar/community/add

    #1126725
    Sean Sullivan
    Participant

    This reply is private.

    #1126807
    George
    Participant

    This reply is private.

    #1126812
    Sean Sullivan
    Participant

    You nailed it, George! (You can make your reply public if you’re able.)

    Here was the offending snippet. I commented out the Organizer line and that solved the problem:

    // Add required fields to community calendar 
    add_filter( 'tribe_events_community_required_fields', 'my_community_required_fields', 10, 1 );
     
    function my_community_required_fields( $fields ) {
        $fields = array(
            'post_title',
            'post_content',
       //    'EventCost',
       //    'EventCurrencySymbol',
       //   'EventURL',
       //     '_ecp_custom_2',
             'EventStartDate',
             'venue',
       //     'organizer',
        //    'event_image',
        );
      
        return $fields;
    }
    

    I would like to keep that field mandatory, though. Is there a better way to achieve this?

    #1127611
    George
    Participant

    Hey @sean,

    While enforcing a requirement for most other fields is still as straightforward as the snippet above, enforcing a requirement for organizers is a bit more complex now because we allow for multiple organizers instead of just one.

    I have tinkered with this on my own to no avail thus far, but have reached out to our developers for some assistance on this and will post a snippet as soon as possible.

    Thank you for your patience!
    George

    #1134053
    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.

    #1139705
    Nico
    Member

    Hey Sean,

    Just wanted to give you a heads-up on this issue: other users are experiencing the same glitch, and I’m trying to help theme here → https://theeventscalendar.com/support/forums/topic/organizer-cant-be-set-as-required-field/

    Feel free to chime in if you are still interested in a workaround.

    Best,
    Nico

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Since 4.2, "Organizer is required" — but it’s already filled out.’ is closed to new replies.