Yoast seo breaks wordpress editor
-
When I try to edit my pages, the editor for wp bakery page builder does not appear. It is also not possible to click on visual in the wordpress editor.
I have done the following:
Checked that I have the latest wordpress version.
Updated all themes.
Updated all plugins.
Tested to change theme.
Disabled all plugins one by one.
Reinstalled on yoast seo.The only plugin that makes it go wrong is yoast seo.
I can not click on the menu tabs in the plugin yoast seo.
I also get indexing errors (sometimes) when I check the health check.What can I do?
-
@robinhd We’re sorry to hear you are experiencing this issue. When the problem occurs are you receiving any JavaScript errors? We have a guide on checking for JavaScript errors here: https://yoast.com/help/how-to-find-javascript-errors-with-your-browsers-console/
Hi,
We seem ta have a similar issue but there only on woocommerce products.When we open a product for edit (in wp-admin) browser freezes for ages (like 20min) before we can do anything, a bit like if we had a js looping.
DB is about 20k products.
Disabling yoast plugin seems to solve issue.Any advice on what we should look into ?
Thanks
-
This reply was modified 4 years, 3 months ago by
cantoute.
after digging seems browser stays jammed on this call
https://pasteboard.co/JAm7jpIg.png
here is a copy as curl of that call (if I run it in a terminal works fine)
curl ‘https://www.xxxx.com/wp-json/wc-admin/options?options=woocommerce_task_list_complete%2Cwoocommerce_task_list_hidden&_locale=user’ \
> -H ‘authority: https://www.promo-parfum-cosmetique.com’ \
> -H ‘accept: application/json, */*;q=0.1’ \
> -H ‘dnt: 1’ \
> -H ‘x-wp-nonce: e730e0b9be’ \
> -H ‘user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36’ \
> -H ‘sec-fetch-site: same-origin’ \
> -H ‘sec-fetch-mode: cors’ \
> -H ‘sec-fetch-dest: empty’ \
> -H ‘referer: https://www.promo-parfum-cosmetique.com/wp-admin/post-new.php?post_type=product’ \
> -H ‘accept-language: fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7,es;q=0.6,pt;q=0.5’ \
> -H ‘cookie: wordpress_test_cookie=WP%20Cookie%20check; wordpress_logged_in_bf512ebbcdd1d63e28db5f5c59cdb328=xxxx wfwaf-authcookie-13779ace0eb4fd2c72da727a44012636=5%7Cadministrator%xxxx; tk_ai=woo%3AXi6%2FaspEg%2BTYRWZlFQgy78xA; cookie_notice_accepted=true; _ga=GA1.2.1583019560.1605370158; _gid=GA1.2.141332239.1605370158; wp-settings-time-5=1605376912; mailchimp_landing_site=https%3A%2F%2Fwww.promo-parfum-cosmetique.com%2Fwp-json%2Fwc-analytics%2Fproducts%2Freviews%3Fpage%3D1%26per_page%3D1%26status%3Dhold%26_locale%3Duser’ \
> –compressedHi @cantoute,
Sorry to hear you’re having a similar issue. If you’d like us to troubleshoot the issue you’re having on your site, we’d like you to create a new forum topic with the details you’ve shared with us here.
It seems like there are a lot of errors !
Uncaught SyntaxError: missing ) after argument list VM246 post.php:162 Uncaught ReferenceError: wp is not defined at VM246 post.php:162 at VM246 post.php:163 (anonymous) @ VM246 post.php:162 (anonymous) @ VM246 post.php:163 VM250 post.php:190 Uncaught ReferenceError: _ is not defined at VM250 post.php:190 (anonymous) @ VM250 post.php:190 VM252 post.php:203 Uncaught ReferenceError: wp is not defined at VM252 post.php:203 at VM252 post.php:204 (anonymous) @ VM252 post.php:203 (anonymous) @ VM252 post.php:204 VM253 post.php:208 Uncaught ReferenceError: wp is not defined at VM253 post.php:208 (anonymous) @ VM253 post.php:208 VM254 post.php:228 Uncaught ReferenceError: wp is not defined at VM254 post.php:228 at VM254 post.php:231 (anonymous) @ VM254 post.php:228 (anonymous) @ VM254 post.php:231 VM255 post.php:239 Uncaught ReferenceError: moment is not defined at VM255 post.php:239 (anonymous) @ VM255 post.php:239 VM256 post.php:246 Uncaught ReferenceError: wp is not defined at VM256 post.php:246 at VM256 post.php:247 (anonymous) @ VM256 post.php:246 (anonymous) @ VM256 post.php:247 VM257 post.php:257 Uncaught ReferenceError: wp is not defined at VM257 post.php:257 at VM257 post.php:258 (anonymous) @ VM257 post.php:257 (anonymous) @ VM257 post.php:258 post.php?post=7003&action=edit&classic-editor:6806 Uncaught ReferenceError: wp is not defined at post.php?post=7003&action=edit&classic-editor:6806 at post.php?post=7003&action=edit&classic-editor:6807 (anonymous) @ post.php?post=7003&action=edit&classic-editor:6806 (anonymous) @ post.php?post=7003&action=edit&classic-editor:6807 post.php?post=7003&action=edit&classic-editor:6838 Uncaught ReferenceError: wp is not defined at post.php?post=7003&action=edit&classic-editor:6838 at post.php?post=7003&action=edit&classic-editor:6839 (anonymous) @ post.php?post=7003&action=edit&classic-editor:6838 (anonymous) @ post.php?post=7003&action=edit&classic-editor:6839 post.php?post=7003&action=edit&classic-editor:6851 Uncaught ReferenceError: wp is not defined at post.php?post=7003&action=edit&classic-editor:6851 at post.php?post=7003&action=edit&classic-editor:6852 (anonymous) @ post.php?post=7003&action=edit&classic-editor:6851 (anonymous) @ post.php?post=7003&action=edit&classic-editor:6852 post.php?post=7003&action=edit&classic-editor:6865 Uncaught ReferenceError: wp is not defined at post.php?post=7003&action=edit&classic-editor:6865 at post.php?post=7003&action=edit&classic-editor:6866 (anonymous) @ post.php?post=7003&action=edit&classic-editor:6865 (anonymous) @ post.php?post=7003&action=edit&classic-editor:6866 post.php?post=7003&action=edit&classic-editor:6873 Uncaught ReferenceError: wp is not defined at post.php?post=7003&action=edit&classic-editor:6873 at post.php?post=7003&action=edit&classic-editor:6874 (anonymous) @ post.php?post=7003&action=edit&classic-editor:6873 (anonymous) @ post.php?post=7003&action=edit&classic-editor:6874 post.php?post=7003&action=edit&classic-editor:6886 Uncaught ReferenceError: wp is not defined at post.php?post=7003&action=edit&classic-editor:6886 at post.php?post=7003&action=edit&classic-editor:6887 (anonymous) @ post.php?post=7003&action=edit&classic-editor:6886 (anonymous) @ post.php?post=7003&action=edit&classic-editor:6887 post.php?post=7003&action=edit&classic-editor:6922 Uncaught ReferenceError: wp is not defined at post.php?post=7003&action=edit&classic-editor:6922 at post.php?post=7003&action=edit&classic-editor:6923 (anonymous) @ post.php?post=7003&action=edit&classic-editor:6922 (anonymous) @ post.php?post=7003&action=edit&classic-editor:6923 post.php?post=7003&action=edit&classic-editor:6930 Uncaught ReferenceError: wp is not defined at post.php?post=7003&action=edit&classic-editor:6930 at post.php?post=7003&action=edit&classic-editor:6931 (anonymous) @ post.php?post=7003&action=edit&classic-editor:6930 (anonymous) @ post.php?post=7003&action=edit&classic-editor:6931 post.php?post=7003&action=edit&classic-editor:6944 Uncaught ReferenceError: wp is not defined at post.php?post=7003&action=edit&classic-editor:6944 at post.php?post=7003&action=edit&classic-editor:6945 (anonymous) @ post.php?post=7003&action=edit&classic-editor:6944 (anonymous) @ post.php?post=7003&action=edit&classic-editor:6945 post.php?post=7003&action=edit&classic-editor:6954 Uncaught ReferenceError: wp is not defined at post.php?post=7003&action=edit&classic-editor:6954 at post.php?post=7003&action=edit&classic-editor:6955 (anonymous) @ post.php?post=7003&action=edit&classic-editor:6954 (anonymous) @ post.php?post=7003&action=edit&classic-editor:6955 post.php?post=7003&action=edit&classic-editor:6973 Uncaught ReferenceError: wp is not defined at post.php?post=7003&action=edit&classic-editor:6973 at post.php?post=7003&action=edit&classic-editor:6974 (anonymous) @ post.php?post=7003&action=edit&classic-editor:6973 (anonymous) @ post.php?post=7003&action=edit&classic-editor:6974 post.php?post=7003&action=edit&classic-editor:6985 Uncaught ReferenceError: wp is not defined at post.php?post=7003&action=edit&classic-editor:6985 at post.php?post=7003&action=edit&classic-editor:6986 (anonymous) @ post.php?post=7003&action=edit&classic-editor:6985 (anonymous) @ post.php?post=7003&action=edit&classic-editor:6986 post.php?post=7003&action=edit&classic-editor:7011 Uncaught TypeError: Cannot read property 'editor' of undefined at post.php?post=7003&action=edit&classic-editor:7011 (anonymous) @ post.php?post=7003&action=edit&classic-editor:7011 post.php?post=7003&action=edit&classic-editor:7038 Uncaught ReferenceError: tinymce is not defined at post.php?post=7003&action=edit&classic-editor:7038 (anonymous) @ post.php?post=7003&action=edit&classic-editor:7038 wp-langs-en.js?ver=49100-20200624:235 Uncaught ReferenceError: tinyMCE is not defined at wp-langs-en.js?ver=49100-20200624:235 at wp-langs-en.js?ver=49100-20200624:516 (anonymous) @ wp-langs-en.js?ver=49100-20200624:235 (anonymous) @ wp-langs-en.js?ver=49100-20200624:516 post.php?post=7003&action=edit&classic-editor:7027 Uncaught ReferenceError: tinymce is not defined at Object.load_ext (post.php?post=7003&action=edit&classic-editor:7027) at post.php?post=7003&action=edit&classic-editor:7043 load_ext @ post.php?post=7003&action=edit&classic-editor:7027 (anonymous) @ post.php?post=7003&action=edit&classic-editor:7043 compose.min.js:9 Uncaught TypeError: Cannot read property 'flowRight' of undefined at Module.445 (compose.min.js:9) at n (compose.min.js:2) at wp.compose.0 (compose.min.js:2) at compose.min.js:2 445 @ compose.min.js:9 n @ compose.min.js:2 wp.compose.0 @ compose.min.js:2 (anonymous) @ compose.min.js:2 data.min.js:2 Uncaught TypeError: Cannot read property 'flowRight' of undefined at Module.442 (data.min.js:2) at r (data.min.js:2) at wp.data.0 (data.min.js:2) at data.min.js:2 442 @ data.min.js:2 r @ data.min.js:2 wp.data.0 @ data.min.js:2 (anonymous) @ data.min.js:2 keycodes.min.js:2 Uncaught TypeError: Cannot read property 'mapValues' of undefined at Module.466 (keycodes.min.js:2) at r (keycodes.min.js:2) at wp.keycodes.1 (keycodes.min.js:2) at keycodes.min.js:2 466 @ keycodes.min.js:2 r @ keycodes.min.js:2 wp.keycodes.1 @ keycodes.min.js:2 (anonymous) @ keycodes.min.js:2 rich-text.min.js:7 Uncaught TypeError: Cannot read property 'combineReducers' of undefined at Module.440 (rich-text.min.js:7) at r (rich-text.min.js:2) at wp.richText.0 (rich-text.min.js:2) at rich-text.min.js:2 440 @ rich-text.min.js:7 r @ rich-text.min.js:2 wp.richText.0 @ rich-text.min.js:2 (anonymous) @ rich-text.min.js:2 components.min.js:7 Uncaught TypeError: Cannot read property 'createHigherOrderComponent' of undefined at Object.<anonymous> (components.min.js:7) at n (components.min.js:2) at Object.<anonymous> (components.min.js:7) at n (components.min.js:2) at Object.<anonymous> (components.min.js:7) at n (components.min.js:2) at Module.<anonymous> (components.min.js:7) at n (components.min.js:2) at components.min.js:2 at components.min.js:2 (anonymous) @ components.min.js:7 n @ components.min.js:2 (anonymous) @ components.min.js:7 n @ components.min.js:2 (anonymous) @ components.min.js:7 n @ components.min.js:2 (anonymous) @ components.min.js:7 n @ components.min.js:2 (anonymous) @ components.min.js:2 (anonymous) @ components.min.js:2 helpers-1521.js:1 Uncaught TypeError: Cannot read property 'memoize' of undefined at Object.<anonymous> (helpers-1521.js:1) at n (helpers-1521.js:1) at Object.<anonymous> (helpers-1521.js:1) at n (helpers-1521.js:1) at Object.<anonymous> (helpers-1521.js:1) at n (helpers-1521.js:1) at Object.<anonymous> (helpers-1521.js:1) at n (helpers-1521.js:1) at Object.<anonymous> (helpers-1521.js:1) at n (helpers-1521.js:1) (anonymous) @ helpers-1521.js:1 n @ helpers-1521.js:1 (anonymous) @ helpers-1521.js:1 n @ helpers-1521.js:1 (anonymous) @ helpers-1521.js:1 n @ helpers-1521.js:1 (anonymous) @ helpers-1521.js:1 n @ helpers-1521.js:1 (anonymous) @ helpers-1521.js:1 n @ helpers-1521.js:1 (anonymous) @ helpers-1521.js:1 (anonymous) @ helpers-1521.js:1 components-1521.js:12 Uncaught TypeError: Cannot read property 'getDirectionalStyle' of undefined at d (components-1521.js:12) at components-1521.js:24 at Object.<anonymous> (components-1521.js:12) at n (components-1521.js:1) at Object.<anonymous> (components-1521.js:12) at n (components-1521.js:1) at Object.<anonymous> (components-1521.js:24) at n (components-1521.js:1) at components-1521.js:1 at components-1521.js:1 d @ components-1521.js:12 (anonymous) @ components-1521.js:24 (anonymous) @ components-1521.js:12 n @ components-1521.js:1 (anonymous) @ components-1521.js:12 n @ components-1521.js:1 (anonymous) @ components-1521.js:24 n @ components-1521.js:1 (anonymous) @ components-1521.js:1 (anonymous) @ components-1521.js:1 analysis-report-1521.js:1 Uncaught TypeError: Cannot read property 'SvgIcon' of undefined at Object.<anonymous> (analysis-report-1521.js:1) at s (analysis-report-1521.js:1) at Object.<anonymous> (analysis-report-1521.js:1) at s (analysis-report-1521.js:1) at Object.<anonymous> (analysis-report-1521.js:1) at s (analysis-report-1521.js:1) at Object.<anonymous> (analysis-report-1521.js:1) at s (analysis-report-1521.js:1) at analysis-report-1521.js:1 at analysis-report-1521.js:1 (anonymous) @ analysis-report-1521.js:1 s @ analysis-report-1521.js:1 (anonymous) @ analysis-report-1521.js:1 s @ analysis-report-1521.js:1 (anonymous) @ analysis-report-1521.js:1 s @ analysis-report-1521.js:1 (anonymous) @ analysis-report-1521.js:1 s @ analysis-report-1521.js:1 (anonymous) @ analysis-report-1521.js:1 (anonymous) @ analysis-report-1521.js:1 configuration-wizard-1521.js:1 Uncaught TypeError: Cannot read property 'makeOutboundLink' of undefined at Object.<anonymous> (configuration-wizard-1521.js:1) at r (configuration-wizard-1521.js:1) at Object.<anonymous> (configuration-wizard-1521.js:1) at r (configuration-wizard-1521.js:1) at Object.<anonymous> (configuration-wizard-1521.js:1) at r (configuration-wizard-1521.js:1) at configuration-wizard-1521.js:1 at configuration-wizard-1521.js:1 (anonymous) @ configuration-wizard-1521.js:1 r @ configuration-wizard-1521.js:1 (anonymous) @ configuration-wizard-1521.js:1 r @ configuration-wizard-1521.js:1 (anonymous) @ configuration-wizard-1521.js:1 r @ configuration-wizard-1521.js:1 (anonymous) @ configuration-wizard-1521.js:1 (anonymous) @ configuration-wizard-1521.js:1 replacement-variable-editor-1521.js:1 Uncaught TypeError: Cannot read property 'VariableEditorInputContainer' of undefined at Object.<anonymous> (replacement-variable-editor-1521.js:1) at n (replacement-variable-editor-1521.js:1) at Object.<anonymous> (replacement-variable-editor-1521.js:1) at n (replacement-variable-editor-1521.js:1) at Object.<anonymous> (replacement-variable-editor-1521.js:1) at n (replacement-variable-editor-1521.js:1) at Object.<anonymous> (replacement-variable-editor-1521.js:1) at n (replacement-variable-editor-1521.js:1) at replacement-variable-editor-1521.js:1 at replacement-variable-editor-1521.js:1 (anonymous) @ replacement-variable-editor-1521.js:1 n @ replacement-variable-editor-1521.js:1 (anonymous) @ replacement-variable-editor-1521.js:1 n @ replacement-variable-editor-1521.js:1 (anonymous) @ replacement-variable-editor-1521.js:1 n @ replacement-variable-editor-1521.js:1 (anonymous) @ replacement-variable-editor-1521.js:1 n @ replacement-variable-editor-1521.js:1 (anonymous) @ replacement-variable-editor-1521.js:1 (anonymous) @ replacement-variable-editor-1521.js:1 search-metadata-previews-1521.js:1 Uncaught TypeError: Cannot read property 'getDirectionalStyle' of undefined at Object.<anonymous> (search-metadata-previews-1521.js:1) at n (search-metadata-previews-1521.js:1) at Object.<anonymous> (search-metadata-previews-1521.js:1) at n (search-metadata-previews-1521.js:1) at Object.<anonymous> (search-metadata-previews-1521.js:1) at n (search-metadata-previews-1521.js:1) at search-metadata-previews-1521.js:1 at search-metadata-previews-1521.js:1 (anonymous) @ search-metadata-previews-1521.js:1 n @ search-metadata-previews-1521.js:1 (anonymous) @ search-metadata-previews-1521.js:1 n @ search-metadata-previews-1521.js:1 (anonymous) @ search-metadata-previews-1521.js:1 n @ search-metadata-previews-1521.js:1 (anonymous) @ search-metadata-previews-1521.js:1 (anonymous) @ search-metadata-previews-1521.js:1 yoast-components-1521.js:1 Uncaught TypeError: Cannot read property 'AnalysisList' of undefined at Object.get [as default] (yoast-components-1521.js:1) at Object.<anonymous> (yoast-components-1521.js:1) at n (yoast-components-1521.js:1) at Object.<anonymous> (yoast-components-1521.js:1) at n (yoast-components-1521.js:1) at Object.<anonymous> (yoast-components-1521.js:1) at n (yoast-components-1521.js:1) at yoast-components-1521.js:1 at yoast-components-1521.js:1 get @ yoast-components-1521.js:1 (anonymous) @ yoast-components-1521.js:1 n @ yoast-components-1521.js:1 (anonymous) @ yoast-components-1521.js:1 n @ yoast-components-1521.js:1 (anonymous) @ yoast-components-1521.js:1 n @ yoast-components-1521.js:1 (anonymous) @ yoast-components-1521.js:1 (anonymous) @ yoast-components-1521.js:1 social-metadata-forms-1521.js:1 Uncaught TypeError: Cannot read property 'StandardButton' of undefined at Object.<anonymous> (social-metadata-forms-1521.js:1) at i (social-metadata-forms-1521.js:1) at Object.<anonymous> (social-metadata-forms-1521.js:1) at i (social-metadata-forms-1521.js:1) at Object.<anonymous> (social-metadata-forms-1521.js:1) at i (social-metadata-forms-1521.js:1) at Object.<anonymous> (social-metadata-forms-1521.js:1) at i (social-metadata-forms-1521.js:1) at social-metadata-forms-1521.js:1 at social-metadata-forms-1521.js:1 (anonymous) @ social-metadata-forms-1521.js:1 i @ social-metadata-forms-1521.js:1 (anonymous) @ social-metadata-forms-1521.js:1 i @ social-metadata-forms-1521.js:1 (anonymous) @ social-metadata-forms-1521.js:1 i @ social-metadata-forms-1521.js:1 (anonymous) @ social-metadata-forms-1521.js:1 i @ social-metadata-forms-1521.js:1 (anonymous) @ social-metadata-forms-1521.js:1 (anonymous) @ social-metadata-forms-1521.js:1 classic-editor-1521.js:1 Uncaught TypeError: Cannot read property 'Collapsible' of undefined at Object.<anonymous> (classic-editor-1521.js:1) at f (commons-1521.js:1) at Object.<anonymous> (classic-editor-1521.js:1) at f (commons-1521.js:1) at Object.<anonymous> (classic-editor-1521.js:1) at f (commons-1521.js:1) at Object.<anonymous> (classic-editor-1521.js:1) at f (commons-1521.js:1) at Object.<anonymous> (classic-editor-1521.js:1) at f (commons-1521.js:1) (anonymous) @ classic-editor-1521.js:1 f @ commons-1521.js:1 (anonymous) @ classic-editor-1521.js:1 f @ commons-1521.js:1 (anonymous) @ classic-editor-1521.js:1 f @ commons-1521.js:1 (anonymous) @ classic-editor-1521.js:1 f @ commons-1521.js:1 (anonymous) @ classic-editor-1521.js:1 f @ commons-1521.js:1 (anonymous) @ classic-editor-1521.js:1 f @ commons-1521.js:1 (anonymous) @ classic-editor-1521.js:1 f @ commons-1521.js:1 (anonymous) @ classic-editor-1521.js:1 f @ commons-1521.js:1 (anonymous) @ classic-editor-1521.js:1 f @ commons-1521.js:1 t @ commons-1521.js:1 r @ commons-1521.js:1 (anonymous) @ classic-editor-1521.js:1 post-edit-1521.js:1 Uncaught TypeError: Cannot read property 'compose' of undefined at Object.<anonymous> (post-edit-1521.js:1) at f (commons-1521.js:1) at Object.<anonymous> (post-edit-1521.js:1) at f (commons-1521.js:1) at Object.<anonymous> (post-edit-1521.js:1) at f (commons-1521.js:1) at Object.<anonymous> (post-edit-1521.js:1) at f (commons-1521.js:1) at t (commons-1521.js:1) at Array.r [as push] (commons-1521.js:1) (anonymous) @ post-edit-1521.js:1 f @ commons-1521.js:1 (anonymous) @ post-edit-1521.js:1 f @ commons-1521.js:1 (anonymous) @ post-edit-1521.js:1 f @ commons-1521.js:1 (anonymous) @ post-edit-1521.js:1 f @ commons-1521.js:1 t @ commons-1521.js:1 r @ commons-1521.js:1 (anonymous) @ post-edit-1521.js:1 vc_admin.js:45 Uncaught TypeError: $(...).live is not a function at vc_admin.js:45 at vc_admin.js:55 (anonymous) @ vc_admin.js:45 (anonymous) @ vc_admin.js:55 media-models.min.js:2 Uncaught TypeError: _.contains is not a function at Function.r.extend.get (media-models.min.js:2) at i._requery (media-models.min.js:2) at i._changeQuery (media-models.min.js:2) at p (backbone.min.js:2) at f (backbone.min.js:2) at l (backbone.min.js:2) at h.Model.n.trigger (backbone.min.js:2) at h.Model.set (backbone.min.js:2) at initialize (media-models.min.js:2) at i.h.Collection (backbone.min.js:2) r.extend.get @ media-models.min.js:2 _requery @ media-models.min.js:2 _changeQuery @ media-models.min.js:2 p @ backbone.min.js:2 f @ backbone.min.js:2 l @ backbone.min.js:2 n.trigger @ backbone.min.js:2 set @ backbone.min.js:2 initialize @ media-models.min.js:2 h.Collection @ backbone.min.js:2 i @ backbone.min.js:2 a.query @ media-models.min.js:2 (anonymous) @ backend.min.js:10 (anonymous) @ backend.min.js:10 wp-backbone.min.js:2 Uncaught TypeError: _.pluck is not a function at wp.Backbone.Subviews.detach (wp-backbone.min.js:2) at i.render (wp-backbone.min.js:2) at i.render (media-views.min.js:2) at HTMLDocument.init (media-editor.min.js:2) at i (jquery.js:2) at Object.fireWith [as resolveWith] (jquery.js:2) at Function.ready (jquery.js:2) at HTMLDocument.J (jquery.js:2) detach @ wp-backbone.min.js:2 render @ wp-backbone.min.js:2 render @ media-views.min.js:2 init @ media-editor.min.js:2 i @ jquery.js:2 fireWith @ jquery.js:2 ready @ jquery.js:2 J @ jquery.js:2 wp-auth-check.min.js:2 Uncaught TypeError: Cannot read property 'hasClass' of undefined at HTMLDocument.<anonymous> (wp-auth-check.min.js:2) at HTMLDocument.dispatch (jquery.js:3) at HTMLDocument.r.handle (jquery.js:3) at Object.trigger (jquery.js:3) at HTMLDocument.<anonymous> (jquery.js:3) at Function.each (jquery.js:2) at n.fn.init.each (jquery.js:2) at n.fn.init.trigger (jquery.js:3) at Object.<anonymous> (heartbeat.min.js:2) at i (jquery.js:2) (anonymous) @ wp-auth-check.min.js:2 dispatch @ jquery.js:3 r.handle @ jquery.js:3 trigger @ jquery.js:3 (anonymous) @ jquery.js:3 each @ jquery.js:2 each @ jquery.js:2 trigger @ jquery.js:3 (anonymous) @ heartbeat.min.js:2 i @ jquery.js:2 fireWith @ jquery.js:2 x @ jquery.js:4 c @ jquery.js:4 XMLHttpRequest.send (async) send @ jquery.js:4 ajax @ jquery.js:4 l @ heartbeat.min.js:2 (anonymous) @ heartbeat.min.js:2 setTimeout (async) d @ heartbeat.min.js:2 I @ heartbeat.min.js:2 (anonymous) @ post.min.js:2 i @ jquery.js:2 fireWith @ jquery.js:2 ready @ jquery.js:2 J @ jquery.js:2 wp-auth-check.min.js:2 Uncaught TypeError: Cannot read property 'hasClass' of undefined at HTMLDocument.<anonymous> (wp-auth-check.min.js:2) at HTMLDocument.dispatch (jquery.js:3) at HTMLDocument.r.handle (jquery.js:3) at Object.trigger (jquery.js:3) at HTMLDocument.<anonymous> (jquery.js:3) at Function.each (jquery.js:2) at n.fn.init.each (jquery.js:2) at n.fn.init.trigger (jquery.js:3) at Object.<anonymous> (heartbeat.min.js:2) at i (jquery.js:2) (anonymous) @ wp-auth-check.min.js:2 dispatch @ jquery.js:3 r.handle @ jquery.js:3 trigger @ jquery.js:3 (anonymous) @ jquery.js:3 each @ jquery.js:2 each @ jquery.js:2 trigger @ jquery.js:3 (anonymous) @ heartbeat.min.js:2 i @ jquery.js:2 fireWith @ jquery.js:2 x @ jquery.js:4 c @ jquery.js:4 XMLHttpRequest.send (async) send @ jquery.js:4 ajax @ jquery.js:4 l @ heartbeat.min.js:2 d @ heartbeat.min.js:2 v @ heartbeat.min.js:2 h @ heartbeat.min.js:2 (anonymous) @ heartbeat.min.js:2 dispatch @ jquery.js:3 r.handle @ jquery.js:3 wp-auth-check.min.js:2 Uncaught TypeError: Cannot read property 'hasClass' of undefined at HTMLDocument.<anonymous> (wp-auth-check.min.js:2) at HTMLDocument.dispatch (jquery.js:3) at HTMLDocument.r.handle (jquery.js:3) at Object.trigger (jquery.js:3) at HTMLDocument.<anonymous> (jquery.js:3) at Function.each (jquery.js:2) at n.fn.init.each (jquery.js:2) at n.fn.init.trigger (jquery.js:3) at Object.<anonymous> (heartbeat.min.js:2) at i (jquery.js:2) (anonymous) @ wp-auth-check.min.js:2 dispatch @ jquery.js:3 r.handle @ jquery.js:3 trigger @ jquery.js:3 (anonymous) @ jquery.js:3 each @ jquery.js:2 each @ jquery.js:2 trigger @ jquery.js:3 (anonymous) @ heartbeat.min.js:2 i @ jquery.js:2 fireWith @ jquery.js:2 x @ jquery.js:4 c @ jquery.js:4 XMLHttpRequest.send (async) send @ jquery.js:4 ajax @ jquery.js:4 l @ heartbeat.min.js:2 (anonymous) @ heartbeat.min.js:2 setTimeout (async) d @ heartbeat.min.js:2 (anonymous) @ heartbeat.min.js:2 i @ jquery.js:2 fireWith @ jquery.js:2 x @ jquery.js:4 c @ jquery.js:4 XMLHttpRequest.send (async) send @ jquery.js:4 ajax @ jquery.js:4 l @ heartbeat.min.js:2 d @ heartbeat.min.js:2 v @ heartbeat.min.js:2 h @ heartbeat.min.js:2 (anonymous) @ heartbeat.min.js:2 dispatch @ jquery.js:3 r.handle @ jquery.js:3 wp-auth-check.min.js:2 Uncaught TypeError: Cannot read property 'hasClass' of undefined at HTMLDocument.<anonymous> (wp-auth-check.min.js:2) at HTMLDocument.dispatch (jquery.js:3) at HTMLDocument.r.handle (jquery.js:3) at Object.trigger (jquery.js:3) at HTMLDocument.<anonymous> (jquery.js:3) at Function.each (jquery.js:2) at n.fn.init.each (jquery.js:2) at n.fn.init.trigger (jquery.js:3) at Object.<anonymous> (heartbeat.min.js:2) at i (jquery.js:2)
I found the problem in my functions.php file. It seems like the code that defers parsing of javascript breaks the editor.
Remove the following code:
add_filter( 'clean_url', 'defer_parsing_of_js', 11, 1 );
And replace it with:
if ( !is_admin() ) { add_filter( ‘clean_url’, ‘defer_parsing_of_js’, 11, 1 ); }
Now the parsing doesn’t affect the site when you are logged in.
-
This reply was modified 4 years, 3 months ago by
- The topic ‘Yoast seo breaks wordpress editor’ is closed to new replies.