Organizer is required and Organizer Email is required error

Home Forums Calendar Products Events Calendar PRO Organizer is required and Organizer Email is required error

Viewing 8 posts - 16 through 23 (of 23 total)
  • Author
    Posts
  • #1128099
    George
    Participant

    Tom,

    I understand your frustrations and we are trying to figure out the issue here.

    I cannot reproduce it thus far, but the only reason I ever mention that is because it’s the reason I then ask you to do troubleshooting steps–if I could reproduce the problem, I would do the troubleshooting steps myself.

    Next, it’s worth noting this fact because it points to a unique issue specific to your site, like for example that you might have custom coding on your site or other code that is conflicting with things.


    To that end, Tom, now that you’ve updated to 4.2, can you please confirm if you have any “require Community fields” snippets at all on your site? If so, please remove these snippets completely for now and see if anything improves.

    Thank you for your patience here, Tom.

    Sincerely,
    George

    #1128358
    Tom
    Participant

    Thanks Ryan, I have been away for a couple of days on business but will now try again to remove all required filters from that snippet. As far as I can remember I do not have any other code that looks for organizer email, which is the strange thing about this, but I will do some more work on it today.

    A week has past and I now have a queue of unhappy event organisers, so as a last resort I think I may have to completely remove all Events Calendar software and start from scratch with a complete re-install – presuming that the existing event data will not be removed with it.

    #1129395
    George
    Participant

    Hey Tom,

    Thank you for the update. Please do let us know what you find once you remove any “require Community fields” snippets on your site—I will try to recommend further steps from there, and hopefully save you the effort of doing a complete re-installation of things.

    Sincerely,
    George

    #1129550
    Tom
    Participant

    George,

    I think I’ve tracked this down to an extra filter in the functions.php code that I did not know was there (I did not set the events system up originally. There was an additional function

    if ( empty( $_POST[‘organizer’][‘Email’] ) )
    $fields[] = ‘Organizer Email’;

    Below the ‘standard’ required function, and when I commented this out it seems to be working – will know for certain once my users try adding their events. I guess the question that remains is when it will be safe to make organizer required again…

    #1130220
    George
    Participant

    Hey @Tom,

    Thanks for sharing this update! I wanted to update you that I think I have a code snippet for you here that will do the job of requiring an organizer and organizer email.

    You can find the PHP for this snippet in this Gist ? https://git.io/vo65f

    Copy and paste that into your theme’s functions.php file, and let me know if this helps! (And please note that you can omit the opening <?php tag seen in the Gist.)

    Cheers!
    George

    #1130250
    Tom
    Participant

    George,

    Thank you – I wil try that.

    #1130943
    George
    Participant

    Excellent—let us know if it helps at all!

    — George

    #1137285
    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 8 posts - 16 through 23 (of 23 total)
  • The topic ‘Organizer is required and Organizer Email is required error’ is closed to new replies.