Update regarding the random jquery: appears to be a plugin conflict from Booster for Woocommerce. I’ve reached out to them and hope they will respond soon
Thanks for your update, even though I don’t have a similar issue on my site, it’s good to know other’s troubleshooting methods.
What did you do to identify the cause? Disable everything and then re-enable plugins one by one til the issue reappeared?
That’s what I started with: disabling plugins one by one, but that didn’t show any issues. I noticed the code was only appearing on Buddypress pages, so then I kept Buddypress active and one-by-one activated, checked, and then deactivated each plugin until the code reappeared.
It takes a super long time, but it’s really the only way to really find issues like this (that I know of).
I also use the Health and Troubleshooting plugin to do this, so the site doesn’t appear any different to anyone non-admins. That means people can keep using the site (I have courses with Learndash, so this is a big one!) while troubleshooting
Great, I will look into using the Troubleshooting plugin, sounds very helpful.
I have an issue currently on my site: can’t edit or create new profile fields in wp-admin > users > profile fields. This issue crept in at some point over the last year, and because its kinda “invisible” then its difficult to link it to any of the dozens of plugins & code snippets active on my site.
I keep meaning to simply put the site in maintenance mode and start testing …gotta bite the bullet sooner or later I suppose.
Glad I could help! And hm yeah I’m not knowledgeable enough to think of what might be causing that issue. But yeah just biting the bullet is really the best course of action most of the time.
It’s very time-consuming though, and I totally feel your pain.
Best of luck to you!