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
Add Files all of the sudden grayed out?
Avatar
Stang5_0
Member
sp_UserOfflineSmall Offline
Jun 9, 2017 - 12:24 pm

WP 4.8

SP 5.7.4

It seems without making any changes but simply keeping things updated, my Add Files for attachments is no longer active.

Capture.PNGImage Enlarger

This was working fine but that's no longer the case.  Has this come up yet with 4.8 updates?

Thanks.

Avatar
Stang5_0
Member
sp_UserOfflineSmall Offline
Jun 9, 2017 - 2:17 pm

Getting the following in my console by the way:

plupload.full.min.js:29 Uncaught TypeError: Cannot read property 'can' of null
at c.u.onready (plupload.full.min.js:29)
at c.<anonymous> (plupload.full.min.js:13)
at plupload.full.min.js:13

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jun 9, 2017 - 2:31 pm

No we haven't noticed anything on 4.8. We have been running it here for a couple months now with no issue. Unless something changed in the last few days before release (been on travel). 

Have you cleared the browser cache?  Is our file uploader plugin up to date?

also try clearing the js cache on forum - toolbox - housekeeping. 

Does it work for you here? Seems to for me

A83929CF-68C6-4D7D-8294-3B4D5ED531E6.jpgImage Enlarger

Avatar
Stang5_0
Member
sp_UserOfflineSmall Offline
Jun 9, 2017 - 2:42 pm

Current File Up loader is Version 4.7

same result regardless of the browser.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jun 9, 2017 - 2:55 pm

Sounds to me like you have added something to your star that is loading the Bootstrap JS library? 

andy-signature.png
YELLOW
SWORDFISH
Avatar
Stang5_0
Member
sp_UserOfflineSmall Offline
Jun 9, 2017 - 3:10 pm

More from the console.

JQMIGRATE: Migrate is installed, version 1.4.1
on_document_load.min.js?ver=1.6.20:1 Google Maps API Loaded 🙂
plupload.full.min.js?ver=4.8:29 Uncaught TypeError: Cannot read property 'can' of null
at c.u.onready (plupload.full.min.js?ver=4.8:29)
at c.<anonymous> (plupload.full.min.js?ver=2.1.8:13)
at plupload.full.min.js?ver=2.1.8:13

 

I'll look deeper into my Geodirectory plugin, that may have something to do with it?

Avatar
Stang5_0
Member
sp_UserOfflineSmall Offline
Jun 9, 2017 - 3:15 pm

Found it thanks - FYI It's the GeoDirectory Review Rating Manager plugin that is causing this issue.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jun 9, 2017 - 8:09 pm

is that plugin used/needed on the forum page?  you should be able to disable it just on the forum page if not...

or it needs an edit to load bootstrap.js after wp load jquery ui library...  bootstrap is known to conflict with jquery ui that comes with wp which is why wp doesnt like it... but if loaded properly, they can coexist...

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jun 10, 2017 - 3:26 am

or it needs an edit to load bootstrap.js after wp load jquery ui library…

Correction- Bootstrap needs to be loaded BEFORE the jQuery UI library...

andy-signature.png
YELLOW
SWORDFISH
Avatar
Stang5_0
Member
sp_UserOfflineSmall Offline
Jun 15, 2017 - 12:38 pm

Hi Guys,

I wanted to share the fix with you, though it was no issue with your forum, it may help someone somewhere down the road.  The author of the directory I am using provided me with the following fix resolving the issue:

He installed the plugin “code snippets” and added the below code to fix it.

function _my_dequeue_script() { $dm_uri = $_SERVER[ 'REQUEST_URI' ]; if(substr( $dm_uri, 0, 7 ) === "/forum/"){ wp_dequeue_script( 'plupload-all' ); } } add_action( 'wp_print_scripts', '_my_dequeue_script', 100 );

Regards,

Stang

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: 17362
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625