Fatal Errorz

Fatal error: Call to undefined method wpdb::delete()

That was the line that almost killed me. The line that almost made me lose it and run into the streets screaming. But thankfully it can be fixed.

If you were like me and had a Dreamhost server crash (lesson learned, sharing servers sucks), you may have had some down time the past few weeks. If you follow me on Twitter, you saw my anger:

After all was said and done I tried logging into my admin. Much to my dismay I saw that there was a Fatal Error.

To me, Fatal Error means: EVERYTHING IS DEAD! YOUR FAMILY HATES YOU! YOUR DATABASE FARTS IN YOUR GENERAL DIRECTION! Heartbreak and anger were the first things to kick in. Then the simple Google logic. Search for it.

Praise the WordPress forums and their infinite wisdom. This topic has the answer at the bottom. Download a fresh version of WordPress, and replace the wp-admin and wp-includes directories.

The issue most likely occurred when you tried to upgrade a database and WordPress (or your server) farted out on you.

Hopefully this saves someone…and if not, meh, still nice to know why my database hated me for a while.

Notify of
Inline Feedbacks
View all comments

John Hartley is a Director of Product Engineering at Beam Dental in Columbus, OH. With 5+ years of leadership experience he has worked in startups, agencies, and began his career as a freelance Front End Developer. Always looking to iterate, this blog is a place for him to share his knowledge as well as hone his craft, challenge assumptions, and build a strong base of leadership and management knowledge. Connect with him on LinkedIn

Would love your thoughts, please comment.x