• Resolved alequint8912

    (@alequint8912)


    Hi! This is my first post
    I using contact form 7 for my forms, when I click “Send”, show the loading gif but nothing of error or successfull message. When I debug the ajax request, it show this error on this line (<div class=”ajax-error”>Unexpected token l</div>). The funny thing is that this error only appears in a linux production environment (Ubuntu Server), in windows development environment works perfect.

    This is the code where de error is throw

    error: function(xhr, status, error, $form) {
    var e = $(‘<div class=”ajax-error”></div>’).text(error.message);
    $form.after(e);
    }

    Please help me with this. Thanks

    https://www.ads-software.com/plugins/contact-form-7/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Unexpected Token l in ajax request’ is closed to new replies.