- This topic has 8 replies, 3 voices, and was last updated 5 years, 5 months ago by
Tom.
-
AuthorPosts
-
December 2, 2016 at 9:16 pm #250861
Karim
Hi,
I am having issues using WP-Rocket with GP. When I enable lazy load option it shows the following message on the header of page (it is visible on the page itself).
(function(w,d){function a(){var b=d.createElement(“script”);b.async=!0;b.src=”http://mysite.com/wp-content/plugins/wp-rocket/inc/front/js/lazyload.1.0.5.min.js”;var a=d.getElementsByTagName(“script”)[0];a.parentNode.insertBefore(b,a)}w.attachEvent?w.attachEvent(“onload”,a):w.addEventListener(“load”,a,!1)})(window,document);
Do you have any idea of why this is happening?
Thanks
December 3, 2016 at 12:44 am #250885Tom
Lead DeveloperLead DeveloperIf that code is displaying as text, it means there’s no
<script>
tags around it.What happens if you deactivate GeneratePress? Does the issue go away?
If so, I’ll do some testing to see if it’s GeneratePress related.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentDecember 3, 2016 at 9:26 pm #251174Karim
Hi Tom,
I did some tests, its working fine with twenty sixteen theme but when I enable GP with Elementor (https://wordpress.org/plugins/elementor/) the code shows up on the page.
Could you please check the compatibility with Elementor + GP + WP-Rocket?
Look forward to hearing from you.
Thanks
December 4, 2016 at 12:00 am #251186Tom
Lead DeveloperLead DeveloperWhat if you use Twenty Sixteen and Elementor?
It seems it’s a paid plugin so it’s difficult for me to test – hopefully you don’t mind if I ask you to do a couple things just to make sure it’s an issue with GP 🙂
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentDecember 4, 2016 at 2:32 am #251224Karim
No error shown when WP-Rocket, Elementor and Twenty Sixteen are activated.
Thanks
December 4, 2016 at 10:39 am #251324Tom
Lead DeveloperLead DeveloperAny chance you can send me temporary admin login details?: https://generatepress.com/contact/
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentDecember 16, 2016 at 6:44 am #255378Thierry
Hi,
I have the same problem, there are a solution ? i wait a support from WP Rocket.
December 16, 2016 at 6:58 am #255386Thierry
on setting of WP Rocket, i’ve turned off LazyLoad and it’s ok.
December 16, 2016 at 10:22 am #255456Tom
Lead DeveloperLead DeveloperI wasn’t able to test it unfortunately.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-development -
AuthorPosts
- You must be logged in to reply to this topic.