• Resolved alex586

    (@alex586)


    Hello,

    First of all, thank you for this amazing plugin, I’ve been using it for years and it works great. First of all, I’m not sure whether your plugin is at fault. If it isn’t, I apologise in advance.

    I still haven’t been able to 100% identify the problem. But for some time now, I’ve been getting errors in the console :

    I’ve activated / deactivated each plugin to see where the error could be coming from. I think there’s a problem with Automptimize and/between Contact Form 7.

    • If I deactivate Autoptimize, but leave Contact Form 7 activated, the errors disappear.
    • If I leave Autoptimize activated but deactivate Contact Form 7, the errors disappear.

    Here’s what the errors refer to (Line 728)

    <script type="text/javascript" id="wp-i18n-js-after">
    /* <![CDATA[ */
    wp.i18n.setLocaleData( { 'text direction\u0004ltr': [ 'ltr' ] } );
    /* ]]> */
    </script>

    Line 742 and 743 :

    <script type="text/javascript" id="contact-form-7-js-translations">
    /* <![CDATA[ */
    ( function( domain, translations ) {
    var localeData = translations.locale_data[ domain ] || translations.locale_data.messages;
    localeData[""].domain = domain;
    wp.i18n.setLocaleData( localeData, domain );
    } )( "contact-form-7", {"translation-revision-date":"2024-10-17 17:27:10+0000","generator":"GlotPress\/4.0.1","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n > 1;","lang":"fr"},"This contact form is placed in the wrong place.":["Ce formulaire de contact est plac\u00e9 dans un mauvais endroit."],"Error:":["Erreur\u00a0:"]}},"comment":{"reference":"includes\/js\/index.js"}} );
    /* ]]> */
    </script>

    Thank you for your help!

    (I deliberately didn’t include a link to my blog. If you’d like a link, I think it’s possible to send you a private message.)

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