If in doubt; then delete

The title is a joke. I hate deleting things. A digital packrat, it takes knowing that deleting something will likely fix an actual problem to delete it. And my delete is to move it out of the way not actually destroy the file.

Anyway, I discovered this blog was hosed. I had noticed Gotcha Jerks Part II was missing from various social media sites. So, I went to post it and found the whole blog hozered. It just displayed a Fatal PHP Error for class.jetpack-tracks.php and so I started to look on the WordPress.Org support page when I decided to move the whole Jetpack plugin directory to jetpack.bad and “see what happens.” Well, that restored the blog. The plugin claimed it needed an upgrade, so I ran that. All is well.

Easier than my initial resignation.

I went to “diff -r jetpack.bad jetpack” to get a comparison of the differences between the bad one and the good one, but the bad no longer exists. Thus the title. I am considering deleting and reinstalling Jetpack to ensure what I have is pristine. I have a nagging feeling that the upgrade moved jetpack.bad to jetpack then updated some files. Delete and rebuild would give me more confidence I purged lingering bad code from the plugin. Additionally, the lingering issue from WordPress and SSL a month ago might be related? In sum, I suspect there are subtle issues lingering and a clean sweep is in order.


Leave a Reply