Error yoast-seo-quick-edit-handler when using AJAX calls
-
Hello,
I am checking compatability between my plugin and Yoast SEO plugin. When Yoast SEO is enabled, any AJAX call (e.g. “GET” with parameters) to a custom REST API added by my plugin inside wordpress admin area is creating the following browser error which is related to “yoast-seo-quick-edit-handler”. I also checked it with other SEO plugins and I am not getting that error.
Here are some examples:
quick-edit-handler.j…3f8a9873afbfd1425:1 Uncaught TypeError: Cannot read properties of undefined (reading ‘indexOf’) at HTMLDocument.<anonymous> (quick-edit-handler.j…9873afbfd1425:1:908) at HTMLDocument.dispatch (jquery.min.js?ver=3.7.1:2:40035) at v.handle (jquery.min.js?ver=3.7.1:2:38006) at Object.trigger (jquery.min.js?ver=3.7.1:2:70124) at l (jquery.min.js?ver=3.7.1:2:77934) at XMLHttpRequest.<anonymous> (jquery.min.js?ver=3.7.1:2:80265)Uncaught TypeError: Cannot read properties of undefined (reading 'indexOf') at HTMLDocument. (quick-edit-handler.js?ver=e7d3f8a9873afbfd1425:1:908) at HTMLDocument.dispatch (jquery.min.js?ver=3.7.1:2:40035) at v.handle (jquery.min.js?ver=3.7.1:2:38006) at Object.trigger (jquery.min.js?ver=3.7.1:2:70124) at l (jquery.min.js?ver=3.7.1:2:77934) at XMLHttpRequest. (jquery.min.js?ver=3.7.1:2:80265) (anonymous) @ quick-edit-handler.js?ver=e7d3f8a9873afbfd1425:1 dispatch @ jquery.min.js?ver=3.7.1:2 v.handle @ jquery.min.js?ver=3.7.1:2 trigger @ jquery.min.js?ver=3.7.1:2 l @ jquery.min.js?ver=3.7.1:2 (anonymous) @ jquery.min.js?ver=3.7.1:2 load (async) send @ jquery.min.js?ver=3.7.1:2 ajax @ jquery.min.js?ver=3.7.1:2 (anonymous) @ jquery-migrate.min.js?ver=3.4.1:2 e. @ jquery-migrate.min.js?ver=3.4.1:2 automatedSlug @ class-idocs-categories-admin.js?ver=1.0.8:128 dispatch @ jquery.min.js?ver=3.7.1:2 v.handle @ jquery.min.js?ver=3.7.1:2
- The topic ‘Error yoast-seo-quick-edit-handler when using AJAX calls’ is closed to new replies.