php file becomes corrupt. Code missing from file. Weird!
-
Hello, a very weird thing happened with a specific file from my wp installation.
I was experiencing backend problem with editing products (woocommerce) and editing pages…
After enabling debug mode, I found out a syntax error in a file called : meta-boxes.php.
I went inside that file and indeed found the error. To fix it, I downloaded a fresh version of wp and replace the old file with the one freshly downloaded. That did fix the problem.
HOWEVER, before doing that, I compared the two files, the one on my site and the one freshly downloaded… Turns out roughly 500 lines of code were missing from the file on my server…
HOW IS THIS POSSIBLE? How can this happen?
My concern is that my site was hacked and frankly this is a very unpleasant thought!
Anyone has an insight on this?
Thanks
The page I need help with: [log in to see the link]
The topic ‘php file becomes corrupt. Code missing from file. Weird!’ is closed to new replies.