Email address is not valid
-
The latest version,when i test request sub i found this issue,Maybe it is a bug?
Some mail address showed its not valid.
likesomeone@students.solano.edu
-
Do it, please test again.
This is what I’m getting:

But there was no reCAPTCHA functionality in version
200813so that can’t happen.Are you sure version ‘200813` is installed at the moment?
Can you copy/paste the contents of the file
request-management-link.phphere?Use all the files from
200813. No files should be from the latest version.Sorry, I should have been more clear. When I said install version
200813I meant the whole plugin should be200813, not a specific file.DONE,
All file from 200813 now-
This reply was modified 4 years, 5 months ago by
loukky.
Great, now we can add changes that happened after that version (the changes that can be related to the issue) one by one to see which one will get the issue to show up.
First change that was done was on
request-management-link.phpfile. Replace that file with this https://github.com/stcr/subscribe-to-comments-reloaded/blob/271444527e67a99ccf416771b90156915c729860/src/templates/request-management-link.phpOnce you do that try the form. Let me know if the issue shows up.
-
This reply was modified 4 years, 5 months ago by
WPKube.
Done..
It showed
Email address is not validOk. That means
request-management-link.phpwas being loaded even before200813but it simply didn’t show up as an error because in that version we weren’t checking if the email address is connected to an existing subscription.That file is not supposed to load.
On line
869inwp_subscribe_reloaded.php(it’s a file at the top level, so it’swp-content/plugins/subscribe-to-comments-reloaded/wp_subscribe_reloaded.php) you’ll see:if (empty($include_post_content)) {Change that to:
if ( empty($include_post_content) && empty( $action ) ) {Then try again.
If the error does not show up, update to the latest version of the whole plugin and apply that last change (the one mentioned just above) to the latest version and try the form again.
-
This reply was modified 4 years, 5 months ago by
WPKube.
Done…
When i click send button…
It is no error..
But blank…
And no email…
Maybe you need to test
link:
https://loukky.com/comment-subscriptions?srp=1868&srk=c588b142542d2f32de761a79bc143aec&sra=s&srsrc=f#gsc.tab=0In
subscribe.phpon line30is:ob_start();Make that
ob_start(); echo 'test 1';And on line 233 is:
$output = ob_get_contents();Make that:
echo 'test2'; $output = ob_get_contents();Try the form submission, does it show both
test1andtest2in there?Before click send button,
It showed test1 and test2,
After click send button.
It showed nothingLine
813ofwp_subscribe_reloaded.phpis:$include_post_content = include WP_PLUGIN_DIR . '/subscribe-to-comments-reloaded/templates/subscribe.php';Before that line add:
echo 'email is ' . $email; echo '<br>test3';Let me know what shows after submission.
-
This reply was modified 4 years, 5 months ago by
WPKube.
it showed
email is someone@students.solano.edu test3Create a discod channel to community?
In
subscribe.phpon line 30 is :ob_start();Make that
return 'test5: ' . $email; ob_start();-
This reply was modified 4 years, 5 months ago by
WPKube.
-
This reply was modified 4 years, 5 months ago by
The topic ‘Email address is not valid’ is closed to new replies.