• After an update to 3.4 a few of the blogs I administer are all rendering this error upon attempting to enter the dashboard:

    Fatal error: Call to undefined method wpdb::delete() in /home/***/wp-includes/option.php on line 370

    I’m not running any of the DB Cache plugins known to produce this error (so no db.php to remove), worse yet I’ve disabled all plug-ins (have done the php my admin disable, as well as renaming the plugins folder) and the error persists.

    Interestingly all the blogs I have that got auto-updated via Dreamhost settings are experiencing this error, however I’ve got a test blog running the same install that I manually updated to 3.4 and is working fine.

    Any other solutions to this error that aren’t plugin related?

Viewing 15 replies - 1 through 15 (of 17 total)
  • Thread Starter rhayward

    (@rhayward)

    Addition:

    The error is produced from this URL:

    http://***/wp-admin/upgrade.php?_wp_http_referer=%2Fwp-admin%2F

    I have this exact same issue. My site was auto updated via Dreamhost and I’m not running any DB Cache plugins. I’ve actually deleted all plugins and renamed my themes folder so that it’s pointing to twentyeleven. I have another site with the same host/on the same server (but using twentyten), but I believe I somehow updated that one manually before the Dreamhost auto-update happened (if that’s even how it works).

    I’m very new at this and hoping for a solution other than deleting the entire site and doing a fresh install of WP.

    –thank you

    I have found a fix that works for me. I downloaded a fresh copy of WordPress to my computer and via FTP, replaced just the wp-includes and the wp-admin folders. I found this fix as the answer to a related forum question, but I failed to copy the link to that page. If I can find it again I’ll post to this page.

    Hmm, I’ve just encountered this issue on one of the WP sites I administer.

    I’ve upgraded (via auto-upgrade) about 10 or 12 sites this morning and just one of them has completely failed.

    Any attempt to access the admin area results in

    Fatal error: Call to undefined method wpdb::delete() in /path/to/wp-includes/option.php on line 370

    I’ve completely deleted and re-uploaded the wp-admin and wp-includes folders (and root files). Nothing has changed.

    I don’t have any caching plugins (or any plugins of any complexity really).

    The front of the site still works and I can also load /wp-admin/upgrade.php (which shows no db upgrade required).

    I’m going to have to rollback the site from our nightly backups which is a pain in the hole 🙁

    Thread Starter rhayward

    (@rhayward)

    Thanks for the suggestion Sonyapiquete, I was able to copy over the wp-includes and wp-admin folders from a working blog to the non-working blog, this produced the ‘database requires updating’ screen upon logon attempt. After database update it seems to be working as intended. Will give it a try on my other failed blogs. For an added level of safety, I simply renamed the existing wp-includes and wp-admin to wp-includes-old and wp-admin-old, in the event the new versions produced the same error.

    RH

    Hello,

    Just chiming in that sonyapiquete’s solution worked for me perfectly. I was also updated automatically with Dreamhost and had the same issues. Had to do a Database update indeed as well but that took no time and everything worked after such.

    Hmm, sadly not for me. Even after completely deleting wp-admin and wp-includes and re-uploading them I still can’t get access to the backend. Going to try playing with it again tomorrow morning. If no joy I’ll roll back to our backup from last night.

    Sorted!

    I tried the 3.4.1 update this morning and it worked. Very odd but I’m not going to worry about it too much.

    🙂

    I have downloaded the new WordPress 3.4 and using it with mu-plugin. I am using SQL-Server database.
    In earlier version WordPress 3.2 everything was working fine but now I am getting these two errors in Latest version of WordPress3.4

    1. I am getting following error when trying to delete the post from trash:-

    Fatal error: Call to undefined method sqlsrv_wpdb::delete() in C:\inetpub\wwwroot\wordpress\wp-includes\post.php on line 2084

    2. I am getting following error when trying to update the general settings at admin section:-

    Fatal error: Call to undefined method sqlsrv_wpdb::delete() in C:\inetpub\wwwroot\wordpress\wp-includes\option.php on line 370

    Please tell How to resolve these errors???

    Sonyapiquete’s solution worked for me, too. Everything’s normal and same as it was previously.

    Am on Dreamhost server zaniah that had sudden issues and had to be replaced; some of my WP sites were fine but there were a couple getting this error. I think the autoupdates happened mid-server move and it b0rked those sites…

    I have downloaded the new WordPress 3.4 and using it with mu-plugin. I am using SQL-Server database.

    AJAY777 have you resolved this? I’m having the same issue.

    This is my message. How do I fix it if I don’t have a backup? My bad!
    Fatal error: Call to undefined method dbrc_wpdb::delete() in /home/bonnie/public_html/theschoolofpeace.com/wp-includes/option.php on line 370

    @organicrider Have you tried re-downloading the latest WordPress zip, deleting the wp-admin and wp-includes folders and re-uploading them via FTP?

    This has worked for me a few times.

    Thanks alexeonard. Gave it a try, but no change.

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Fatal error: Call to undefined method wpdb::delete()’ is closed to new replies.