Bug editor
-
Hello,
I have just upgraded to WordPress 5.6 and upgraded the plugin to match.
The editing windows is blank and I can’t use the menu of editor just above the text bloc.
When I display text I see text and in Visual display I see nothing or text without style.
It doesn’t work on all of my product pages, categories, etc.I read your support https://www.ads-software.com/support/topic/common-classic-editor-errors-and-how-to-fix-them/ but nothing works.
I emptied my cache and installed the plug in https://www.ads-software.com/plugins/enable-jquery-migrate-helper
I had no problems identifying on the plug in and no warnings about the outdated scripts
Thanks in advance for your help !
-
Are there any js errors in the browser tools? (See https://www.ads-software.com/support/article/using-your-browser-to-diagnose-javascript-errors/#step-3-diagnosis).
If yes, can you paste the first few lines here.
Hi Andrew,
Thanks for your reply. This is all the errors :
Query.Deferred exception: this._addClass is not a function TypeError: this._addClass is not a function at $.<computed>.<computed>._create (https://lerepaireduchef.fr/chemin-inclu-path/js/jquery/ui/sortable.min.js?ver=1.12.1:9:886) at $.<computed>.<computed>._create (https://lerepaireduchef.fr/plug-extensions/show-products-by-attributes-variations/assets/js/jquery-ui.js?ver=1.0:415:41) at $.<computed>.<computed>._createWidget (https://lerepaireduchef.fr/plug-extensions/show-products-by-attributes-variations/assets/js/jquery-ui.js?ver=1.0:585:18) at new $.<computed>.<computed> (https://lerepaireduchef.fr/plug-extensions/show-products-by-attributes-variations/assets/js/jquery-ui.js?ver=1.0:376:22) at HTMLTableElement.<anonymous> (https://lerepaireduchef.fr/plug-extensions/show-products-by-attributes-variations/assets/js/jquery-ui.js?ver=1.0:531:49) at Function.each (https://lerepaireduchef.fr/flobig/load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,jquery-ui-core&ver=5.6:2:2976) at s.fn.init.each (https://lerepaireduchef.fr/flobig/load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,jquery-ui-core&ver=5.6:2:1454) at s.fn.init.$.fn.<computed> [as sortable] (https://lerepaireduchef.fr/plug-extensions/show-products-by-attributes-variations/assets/js/jquery-ui.js?ver=1.0:523:22) at HTMLDocument.<anonymous> (https://lerepaireduchef.fr/ecomm-erce/assets/js/admin/term-ordering.min.js?ver=4.8.0:1:739) at e (https://lerepaireduchef.fr/flobig/load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,jquery-ui-core&ver=5.6:2:30005) undefined S.Deferred.exceptionHook @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,jquery-ui-core&ver=5.6:2 load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,jquery-ui-core&ver=5.6:2 Uncaught TypeError: this._addClass is not a function at $.<computed>.<computed>._create (sortable.min.js?ver=1.12.1:9) at $.<computed>.<computed>._create (jquery-ui.js?ver=1.0:415) at $.<computed>.<computed>._createWidget (jquery-ui.js?ver=1.0:585) at new $.<computed>.<computed> (jquery-ui.js?ver=1.0:376) at HTMLTableElement.<anonymous> (jquery-ui.js?ver=1.0:531) at Function.each (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,jquery-ui-core&ver=5.6:2) at s.fn.init.each (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,jquery-ui-core&ver=5.6:2) at s.fn.init.$.fn.<computed> [as sortable] (jquery-ui.js?ver=1.0:523) at HTMLDocument.<anonymous> (term-ordering.min.js?ver=4.8.0:1) at e (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,jquery-ui-core&ver=5.6:2) 2autocomplete.min.js?ver=1.12.1:9 Uncaught TypeError: this._addClass is not a function at $.<computed>.<computed>._create (autocomplete.min.js?ver=1.12.1:9) at $.<computed>.<computed>._create (jquery-ui.js?ver=1.0:415) at $.<computed>.<computed>._createWidget (jquery-ui.js?ver=1.0:585) at new $.<computed>.<computed> (jquery-ui.js?ver=1.0:376) at HTMLInputElement.<anonymous> (jquery-ui.js?ver=1.0:531) at Function.each (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,jquery-ui-core&ver=5.6:2) at s.fn.init.each (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,jquery-ui-core&ver=5.6:2) at s.fn.init.$.fn.<computed> [as autocomplete] (jquery-ui.js?ver=1.0:523) at i.onPostRender (wp-tinymce.js?ver=49110-20201110:45) at i.a (wp-tinymce.js?ver=49110-20201110:11) Navigated to https://lerepaireduchef.fr/flobig/term.php?taxonomy=product_cat&tag_ID=619&post_type=product&wp_http_referer=%2Fflobig%2Fedit-tags.php%3Ftaxonomy%3Dproduct_cat%26post_type%3Dproduct term.php?taxonomy=product_cat&tag_ID=619&post_type=product&wp_http_referer=%2Fflobig%2Fedit-tags.php%3Ftaxonomy%3Dproduct_cat%26post_type%3Dproduct:1 [DOM] Found 2 elements with non-unique id #rank_math_advanced_robots_max-image-preview_name: (More info: https://goo.gl/9p2vKq) input#rank_math_advanced_robots_max-image-preview_name.cmb2-option.cmb2-list select#rank_math_advanced_robots_max-image-preview_name.cmb2_select
Thanks for your help
Hi Andrew,
Thanks for your reply. This is all the errors :
Query.Deferred exception: this._addClass is not a function TypeError: this._addClass is not a function
at $.<computed>.<computed>._create (https://lerepaireduchef.fr/chemin-inclu-path/js/jquery/ui/sortable.min.js?ver=1.12.1:9:886)
at $.<computed>.<computed>._create (https://lerepaireduchef.fr/plug-extensions/show-products-by-attributes-variations/assets/js/jquery-ui.js?ver=1.0:415:41)
at $.<computed>.<computed>._createWidget (https://lerepaireduchef.fr/plug-extensions/show-products-by-attributes-variations/assets/js/jquery-ui.js?ver=1.0:585:18)
at new $.<computed>.<computed> (https://lerepaireduchef.fr/plug-extensions/show-products-by-attributes-variations/assets/js/jquery-ui.js?ver=1.0:376:22)
at HTMLTableElement.<anonymous> (https://lerepaireduchef.fr/plug-extensions/show-products-by-attributes-variations/assets/js/jquery-ui.js?ver=1.0:531:49)
at Function.each (https://lerepaireduchef.fr/flobig/load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,jquery-ui-core&ver=5.6:2:2976)
at s.fn.init.each (https://lerepaireduchef.fr/flobig/load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,jquery-ui-core&ver=5.6:2:1454)
at s.fn.init.$.fn.<computed> [as sortable] (https://lerepaireduchef.fr/plug-extensions/show-products-by-attributes-variations/assets/js/jquery-ui.js?ver=1.0:523:22)
at HTMLDocument.<anonymous> (https://lerepaireduchef.fr/ecomm-erce/assets/js/admin/term-ordering.min.js?ver=4.8.0:1:739)
at e (https://lerepaireduchef.fr/flobig/load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,jquery-ui-core&ver=5.6:2:30005) undefined
S.Deferred.exceptionHook @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,jquery-ui-core&ver=5.6:2
load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,jquery-ui-core&ver=5.6:2 Uncaught TypeError: this._addClass is not a function
at $.<computed>.<computed>._create (sortable.min.js?ver=1.12.1:9)
at $.<computed>.<computed>._create (jquery-ui.js?ver=1.0:415)
at $.<computed>.<computed>._createWidget (jquery-ui.js?ver=1.0:585)
at new $.<computed>.<computed> (jquery-ui.js?ver=1.0:376)
at HTMLTableElement.<anonymous> (jquery-ui.js?ver=1.0:531)
at Function.each (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,jquery-ui-core&ver=5.6:2)
at s.fn.init.each (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,jquery-ui-core&ver=5.6:2)
at s.fn.init.$.fn.<computed> [as sortable] (jquery-ui.js?ver=1.0:523)
at HTMLDocument.<anonymous> (term-ordering.min.js?ver=4.8.0:1)
at e (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,jquery-ui-core&ver=5.6:2)
2autocomplete.min.js?ver=1.12.1:9 Uncaught TypeError: this._addClass is not a function
at $.<computed>.<computed>._create (autocomplete.min.js?ver=1.12.1:9)
at $.<computed>.<computed>._create (jquery-ui.js?ver=1.0:415)
at $.<computed>.<computed>._createWidget (jquery-ui.js?ver=1.0:585)
at new $.<computed>.<computed> (jquery-ui.js?ver=1.0:376)
at HTMLInputElement.<anonymous> (jquery-ui.js?ver=1.0:531)
at Function.each (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,jquery-ui-core&ver=5.6:2)
at s.fn.init.each (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,jquery-ui-core&ver=5.6:2)
at s.fn.init.$.fn.<computed> [as autocomplete] (jquery-ui.js?ver=1.0:523)
at i.onPostRender (wp-tinymce.js?ver=49110-20201110:45)
at i.a (wp-tinymce.js?ver=49110-20201110:11)
Navigated to https://lerepaireduchef.fr/flobig/term.php?taxonomy=product_cat&tag_ID=619&post_type=product&wp_http_referer=%2Fflobig%2Fedit-tags.php%3Ftaxonomy%3Dproduct_cat%26post_type%3Dproduct
term.php?taxonomy=product_cat&tag_ID=619&post_type=product&wp_http_referer=%2Fflobig%2Fedit-tags.php%3Ftaxonomy%3Dproduct_cat%26post_type%3Dproduct:1 [DOM] Found 2 elements with non-unique id #rank_math_advanced_robots_max-image-preview_name: (More info: https://goo.gl/9p2vKq) input#rank_math_advanced_robots_max-image-preview_name.cmb2-option.cmb2-list select#rank_math_advanced_robots_max-image-preview_name.cmb2_selectThanks for your help
Hello,
Just to add an information, in all my pages in admin, all texts are without customization.
And as you can see in the picture, the font and others things are by default.Thanks in advance
Hello,
Any Update ?
I can’t make any changes to my site.
Thanks in advance for your help !
Hi @tibofnt,
Unfortunately cannot pinpoint where exactly the error comes from. Looks like you’re using a commercial plugin(s) for Woo, perhaps this one: https://woocommerce.com/products/products-by-attributes-variations-for-woocommerce/.
The problem is that the above plugin loads an old version of jQuery UI, v1.11.4 as seen here: https://lerepaireduchef.fr/plug-extensions/show-products-by-attributes-variations/assets/js/jquery-ui.js?ver=1.0 (which looks like all of the UI code in one file).
However there is another part of jQuery UI loaded from WordPress,
jQuery UI Sortable 1.12.1
here: https://lerepaireduchef.fr/chemin-inclu-path/js/jquery/ui/sortable.min.js?ver=1.12.1.This shouldn’t happen (loading different versions and different parts of the same script), and is what causes the errors.
Perhaps try updating all of your plugins to the latest versions and “clear cache” for any/all WP caching plugins you are using. (I’m not sure where the
[site.url]/plug-extensions/...
path comes from, looks like caching. Or perhaps it may be a custom plugins directory.)- This reply was modified 3 years, 11 months ago by Andrew Ozz.
Hi Andrew,
All my plug in are update and I have the same bug.
I will contact product by attributes.
Thanks for your help.
- The topic ‘Bug editor’ is closed to new replies.