Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1398111

    I have a problem with contact form scripts with Mailerlite that suddenly stopped working correctly. Instead of connecting to subscribe the person filling in the form it goes to another MailerLite page. Figuring it was a Mailerlite problem, I contacted them and they replied with this information.

    Our technical team analyzed the case and after a couple of tests and verification, we have identified that your builder Avia, is not allowing the scripts to run correctly to make the sign-up process successful. It seems that even though the information is being completed, nothing is being actioned and your builder is not letting our script move forward.

    In this case, we advise you to reach out directly to the Avia builder support team, so they can review precisely why they are not allowing a script just like ours to run as it should.

    It just suddenly stopped working right. I just updated the theme to see if that fixed it, but it did not.

    #1398444

    Hey thecszone,
    Thanks for your patience, please include an admin login to your site and a test page for the Mailerlite script so we can check, since we don’t have an element for Mailerlite I assume that you are adding the Mailerlite script to the page with a code block element or perhaps a function in your functions.php?
    Do you see any javascript errors in your browser console? Have you tried disabling your plugins and cache?

    Best regards,
    Mike

    #1398460

    Yes, it is a code block element, with a script in the header, but there is also a Mailerlite plugin. I have tried disabling the plugins and cleared the cache and it still does not work.

    #1398468

    Hi,
    Thanks for the link to your site but your login page gives me a Error 403 – Forbidden error, do you have a custom login page or are you blocking users by IP?
    If so please disable your security plugins so we are sure this is not also affecting your Mailerlite.

    Best regards,
    Mike

    #1398480

    Sorry, i forgot about the htaccess restrictions. I have removed them and tried the form. It still does not work, but you should have access now.

    #1398502

    Hi,
    Thanks for the login, I’m seeing this error on your test page:

    universal.js Cross-Origin Read Blocking (CORB) blocked cross-origin response https://www.mailerlite.com/ with MIME type text/html. See https://www.chromestatus.com/feature/5629709824032768 for more details.

    So the web browser is blocking the javascript from mailerlite: Cross-Origin Read Blocking (CORB)
    I don’t see an expected script in the code block, just a div, is the script added by the plugin?
    Perhaps mailerlite didn’t see this error when you talked to them last, but I would point this out to them as it doesn’t look like the theme is the issue.

    Best regards,
    Mike

    #1398503

    The script should be in the header. I used a plugin called WP code to add it there. I posted the script below. Is there another place to add it to the site?

    #1398529

    Hi,
    Thanks for the feedback, I didn’t see the script there. My first thought was to try downloading the mailerlite universal.js script and upload it to your site to solve the Cross-Origin Read Blocking (CORB), because if the file is called from your domain it should solve the issue, but your media library wouldn’t allow me to upload the universal.js script, so we would need to try with FTP access, if you can provide or if you can upload it with your cPanel file manager try adding a /js/ directory in your child theme and adding the universal.js script in it so the path is: /wp-content/themes/enfold-child/js/universal.js then use this URL in the script instead of static.mailerlite.com/js/universal.js I linked to the universal.js file below.

    So since I couldn’t do this on your site I created a test page on my demo, but when I added the script to WPcode and copied the code block I didn’t get the Cross-Origin Read Blocking (CORB) error and the reCAPTCHA shows and the form works from the page and then gives the correct redirect to your /thank-you-2/ page. Please give it a try and see if you had a new sign up for the name “support” and email ” (Email address hidden if logged out)

    I can’t explain why my Enfold demo doesn’t show the same error, perhaps a plugin like Wordfence Security or something else? Try disabling your plugins and see if your test page then works correctly, if not we can try adding the universal.js to your child theme as a workaround.

    Best regards,
    Mike

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.