Tagged: conflict, editor, enfold, gravity forms, Layout Builder, Yoast
-
AuthorPosts
-
March 22, 2017 at 4:29 pm #764850
Hi Team Kriesi,
Both the Advanced and Default page editors have stopped working on my website when various plugins are enabled. It works when all plugins are disabled, but there seems to be a conflict with Gravity Forms and also Yoast SEO. When either of those plugins are enabled, the editor stops working:
Advanced editor – just shows the loading wheel/icon
Default editor – content window is blank/white
Clicking the “Advanced Layout Editor” button just adds a # to the url rather than toggling the editor.Both plugins are critical to my site and have worked with the Enfold theme without any problems for a long time. Any ideas what the conflict could be?
All wordpress, theme and plugin files are up-to-date.
Thanks
Duncan- This topic was modified 7 years, 8 months ago by Dunc R.
March 25, 2017 at 6:00 am #766478Hey Dunc,
I think the conflict is between Gravity Forms and Enfold. Have tested latest version of Yoast SEO with Enfold and it works just fine. Can you give us temporary admin access so we can look if there are js errors on your end? just place the details in Private Content when you reply :)
Best regards,
NikkoMarch 25, 2017 at 5:57 pm #766678I have exactly the same problem. Yoast is in conflict with “Advanced Layout Editor”. I don’t have any other plugins.
When trying to edit the Homepage, everything goes grey. If I disable Yoast, the page works and the Advanced Layout Editor appears.March 25, 2017 at 8:00 pm #766705Hi,
Thank you for pointing out the conflict Yoast is having, hopefully Yoast will correct this on their next update.
Best regards,
MikeMarch 27, 2017 at 10:47 am #767309Hi Nikko,
Details attached. From looking at the Javascipt console, it appears to be an issue with JQuery?Thanks for your help
DuncanMarch 28, 2017 at 9:38 pm #768451Hi,
Yes, it appears that it is an issue with jQuery, just curious because checking upon the page source your site loads an external jquery which uses an old version of the js code:
<script type='text/javascript' src='//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js?ver=1.8.3'></script>
And load-scripts.php doesn’t load jquery-core and jquery-migrate, which is loading on my end. Can you try to remove the modification?
Best regards,
NikkoMarch 29, 2017 at 12:06 pm #768763Hi Nikko,
Thanks for taking a look. I’ve managed to fix the issue. The old jQuery version that you mentioned is actually loaded by the Layer Slider as part of Enfold theme files:
enfold / config-layerslider / LayerSlider / wp / scripts.php (Lines 24 and 121)
// Use Gogole CDN version of jQuery if(get_option('ls_use_custom_jquery', false)) { wp_deregister_script('jquery'); wp_enqueue_script('jquery', '//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js', array(), '1.8.3'); }
I’ve turned off the “Use Google CDN version of jQuery” setting in Layer Slider which has solved the conflict with the other plugins.
Perhaps Enfold should be updated to use a newer CDN version of jQuery in the Layer Slider config files?
Thanks for your help
Duncan- This reply was modified 7 years, 7 months ago by Dunc R.
-
AuthorPosts
- You must be logged in to reply to this topic.