Hi @alexandronalin ,
Sorry to hear about the issue.
Can you try right-clicking the page, choose Inspect, then look in the Console tab for any errors when the search box is looping? A screenshot would be helpful so we have more context about where it’s freezing.
Maybe you can check the site error/debug log too for any related issues, or send us a copy so we can look for problems there. The System Report under Automator > Tools in /wp-admin/ would be helpful too, but since there may be sensitive information it would be better to send us a copy via [email protected] or on our website.
Finally, during your test with plugins disabled, did you switch to a different theme temporarily to rule out a theme conflict as well?
And you mention “WordPress form”. Can you confirm what you mean by that? WPForms?
Thanks!
Thread Starter
Alex
(@alexandronalin)
Hi,
I’m sorry about “wordpress form”, I mean “wordpress post”.
In browser console I get when I add a wordpress post trigger:
post.php?post=25687&action=edit:579 Uncaught TypeError: Cannot read properties of undefined (reading 'indexOf')
at HTMLDocument.<anonymous> (post.php?post=25687&action=edit:579:23)
at HTMLDocument.dispatch (jquery.min.js:2:43064)
at HTMLDocument.v.handle (jquery.min.js:2:41048)
at Object.trigger (jquery.min.js:2:71515)
at l (jquery.min.js:2:79978)
at XMLHttpRequest.<anonymous> (jquery.min.js:2:82355)
and next when I try to search for a specific post:
select2.min.js?ver=3.5.1:21 Uncaught TypeError: Cannot read properties of undefined (reading 'toUpperCase')
at E (select2.min.js?ver=3.5.1:21:3057)
at Object.formatResult (select2.min.js?ver=3.5.1:22:31087)
at h (select2.min.js?ver=3.5.1:21:23300)
at d.populateResults (select2.min.js?ver=3.5.1:21:23543)
at d.<anonymous> (select2.min.js?ver=3.5.1:22:4312)
at Object.callback (select2.min.js?ver=3.5.1:21:17880)
at d.<anonymous> (select2.min.js?ver=3.5.1:21:24279)
at Object.query (select2.min.js?ver=3.5.1:21:17880)
at d.updateResults (select2.min.js?ver=3.5.1:22:3394)
at d.opening (select2.min.js?ver=3.5.1:22:8410)
and … I found the conflicting plugin: I write you an email
Thanks
Argh, yes, we’ve seen a few plugins try to load their libraries on pages that aren’t theirs. This sounds like another select2 conflict. Other plugins should fix their code so they don’t load their libraries everywhere, but in some cases we may need to provide some code the de-enqueue their libraries on our pages.
Thread Starter
Alex
(@alexandronalin)
Hi @uncannyautomator,
the conflicted plugin author solved very quickly this issue and all works great!
Many thanks again for your help.
Fantastic, thanks so much for the update!