Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Profile Page not working
Avatar
Brian Siu
Member
Free Members
sp_UserOfflineSmall Offline
Apr 20, 2014 - 3:55 pm

Since the update, the profile page has not been working.

 

The profile tab shows no options

 

Image Enlarger

The options tab leads to a different layout:

Image Enlarger

 

Here is the error log:

April 20, 2014 3:49 pm | spaErrNotice | 1 | php


file: iuss/public_html/wp-content/sp-resources/forum-plugins/private-messaging/library/sp-pm-components.php
line: 151
function: sp_pm_do_profile_options
Notice | Undefined property: spUser::$pmemailApril 20, 2014 3:49 pm | spaErrNotice | 2 | php


file: iuss/public_html/wp-content/sp-resources/forum-plugins/warnings-suspensions/library/sp-warnings-suspensions-components.php
line: 58
function: sp_warnings_suspensions_do_profile_message
Notice | Undefined index: profile

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Apr 20, 2014 - 3:57 pm

That is going to be an Ajax problem and as such will need the web/script console to see any errors being generated by scripts. Do you know how to do this?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Brian Siu
Member
Free Members
sp_UserOfflineSmall Offline
Apr 20, 2014 - 4:02 pm

I don't know how to do that

Avatar
Brian Siu
Member
Free Members
sp_UserOfflineSmall Offline
Apr 20, 2014 - 4:42 pm

from the options tab

Uncaught ReferenceError: jQuery is not defined index.php:5
Uncaught ReferenceError: jQuery is not defined index.php:22

from the profile tab

Uncaught SyntaxError: Unexpected identifier (index):734
event.returnValue is deprecated. Please use the standard event.preventDefault() instead. notes-widget.min.js?v=20140420:2

Are these the errors you mean?

 

Are these the errors you mean?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 20, 2014 - 8:50 pm

so that indicates a js conflict... likely a theme or plugin loading jquery against the wp api... see:  http://codex.simple-press.com/.....-conflict/

do you have link to your site so we can check for obvious conflicts?

Avatar
Brian Siu
Member
Free Members
sp_UserOfflineSmall Offline
Apr 20, 2014 - 9:04 pm
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 20, 2014 - 9:21 pm

your theme or a plugin is loading an external version of jquery ui rather than using the version that comes with wp...

<script type='text/javascript' src="http://www.gamongaming.com/wp-content/themes/gameaddict/js/jquery-ui-1.10.3.custom.min.js?83edca"></script>

this is a slightly older version of jquery ui from that which comes with wp...  and in your case, the native wp jquery ui is also being loaded...  so they are likely conflicting...

additionally, your theme is loading bootstrap which is known to conflict (ie stomp on) jquery ui...  using the two together can be problematic...  unless bootstrap is loaded before jquery ui...  your theme is loading bootstrap before its own copy of jquery ui which is good, but unfortunately, its not the version of jquery ui that come with wp that other plugins are expecting...

if you can find where in your theme the wrong version of jquery ui is being loaded, we can help correct it...

Avatar
Brian Siu
Member
Free Members
sp_UserOfflineSmall Offline
Apr 22, 2014 - 1:29 pm

the theme support guy says "try function.php, search "jquery"". At some point the plugin worked with the theme. I think it was after the update that the errors occured.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Apr 22, 2014 - 3:25 pm

If you theme has always loaded an unsupported version of the jQuery UI library then it is probable there have always been some things that did  not work as expected. Any recent updates have not changed that - it has always been the case which is why we specify in the system requirements for SP that this is a problem.

It IS possible that the upgrade within WP to a newer version of jQuery has exacerbated the issue making errors more widespread and apparent.

So have you looked in the theme functions.php to try and find where the jQuery UI library is being loaded and if so can you paste the code fragments for that line of code and a couple either side of it here?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Brian Siu
Member
Free Members
sp_UserOfflineSmall Offline
Apr 22, 2014 - 4:45 pm

function addict_external_styles(){
  wp_register_style( 'custom-style',  'http://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800,400italic,600italic,700italic',  array(), '20130401');
  wp_enqueue_style( 'custom-style' );
  wp_register_style( 'custom-style1',  get_template_directory_uri().'/css/jquery.fancybox.css',  array(), '20130401');
  wp_enqueue_style( 'custom-style1' );
  wp_register_style( 'custom-style2',  get_template_directory_uri().'/addons/chat/wp-wall.css',  array(), '20130401');
  wp_enqueue_style( 'custom-style2' );
  wp_register_style( 'pricetable1',  get_template_directory_uri().'/addons/pricetable/css/pricetable.css',  array(), '20130401');
  wp_enqueue_style( 'pricetable1' );

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625