-
Used UserPro successfully on site for a period of time, one of the recent updates however has now caused it to not play nicely with my site and causing display issues, sections of site not loading/displaying etc.
Seems to be a jQuery issue I think, get the following messages in browser console:
Uncaught TypeError: undefined is not a function scripts.min.js?ver=3.9:639
Uncaught TypeError: undefined is not a function scripts.min.js?ver=3.9:639
userpro_responsive scripts.min.js?ver=3.9:639
(anonymous function) scripts.min.js?ver=3.9:1453
n.event.dispatch jquery.js?ver=1.11.0:3
(anonymous function) scripts.min.js?ver=3.9:276I have two versions of same site live on different servers, this one without UserPro activated displaying correctly (notice the slider at top, and sections at footer of page) -> http://www.welshotimaging.co.uk
This is the dev site I’m working on with UserPro activated and breaking the display of page -> http://welshot.wpengine.com/
Bumping this as seriously hindering my use of plugin, essentially it’s useless at moment.
Updated info also as I had to make site live.
URL of working site (UserPro disabled) – http://www.welshotimaging.co.uk
URL of broken site (UserPro enabled) – http://welshot.staging.wpengine.com/Appreciate any support you can give, plugin was working brilliantly up until a few versions ago.
Bump, really need to get some help on this otherwise the plugin is useless to me 🙁
Hi James, download the most recent version here:
http://userproplugin.com/userpro/customer_portal/
Please tell me if you encounter any more issues with UserPro after updating it. 🙂 Thank yo!
Hi Ahmed,
Have done that, deleted previous version and reinstalled latest version as advised, no change I’m afraid to say. Same error as before (using Chrome):
Uncaught TypeError: undefined is not a function scripts.min.js?ver=3.9:639
userpro_responsive scripts.min.js?ver=3.9:639
(anonymous function) scripts.min.js?ver=3.9:1456
j jquery.js?ver=1.11.0:2
k.fireWith jquery.js?ver=1.11.0:2
n.extend.ready jquery.js?ver=1.11.0:2
K jquery.js?ver=1.11.0:2Unfortunately I know very little about Javascript, but the console info would suggest it is either something to do with the UserPro datepicker function, or this line in the JS? – userpro_responsive();
That’s the thing with javascript, it’ll tell you one thing but the problem could be a totally different file. I’ve been dealing with javascript errors on my test site as well so I’ve been reading a little bit about them.
Don’t get excited (I’m an amateur like you) but you could try deferring the UserPro scripts so they load later (won’t hurt to try at least), they might be firing too soon or something as I’ve read this sometimes happens with scripts. This is what I have in my functions.php file that defers the UserPro scripts:
Here’s the code I use: http://pastebin.com/0ZEu73hk
It’s not pretty and I’m sure there’s a way to combine them into 1 function but I don’t know how. This adds a “defer” tag to each script so they load later on and this is good to do anyways because Google suggests you defer all scripts.
James
k.fireWith jquery.js?ver=1.11.0:2
n.extend.ready jquery.js?ver=1.11.0:2Some of the files are not correlated with UserPro. It’d be best to try disabling theme/plugins to find the conflicting plugin or theme. That can help you in finding the culprit immediately.
You must be logged in to reply to this topic.