Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
plugins-topic
Uncaught TypeError
Avatar
Brad Siegfried
Member
sp_UserOfflineSmall Offline
Apr 8, 2015 - 5:37 pm

I found a couple of Uncaught TypeError messages in the Chrome console log as I was troubleshooting an apparent conflict between Simple:Press and Simple Share Buttons Plus (https://simplesharebuttons.com/plus/).  The messages may or may not be related to that conflict.  Here are the messages:

Uncaught TypeError: undefined is not a function
sp-plugin-scripts-desktop-header.js?ver=5:135 (anonymous function)

Uncaught TypeError: Cannot set property 'thanked' of undefined
mysite.mydomain.us/:1038

The "undefined is not a function" message is displayed when viewing the forum root (mysite.mydomain.us/forum/) or anything under it. The "Cannot set property 'thanked' of undefined" message is displayed when viewing any individual forum topic.

Also, when viewing any individual forum or forum topic, the Simple Share Buttons Plus widget in the sidebar appears empty.  The widget correctly displays social sharing buttons at the forum root and at all other locations outside the forum.

I tried disabling the Simple Share Buttons Plus plugin but the console messages above still occur.

Can you suggest how I can best proceed in troubleshooting this apparent conflict between Simple:Press and Simple Share Buttons Plus?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 8, 2015 - 9:56 pm

what does that plugin do?

start by clearing the combined js cache on forum - toolbox - housekeeping..  you can also try disabling it on forum - options - global settings...

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 8, 2015 - 9:57 pm

as to being blank, my guess its not looking at the wp page properly...  it probably thinks its a static page and not dynamic...  but only a guess...  perhaps its not looking at the canonical url.. but not sure since I dont know what it does...

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 8, 2015 - 9:57 pm

one more... and if it does work, it will likely report the same url for all forum pages...

which is why we have our own sharing plugin...  it properly gets the dynamic url...

Avatar
Brad Siegfried
Member
sp_UserOfflineSmall Offline
Apr 9, 2015 - 7:54 am

Mr Papa said
what does that plugin do?

start by clearing the combined js cache on forum - toolbox - housekeeping..  you can also try disabling it on forum - options - global settings...

Thank you!  You nailed it on the first shot.

I was able to resolve the issue by unchecking the options - global settings - enable combining and caching of forum script (JS) files checkbox.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Apr 9, 2015 - 7:56 am

Shame to lose the cache (although minimal impact) bit good to hear it is resolved.

andy-signature.png
YELLOW
SWORDFISH
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: 17363
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625