Title: Update creates error
Last modified: January 28, 2018

---

# Update creates error

 *  Resolved [Bam Bam](https://wordpress.org/support/users/bam-bam/)
 * (@bam-bam)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/update-creates-error/)
 * Hi,
 * I updated the plugin this morning and now I am getting the following error message.
 * Notice: Undefined index:wp_db_temp_dir in /home/maxperformer/public_html/wp-content/
   plugins/wp-db-backup/wp-db-backup.php on line 112
 * Kindest Regards
    Bam Bam
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fupdate-creates-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [theratuk](https://wordpress.org/support/users/theratuk/)
 * (@theratuk)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/update-creates-error/#post-9912618)
 * Same problem — from the same update!
 * I suggest you disable the plugin as a temporary measure but this is the offending
   code:
 *     ```
                       $requested_temp_dir = sanitize_text_field($_GET['wp_db_temp_dir']);
                       $this->backup_dir = trailingslashit(apply_filters('wp_db_b_backup_dir', (isset($requested_temp_dir) && is_writable($requested_temp_dir)) ? $requested_temp_dir : get_temp_dir()));
                       $this->basename = 'wp-db-backup';
       ```
   
 *  Thread Starter [Bam Bam](https://wordpress.org/support/users/bam-bam/)
 * (@bam-bam)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/update-creates-error/#post-9912733)
 * I did disable it and the message stayed, I tried removing the plugin, message
   still there.
 * It isn’t my website, I just maintain it, but I can’t get into the Cpanel at the
   moment for some reason, so I can’t access the folders to do anything else about
   it.
 *  [theratuk](https://wordpress.org/support/users/theratuk/)
 * (@theratuk)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/update-creates-error/#post-9915240)
 * Disabling doesn’t always work immediately btw — cache etc. needs to refresh I
   presume. Mine took a couple of minutes to start working again.
 * You try just renaming the plugin folder with the suffix “-disabled” ?
 *  [Prashant Walke](https://wordpress.org/support/users/walkeprashant/)
 * (@walkeprashant)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/update-creates-error/#post-9916051)
 * Hi,
 * This is not issue related **WP Database Backup** plugin.
 * You are using **WP DB Backup** plugin. Please raise ticket on [https://wordpress.org/support/plugin/wp-db-backup](https://wordpress.org/support/plugin/wp-db-backup)
 *  Thread Starter [Bam Bam](https://wordpress.org/support/users/bam-bam/)
 * (@bam-bam)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/update-creates-error/#post-9916079)
 * My apologies for the mix up.
 * Bam Bam
 *  [dneoliya](https://wordpress.org/support/users/dneoliya/)
 * (@dneoliya)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/update-creates-error/#post-9976136)
 * edit wp-db-backup.php file and
    Just comment line number 112 work for me….
    -  This reply was modified 8 years, 3 months ago by [dneoliya](https://wordpress.org/support/users/dneoliya/).

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Update creates error’ is closed to new replies.

 * ![](https://ps.w.org/wp-database-backup/assets/icon-256x256.png?rev=2838048)
 * [WP Database Backup - Unlimited Database & Files Backup by Backup for WP](https://wordpress.org/plugins/wp-database-backup/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-database-backup/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-database-backup/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-database-backup/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-database-backup/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-database-backup/reviews/)

 * 6 replies
 * 4 participants
 * Last reply from: [dneoliya](https://wordpress.org/support/users/dneoliya/)
 * Last activity: [8 years, 3 months ago](https://wordpress.org/support/topic/update-creates-error/#post-9976136)
 * Status: resolved