Disable Contact Form 7. It’s producing errors that are killing JS on our page.
contact form 7 is not even installed in the site I have you. Any other plug-in you know there are issues with?
The HTML source of the page you provided clearly shows errors related to Contact Form 7. If the plugin is not active on the site then cache is the issue.
<b>Warning</b>: filemtime(): stat failed for /home/redacted/public_html/test/wp-content/plugins/maintenance/../contact-form-7/includes/js/scripts.js in <b>/home/redacted/public_html/test/wp-content/plugins/maintenance/load/functions.php</b> on line <b>143</b>
my bad… verified in production, not in test.. however… now i have not just deactivated but removed contact form 7 plug in and behavior is exactly the same
it seems to “transfer” the spin effect from page loader to background and even logo.
any other suggestion?
It’s the classes on the body element. Specifically the preloader
one. Some plugin is adding that and triggering a part of our JS. We’ll fix it in the next release, but at the moment the only solution is to disable that plugin (really don’t know which one it is) or use our other maintenance plugin – https://wordpress.org/plugins/under-construction-page/
Actually I just figure it out, it seems to be an issue with theme http://lifecoach.ancorathemes.com/, just fyi… if i change the theme, everything seems to work smoothly with the maintenance plugin, but for obvious reasons it is not possible to change the theme just to set offline the site… looking forward to try next version with this issue solved.
Hi,
You should consider changing line 38 of wp-content/plugins/maintenance/load/js/jquery.frontend.js @webfactory
jQuery(window).load(function() {
should become
jQuery(window).on('load', function(){
jQuery event-aliases like .load(), .unload() or .error() are deprecated since jQuery 1.8.
Cheers!
-
This reply was modified 3 years ago by Pirenko.
You’re right, thank you! We’ll get that fixed in the next release 👍
well… changing that line didn’t solve my issue… it might be something else… Thank you!!!