Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author storeapps

    (@storeapps)

    @cuta,

    Which version of Email Subscribers you are using?

    Please have a check with only Email Subscribers plugin (rest all plugins de-activated) active and default WordPress theme and check if it is working or not.

    Thread Starter NUCUTA

    (@cuta)

    The latest one. my plugins are always up-to-date. anyway I fixed it by commenting out these lines in email-subscribers/job/es-subscribe.php. I think there is something wrong with these two lines. $_SERVER[‘HTTP_REFERER’] is searched for the value in $homeurl, and strpos returns its position if found ,but it’s not found and therefore IF condition is not met ,so it takes the user to the else part where they are thrown “unexpected-error” error. I hope it will be fixed in the next version. thanks.

    $homeurl = home_url();
    $samedomain = strpos($_SERVER['HTTP_REFERER'], $homeurl);
    //if (($samedomain !== false) && $samedomain < 5)
    //{
    //}
    //else
    //{
    //	echo "unexpected-error";
    //}
    Plugin Author storeapps

    (@storeapps)

    @cuta,

    Editing the core plugin files is really not advisable.

    Also, that block of code is necessary to check if the request is valid or not. However, we’ll investigate into it.

    Thread Starter NUCUTA

    (@cuta)

    I get what you meant, but what else I could do? I hope you will fix it asap

    Thread Starter NUCUTA

    (@cuta)

    hello I can see you released a new version. I am wondering did you fix this issue.

    Plugin Author storeapps

    (@storeapps)

    @cuta,

    We are not able to replicate same on our end. However, we will investigate into it and then we’ll fix it (it is not fixed in latest release – v3.1.4).

    Thread Starter NUCUTA

    (@cuta)

    I use cloudflare. perhaps that’s the reason?

    Plugin Author storeapps

    (@storeapps)

    @cuta,

    Could be one reason. Please have a test with only Email Subscribers plugin active (rest all plugin de-activated) & default WordPress theme.

    Thread Starter NUCUTA

    (@cuta)

    I will let you know after doing some tests ??

    Plugin Author storeapps

    (@storeapps)

    @cuta,

    Any update on this?

    @storeapps,

    I am having the same error as @cuta. I tried adding multiple other emails of mine as a test and all of them are saying “Oops.. Unexpected error occurred” in red. Any updates on this issue? Thanks

    Plugin Author storeapps

    (@storeapps)

    @jeffdjon1,

    Do you see any errors in browser’s console? If yes, then what it is?

    @storeapps,

    No, I do not see any errors being displayed in the browser’s console.

    Plugin Author storeapps

    (@storeapps)

    @jeffdjon1,

    Please check if you have correct file permissions.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Oops.. Unexpected error occurred.’ is closed to new replies.