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

    After update to Wordperss5.7 & newest Enfold. Layerslider & photos can’t s showed. no slider, no photos

    #1287641

    Any chance you’re using the newest version of “Contact Form 7” version v5.4? That plugin caused my WP Layerslider and Enfold Layerslider to disappear. If you’re using that plugin try disabling it to see if the slider reappears.

    #1287803

    Hi pennylee525,

    Can you disable caching and minification for now?

    Best regards,
    Victoria

    #1288143

    Try to disable Contact Form 7” version v5.4. and the website layerslider can work. but How about my contact form……

    #1288158

    It’s a JavaScript conflict caused by combining and deferring JavaScript. The best option is to rollback to the last version, until it’s fixed by the plugin’s author.

    #1288182

    Hi pennylee525,

    Please follow @corefocusgroup instructions, please rollback to Contact Form 7’s previous version for now.


    @corefocusgroup
    thanks for helping out :)

    Best regards,
    Nikko

    #1288420

    This is what I’ve come up with…

    The conflict caused by CF7 v5.4 is two fold.

    One, if your caching plugin is deferring JavaScript then it breaks CF7. If you have WP-Rocket they have issued a fix for the conflict. The WP-Rocket fix can be replicated in other caching plugins by excluding the deferral of this JavaScript script. Note, you can Minify Javascript but combing or deferring it will break CF7 and your layer sliders.

    /wp-includes/js/dist/(.*).js

    But even with this fix in WP-Rocket or another caching program, CF7 forms will fail after 24 hours due to the author’s use of nonces (security tokens). The only way to workaround the problem is to refresh your page cache every 24-hours or uncache the page.

    Note, if you’re logged in as Admin you won’t notice there is a problem because logged in users automatically bypass caching. Always test the form in Private mode or in another browser.

    I don’t consider this a solution, it just a workaround. Both fixes will degrade performance and hurt SEO, which is why I rolled back to the previous version 5.3.2.

    #1288878

    Hi corefocusgroup,

    Thanks for the detailed information, it should help a lot of Enfold users who are using both layerslider and CF7 5.4. :)

    Best regards,
    Nikko

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