I can’t add media, either in pages, posts or in the theme to change background images.
I haven’t worked with this site for a month or so, so I’m not sure when it happened.
When I try to add an image, through the theme (ie, not directly as css), the “Add media” frame appears normally. If I try to upload an image from my computer, the default, the Select Files button does not work and the browser uploader link does not work. Attempting to add from the Media Library brings up the list, but the Show links do not show the expanded image info, and don’t allow me to add the image.
Trying to add an image on a page or post displays the same problems.
At one point I had foolishly enabled PageSpeed optimization and subsequently the background image, which still reflected the ugly link that pagespeed creates, disappeared, which is what precipitated finding out about the problem. I did disable this mess several months ago, but I’m not convinced this didn’t play a part.
Not having fully learned my lesson, today I enabled Cloudflare, thinking that since it was NOT a beta feature, nothing terrible would happen. It may not have anything to do with this problem, but now I’m suspicious. I did disable it, though that has made no difference.
I’ve de-activated and deleted the theme framework, Headway, and then downloaded a fresh copy and re-installed it. While the site was under a different theme, I tested the Media upload again and it still failed, so I re-activated Headway. I have an older version of the site, that I reactivated and it shows the problem too, and I’m almost positive that media upload worked when that one was decommissioned. I’m running the site on an up-to-date Wordpress, and the older version was an earlier WP and it still failed.
I’ve tried repairing/optimizing the databases. No joy.
Any ideas why this is happening? And better, what to do about it?