• Resolved pavelsos

    (@pavelsos)


    Hi.
    Please help.
    When you register a new subscriber, here is a message – an unexpected error Occurred

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Malay Ladu

    (@malayladu)

    Hello,

    Please let us know which version of Email Subscribers are you using?

    Please also let us know the domain name of a subscribers who is trying to subscribe to your blog.

    Thread Starter pavelsos

    (@pavelsos)

    Your subscription is successful.
    version 3.5.16
    the domain name – yandex.ru

    Plugin Contributor Malay Ladu

    (@malayladu)

    Hello,

    Aha..Ok.

    People have faced lots spam issues with “*.ru” domain. So, for the time being we have blocked those domains (though it’s not a good practice).

    We will remove this restriction in ES 3.5.17 (due in next week).

    Meanwhile, please search for following code block in the email-subscribers/job/es-subscribe.php and remove it.

    //block address list
    			$es_disposable_list = array( '\.ru' );
    			if ( preg_match( '/(' . implode( '|', $es_disposable_list ) . ')$/i', trim( $_POST['esfpx_es_txt_email'] ) ) ) {
    				$es_response['error'] = 'unexpected-error';
    				$echoAble             = json_encode( $es_response );
    
    				return $es_response;
    			}

    It should fix this issue.

    Please do and let us know how it goes.

    Thanks!

    Thread Starter pavelsos

    (@pavelsos)

    Thank you very much for solving my problem
    Waiting for updates )

    Plugin Contributor Malay Ladu

    (@malayladu)

    You are welcome 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘An unexpected error occurred’ is closed to new replies.