Support Forum

Photo Upload Not Working After WordPress 4.5 Release

PA patrick182
patrick182
Member

Seems like I’ve been bugging you guys all month on this issue or that.

So I updated WP to 4.5, and then update SP, then my them, etc. Everything’s up to date.

Now, my photo uploading process isn’t working. I can add a file but the “Start Upload” button does nothing.

Thoughts?

37 Answers

New Answer

MP Mr Papa
Mr Papa
Member

need more info please…  any errors in browser console?

try going to forum – toolbox – housekeeping and clear the combined js cache since you didnt upgrade all at once….

PA patrick182
patrick182
Member

Mr Papa said
need more info please…  any errors in browser console?

try going to forum – toolbox – housekeeping and clear the combined js cache since you didnt upgrade all at once….

No errors in browser console.

Also, I reset both combined CSS and JS cache and that didn’t fix the issue.

Thoughts?

YS Yellow Swordfish
Yellow Swordfish
Member

First thought is a typical Bootstrap conflict. Is your WP theme or any plugins loading the Bootstrap Script and styling library?

PA patrick182
patrick182
Member

Yellow Swordfish said
First thought is a typical Bootstrap conflict. Is your WP theme or any plugins loading the Bootstrap Script and styling library?

I don’t know how to check these things. May I send login credentials?

YS Yellow Swordfish
Yellow Swordfish
Member

I can see your WP theme is running Bootstrap by the source code being generated. As many topics on this forum will disclose, Bootstrap is not a WP supported library and it has a negative effect on the jQuery UI which IS supported and which many plugins use – including SP.

In the forum admin > Integration > Page and Permalink – is the option set to run Javascript in the footer? If not please turn it on and see what happens.

PA patrick182
patrick182
Member

Load JS in Footer is already checked. Should I keep it that way?

YS Yellow Swordfish
Yellow Swordfish
Member

Yes – keep it checked.

So what about the WP theme? Is there an option within that to control where the scripts are loaded – header or footer? You need to either remove the Bootstrap library or, in some way, ensure that it is loaded earlier in the page loading sequence. That way we can undo the damage it does.

ST Stephen
Stephen
Member

I am not hyjacking this thread – but I will subscribe.

I also have the same problem and am using the CSS theme.

From the Javascript Console:

jquery.js?ver=1.12.3:2 Uncaught Error: cannot call methods on button prior to initialization; attempted to call method ‘enable’
bootstrap.min.js?ver=1.5:11 Uncaught TypeError: Cannot read property ‘documentElement’ of null
bootstrap.min.js?ver=1.5:11 Uncaught TypeError: Cannot read property ‘documentElement’ of nullspjEdOpenEditor @ VM4727:1
bootstrap.min.js?ver=1.5:11 Uncaught TypeError: Cannot read property ‘documentElement’ of null

Hope this helps

Stephen

IK Ike
Ike
Member

Hey Stephen,

Have you tried anything that’s been listed above to see if it resolves the problem?

A bootstrap conflict really comes down to what Andy pointed out in post #6. Unfortunately not an easy one to resolve.

ST Stephen
Stephen
Member

Hi Ike – many thanks for the reply. Yes I have tried everything and I am just experimenting to see if i can solve it some other way. No success yet but will keep trying.

Best regards,

Stephen

YS Yellow Swordfish
Yellow Swordfish
Member

The way JavaScript is loaded into the footer has changed., While we had a small hack in there to try and deal with the mis-use of Bootstrap and it’s negative effect on jQuery Ui components – the script change means that in some cases it may well be loading the fix a little too early., This results in BootStrap winning precedence and an error being shown in the console.

@mr-papa and I are discussing it to see of we can sort out a replacement ‘hack’ and will try and address tgis ASAP. Trouble is he will not be here for a few hours and i am about to leave for the airport to go away for a few days. Hopefully however, we can do something quickly,

The real bottom line is, however, that this not actually a forum bug. Bit we should be able to help fix it.

ST Stephen
Stephen
Member

That is very good of you both. Much appreciated. Have a good flight !

Best regards,

Stephen

IK Ike
Ike
Member

Fingers crossed something can be worked out soon! I’m sure Mr Papa will update the thread when he gets a chance.