Home › Forums › Calendar Products › Community Events › Since 4.2, "Organizer is required" — but it’s already filled out.
- This topic has 7 replies, 5 voices, and was last updated 9 years, 9 months ago by
Nico.
-
AuthorPosts
-
June 14, 2016 at 8:29 am #1126724
Sean Sullivan
ParticipantHello,
See other users have had this issue in the past:
"organizer name already exists" and "event organizer required" errors
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
June 14, 2016 at 8:29 am #1126725Sean Sullivan
ParticipantThis reply is private.
June 14, 2016 at 9:42 am #1126807George
ParticipantThis reply is private.
June 14, 2016 at 9:50 am #1126812Sean Sullivan
ParticipantYou 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?
June 15, 2016 at 3:56 pm #1127611George
ParticipantHey @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!
GeorgeJune 30, 2016 at 9:35 am #1134053Support Droid
KeymasterThis 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.July 14, 2016 at 9:23 am #1139705Nico
MemberHey 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 -
AuthorPosts
- The topic ‘Since 4.2, "Organizer is required" — but it’s already filled out.’ is closed to new replies.
