• Resolved Wendihihihi

    (@wendihihihi)


    I’m using plugin version 3.1

    I have sent an email with the same problem and url via your website earlier today.

    When people press the subscribe button, the page doesn’t refresh, it’s stuck at loading…

    This happens when using the Single Opt In option. When I use the Double Opt In option I get the popup with the check your email message.

    In both cases the email and name are registered. It’s just that the page doesn’t refresh after clicking the Subscribe button.

    In the Console I get the following errors:

    Refused to set unsafe header “Content-length”es_submit_requests @ es-widget-page.js:65
    es-widget-page.js:66 Refused to set unsafe header “Connection”es_submit_requests @ es-widget-page.js:66

    Refused to set unsafe header “Connection”es_submit_requests @ es-widget-page.js:66
    es-widget-page.js:82 Uncaught TypeError: Cannot set property ‘innerHTML’ of null

    Uncaught TypeError: Cannot set property ‘innerHTML’ of null @ es-widget-page.js:82

    When I comment out the first two lines the first two errors are gone.
    When I change line 82 into
    window.onload = function() {document.getElementById("es_msg").innerHTML = es_widget_page_notices.es_success_message;};
    the last error is gone, but it’s still stuck at loading… after clicking the Subscribe button.

    I would appreciate when you have a look at it.

    Thanks

    https://wordpress.org/plugins/email-subscribers/

Viewing 15 replies - 1 through 15 (of 17 total)
  • Hi,

    I’ve the same problem here.

    me too!
    BTW: in widget the message is correct: “address already exist”

    Plugin Author storeapps

    (@storeapps)

    Hi,

    Have you tried the same using widget and still getting it is getting stuck on ‘loading’?
    Adding further, we are able to replicate same on our end and we will fix them in later releases of Email Subscribers.

    Plugin Author storeapps

    (@storeapps)

    @wendihihihi, @ktecho, @Anna-Karina,

    Email Subscribers v3.1.1 is live now and it fixes the errors that were visible in console while submitting the subscribe form.

    If you like our plugin, please consider leaving us a 5-star rating.

    Thread Starter Wendihihihi

    (@wendihihihi)

    Yeah, I’m really trying to like the plugin, but till now it’s a bit hard.

    Plugin version 3.1.1. Same story as above but now the Loading…. problem appears with Single Opt In option activated. The Double Opt works.

    No error messages in the Console.

    Plugin Author storeapps

    (@storeapps)

    @wendihihihi,

    The ‘loading..’ notice is appearing only via shortcode, and is working correctly if using widget, right?

    Thread Starter Wendihihihi

    (@wendihihihi)

    I am not sure about the widget because I’m not using it, but the Double Opt works (via shortcode) and the Single Opt via shortcode hangs at Loading…

    Name and email are stored in the database after people have pressed the button. It’s only the Loading… that hangs.

    stemtj

    (@stemtj)

    @wendihihihi,

    I’ve faced the same problem and solved it by editing file in widget/es-widget-page.js

    I believe on line 163 you need to input 3 symbols to get rid of that error. If you look at the line there’s “es_msg”, it should be “es_msg_pg”.

    I hope it helps!

    document.getElementById("es_msg").innerHTML = es_widget_page_notices.es_success_message;

    Thread Starter Wendihihihi

    (@wendihihihi)

    @stemtj,

    I have another version then you, because I don’t have line 163 in widget/es-widget-page-js, but you helped me though.

    In widget/es-widget-page-js I changed all es_msg into es_msg_pg and I got the Subscribed successfully again.

    It looks like it has been copied/paste from widget/es-widget.js without updating the code for page.

    Thanks

    stemtj

    (@stemtj)

    @wendihihihi,

    Ah. Didn’t think about versions, but I’m glad that it helped you!

    Best

    Plugin Author storeapps

    (@storeapps)

    @stemtj,
    Thank you for providing the fixes.

    @wendihihihi,
    We will include this fixes in the next release of Email Subscribers.

    Thread Starter Wendihihihi

    (@wendihihihi)

    Sounds good. Thanks!

    Plugin Author storeapps

    (@storeapps)

    @wendihihihi, @ktecho, @Anna-Karina, @stemtj,

    Email Subscribers v3.1.2 is live & it fixes the issue you were facing. Please update to latest version & then have a check.

    Thread Starter Wendihihihi

    (@wendihihihi)

    Yeah, I already did. We’ll see it soon enough πŸ™‚

    How to solve this?

    I am still having the problem with fill in the subscription form:

    after click on subscribe, the user got this message:

    there was the problem with the request…

    (i already install the new latest version 3.1.3)

Viewing 15 replies - 1 through 15 (of 17 total)

The topic ‘Shortcode only saying "Loading…" upon subscription attempt’ is closed to new replies.