• Resolved marnyscom

    (@marnyscom)


    I am having an issue with this plugin.

    The AJAX Call response is success, the result is OK, but the statusText is empty, so it does not enable the submit button.

    Why could this happen?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author jmviade

    (@jmviade)

    Hi, marnyscom,
    At first look, it seems that your wp theme uses a submit buttom with its own identifier (not the tipical #submit id ).

    Simply, polease, change you the identifier method for buttom in the plugins settings.

    If there is other issues, please, then send me some more information about your wp installation: version, theme, other installed plugins, javascrip console content, the site address for cheking…

    Thanks in advance

    Joan Miquel

    Thread Starter marnyscom

    (@marnyscom)

    Hi,
    Thanks for your answer. The submit button has the id #submit, and there is no other one.

    WP version is 5.2.1
    Theme Everything

    The console log:
    onabort: null
    onerror: null
    onload: null
    onloadend: null
    onloadstart: null
    onprogress: null
    onreadystatechange: ? ()
    ontimeout: null
    readyState: 4
    response: “{“success”:true,”data”:{“result”:”OK”,”address”:”185.44.27.124″}}”
    responseText: “{“success”:true,”data”:{“result”:”OK”,”address”:”185.44.27.124″}}”
    responseType: “”
    responseURL: “https://www.marnys.es/wp-admin/admin-ajax.php”
    responseXML: null
    status: 200
    statusText: “”
    timeout: 0
    upload: XMLHttpRequestUpload {onloadstart: null, onprogress: null, onabort: null, onerror: null, onload: null, …}
    withCredentials: false
    __proto__: XMLHttpRequest

    I have fixed it removing the “statusText” check in /js/recaptcha.js (line 79)

    Plugin Author jmviade

    (@jmviade)

    Thank’s for the response an the solution.
    Best,

    Joan Miquel

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error AJAX Call’ is closed to new replies.