Plugin Author
Franky
(@liedekef)
There’s a small fix that will be done in the next version, but:
– assuming the email field is well present in the form (and if you view the html source, should have the id “email”)
– what is your email? If something internal: does it contain “weird” characters? The wordpress is_email function is not RFC nor i18n compliant ==> maybe I should switch to the php function FILTER_VALIDATE_EMAIL … I’ll check later this evening for that
Hi Franky.
– assuming the email field is well present in the form (and if you view the html source, should have the id “email”)
===> html source of the registration page?
– what is your email? If something internal: does it contain “weird” characters? The wordpress is_email function is not RFC nor i18n compliant ==> maybe I should switch to the php function FILTER_VALIDATE_EMAIL … I’ll check later this evening for that
===> it’s a valid work email that contains a period (.) in it… tested it with Send Mails | Test mail without issue..
have switched my user account email to my personal gmail accounts (with and without . in the email) and have the same issue (No Valid email provided)
Hi Franky,
i took a look at the code in eme_rsvp.php, line 624
$event['event_properties']['email_only_once']
it seems that it was affected by my setting in Event | RSVP, where i checked “Allow only 1 registration per unique email address”
Setting this option “Allow only 1 registration per unique email address” will give a No Valid Email Provided error.
Setting this option “Allow only 1 registration per person (combo email/lastname/firstname)” does not produce an error
Setting both options does not produce an error.
Plugin Author
Franky
(@liedekef)
“1 registration per person” takes precedence over “1 registration per unique email address”, that’s the reason for that.
Could you try to change the line with is_email(…) in eme_rsvp.php to:
if (!isset($_POST[’email’]) || !filter_var($_POST[’email’],FILTER_VALIDATE_EMAIL)) {
But again: I need to update parts of that code … will try this evening
if (!isset($_POST['email']) || !is_email($_POST['email'])) {
changed to
if (!isset($_POST['email']) || !filter_var($_POST['email'],FILTER_VALIDATE_EMAIL)) {
still have the same error…
Whats the difference between both settings? the information in the fields (first/last/email) cannot be changed on the fly
-
This reply was modified 8 years, 3 months ago by
canonite.
Plugin Author
Franky
(@liedekef)
Please do check the latest dev-version (I’ll test later this evening too).