-
AuthorPosts
-
March 12, 2021 at 4:05 am #1287567
After update to Wordperss5.7 & newest Enfold. Layerslider & photos can’t s showed. no slider, no photos
March 12, 2021 at 11:34 am #1287641Any 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.
March 12, 2021 at 6:24 pm #1287803Hi pennylee525,
Can you disable caching and minification for now?
Best regards,
VictoriaMarch 15, 2021 at 3:05 am #1288143Try to disable Contact Form 7” version v5.4. and the website layerslider can work. but How about my contact form……
March 15, 2021 at 5:52 am #1288158It’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.
March 15, 2021 at 6:51 am #1288182Hi pennylee525,
Please follow @corefocusgroup instructions, please rollback to Contact Form 7’s previous version for now.
@corefocusgroup thanks for helping out :)Best regards,
NikkoMarch 16, 2021 at 5:26 am #1288420This 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.
March 18, 2021 at 5:21 am #1288878Hi 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 -
AuthorPosts
- You must be logged in to reply to this topic.