Support Forum

Add Files all of the sudden grayed out?

ST Stang5_0
Stang5_0
Member

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

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

Thanks.

10 Answers

New Answer

ST Stang5_0
Stang5_0
Member

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

MP Mr Papa
Mr Papa
Member

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.jpg
ST Stang5_0
Stang5_0
Member

Current File Up loader is Version 4.7

same result regardless of the browser.

YS Yellow Swordfish
Yellow Swordfish
Member

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

ST Stang5_0
Stang5_0
Member

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?

ST Stang5_0
Stang5_0
Member

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

MP Mr Papa
Mr Papa
Member

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…

YS Yellow Swordfish
Yellow Swordfish
Member

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…

ST Stang5_0
Stang5_0
Member

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

YS Yellow Swordfish
Yellow Swordfish
Member

Nice, neat and simple. Stop the load on the forum page. Excellent news and thanks for the update.