This may be a plugin or theme conflict. Please attempt to disable all plugins, and use one of the default (Twenty*) themes. If the problem goes away, enable them one by one to identify the source of your troubles.
If you can install plugins, install “Health Check”: https://wordpress.org/plugins/health-check/ On the troubleshooting tab, you can click the button to disable all plugins and change the theme for you, while you’re still logged in, without affecting normal visitors to your site.
Installed Health Check, probably identified BackWPUp as plugin causing problems. But then, after concluding check, while reactivating other plugins got this msg:
Fatal error: Allowed memory size of 62914560 bytes exhausted (tried to allocate 12288 bytes) in /home/manicolaus75/public_html/cc/wp-admin/includes/post.php on line 1430
and the site went blank. Dead. Can’t log back in. Site is white, nothing there. Now what?
After restoring from a backup db the site is back up.
The lastest version (3.5.0) of BackWPUp is a bit funky. I had to roll back a couple of sites to 3.4.5.
Probably you can reinstall the latest WP update version 4.9.6 and do the following steps as below:-
1.Disable all the plugins and themes.
2. Reinstall the WP updates completely.
3. Install the plugin “Health Check” –> https://wordpress.org/plugins/health-check/
4. Enable the health check plugin and check for the issue, probably you’re running out of date php or database… if so, please try to update the PHP and your mysql database version which might be causing the compatibility issue.
5. Enable all the plugins and after enabling the plugins if you’re seeing any fatal error it might be because of incompatibility of php or mysql database version. Try to update your php and my sql as mentioned in earlier step as well.
6. after enabling all the plugins successfully, you are done and give a try to upload the files.. i hope it should work…
Please let me know once you succeed or have any issues… All the best !!!
-
This reply was modified 6 years, 4 months ago by naveen1806. Reason: missing words
Thanks @naveen1806 for the road map.
We identified the problem: a function in our child theme functions.php template. This function was designed to hide the WP version and I believe many users may have implemented it as such :
/* WARNING : DO NOT USE THIS - Breaks WP 4.6.9 JSON !!!*/
function hide_version() { // hide WP Version
return '';
}
add_filter('the_generator', 'hide_version');
Replacing this function with that single line solved the problem instantly :
remove_action('wp_head', 'wp_generator');
May help some people with a similar issue (or another function that messes with the headers); was a bit difficult to identify since it never produced unwanted/side effects before (but maybe this was a bad idea since day 1 … Another copy/paste that should have been avoided: my bad, bad, bad )
-
This reply was modified 6 years, 4 months ago by superflyfr.
-
This reply was modified 6 years, 4 months ago by superflyfr.
-
This reply was modified 6 years, 4 months ago by superflyfr.
Had this same HTTP Error on image uploads – Fixed the issue by changing my PHP Configuration to 7.0 – No more issues.