- This topic has 15 replies, 3 contibutors, and was last updated 9 years, 11 months ago by .
-
Question
Answers
- The question ‘JS error – Uncaught TypeError’ is closed to new replies.
BuddyBoss Home – Web › Support Forums › Plugins › BuddyBoss Media › JS error – Uncaught TypeError
Tagged: Uncaught TypeError
BuddyBoss Media has an issue -> Uncaught TypeError: Cannot read property ‘split’ of undefined.
@frankwarwick this is most likely a plugin conflict. Are you able to send me a link to the page with the error?
I get this too. It’s preventing me from using ajax. I can’t provide the page since I’m local. Here is the error:
TypeError: e is undefined
http://locahost/wp-content/plugins/buddyboss-media/assets/js/buddyboss-media.min.js?ver=2.0.3
Line 1
…ction bbmedia_getQueryVariable(e,t){var n=e.split(“&”);for(var r=0;r<n.length;r+…
It’s where “n=e.split”
@mp3stevo this is probably a plugin conflict but have had another report of it, please let me know if you still experience the issue once you disable other plugins.
I deactivated all plugins except for BuddyPress and BuddyBoss Media. Same error. Once I deactivated BuddyBoss Media my scripts worked fine. This is a huge bug. :\
@tjchester No, unfortunately as I said above it’s all local development. Another thing I tried, I disabled BuddyBoss Media whilst leaving all my other plug-ins enabled, refreshed the page and my scripts worked (the AJAX call). Something in the buddyboss-media.min.js file is taking control over the jQuery AJAX function .ajax().
@mp3stevo I see you issue is actually different than the other in that e in undefined instead of the split issue. What OS and browser are you using to view your site?
@tjchester OSX Yosemite and Chrome. The error is saying there is a split issue due to e being undefined so they are related.
@mp3stevo alright I have delivered all the information to our devs hopefully they will be able to solve this issue.
@tjchester I hope so too. 🙂
Hi, Sorry I have been unable to get back to you on this .. I have downloaded the update and will get back to you ..thanks
It’s fixed! 😀
@tjchester By the version pushed two days ago.