Activating UserPro causing jquery(?) errors – site not displaying correctly. – UserPro Forums https://forum.userproplugin.com/forums/topic/activating-userpro-causing-jquery-errors-site-not-displaying-correctly/feed/ Wed, 08 May 2024 01:20:10 +0000 https://bbpress.org/?v=2.6.2 en-US https://forum.userproplugin.com/forums/topic/activating-userpro-causing-jquery-errors-site-not-displaying-correctly/#post-32995 <![CDATA[Activating UserPro causing jquery(?) errors – site not displaying correctly.]]> https://forum.userproplugin.com/forums/topic/activating-userpro-causing-jquery-errors-site-not-displaying-correctly/#post-32995 Sun, 20 Apr 2014 12:51:35 +0000 JamesFarley 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:276

I 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/

]]>
https://forum.userproplugin.com/forums/topic/activating-userpro-causing-jquery-errors-site-not-displaying-correctly/#post-35276 <![CDATA[Reply To: Activating UserPro causing jquery(?) errors – site not displaying correctly.]]> https://forum.userproplugin.com/forums/topic/activating-userpro-causing-jquery-errors-site-not-displaying-correctly/#post-35276 Tue, 29 Apr 2014 09:45:02 +0000 JamesFarley 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.

]]>
https://forum.userproplugin.com/forums/topic/activating-userpro-causing-jquery-errors-site-not-displaying-correctly/#post-36195 <![CDATA[Reply To: Activating UserPro causing jquery(?) errors – site not displaying correctly.]]> https://forum.userproplugin.com/forums/topic/activating-userpro-causing-jquery-errors-site-not-displaying-correctly/#post-36195 Mon, 05 May 2014 13:08:53 +0000 JamesFarley Bump, really need to get some help on this otherwise the plugin is useless to me 🙁

]]>
https://forum.userproplugin.com/forums/topic/activating-userpro-causing-jquery-errors-site-not-displaying-correctly/#post-36224 <![CDATA[Reply To: Activating UserPro causing jquery(?) errors – site not displaying correctly.]]> https://forum.userproplugin.com/forums/topic/activating-userpro-causing-jquery-errors-site-not-displaying-correctly/#post-36224 Mon, 05 May 2014 23:47:37 +0000 admin 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!

]]>
https://forum.userproplugin.com/forums/topic/activating-userpro-causing-jquery-errors-site-not-displaying-correctly/#post-36341 <![CDATA[Reply To: Activating UserPro causing jquery(?) errors – site not displaying correctly.]]> https://forum.userproplugin.com/forums/topic/activating-userpro-causing-jquery-errors-site-not-displaying-correctly/#post-36341 Tue, 06 May 2014 17:30:04 +0000 JamesFarley 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:2

Unfortunately 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();

]]>
https://forum.userproplugin.com/forums/topic/activating-userpro-causing-jquery-errors-site-not-displaying-correctly/#post-36370 <![CDATA[Reply To: Activating UserPro causing jquery(?) errors – site not displaying correctly.]]> https://forum.userproplugin.com/forums/topic/activating-userpro-causing-jquery-errors-site-not-displaying-correctly/#post-36370 Wed, 07 May 2014 03:20:26 +0000 Nate82 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.

]]>
https://forum.userproplugin.com/forums/topic/activating-userpro-causing-jquery-errors-site-not-displaying-correctly/#post-36392 <![CDATA[Reply To: Activating UserPro causing jquery(?) errors – site not displaying correctly.]]> https://forum.userproplugin.com/forums/topic/activating-userpro-causing-jquery-errors-site-not-displaying-correctly/#post-36392 Wed, 07 May 2014 10:46:13 +0000 admin James

k.fireWith jquery.js?ver=1.11.0:2
n.extend.ready jquery.js?ver=1.11.0:2

Some 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.

]]>