Okay, this is way off the wall but something I used to do on the junky old computers I could afford at the time.
If that same file is actually messing up repeatedly…
Rename the present empty file to something odd by adding 1234 or bak to that file then upload just that file again with the proper name.
What that does is leaves the old broken file alone and adds the new file in the next available spot. If the hard drive was failing slightly and causing that problem the new file will hopefully be good from then on.
If the host server’s hard drive array is broken then the problem will get worse over time but if it’s just a flaky spot affecting that single file then you might find things are fine after that.
Some people might tell you that’s silly with raid arrays and NFS file systems and such but ‘go old school’ once in a while to save some time. It’s only a few seconds to do this using FTP. Just a few more using file manager.
—
If instead something is going amok in the programming I’d suspect my plugins and possibly the theme unless you changed something your self in the WordPress core.
The quick test is to rename your plugins directory temporarily with a look at the MU plugins if you have any there. Plugins are where most programmatic problems show up…
Themes are the second cause and most of that can be narrowed down to the functions file… The question there is did you ever put any custom code into functions.php.
The quick test there is to swap out temporarily for a default theme like my favorite… Twenty Thirteen or one of the other ‘Twenty’ series themes.
Let us know if you need more info or the steps above doesn’t uncover the problem…
-
This reply was modified 4 years, 5 months ago by JNashHawkins.