Title: Plugin generates PHP Notices
Last modified: August 22, 2016

---

# Plugin generates PHP Notices

 *  Resolved [Steve](https://wordpress.org/support/users/stevejohnson/)
 * (@stevejohnson)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/plugin-generates-php-notices/)
 * Plugins should generate no notices with WP_DEBUG set true.
 * On initial plugin page load:
    Notice: Undefined variable: option in D:\Websites\
   redacted.org\rakwp\wp-content\plugins\db-backup\db-backup.php on line 49 Notice:
   Undefined variable: wpdb in D:\Websites\redacted.org\rakwp\wp-content\plugins\
   db-backup\db-backup.php on line 76 Notice: Trying to get property of non-object
   in D:\Websites\redacted.org\rakwp\wp-content\plugins\db-backup\db-backup.php 
   on line 76 Notice: Undefined variable: wpdb in D:\Websites\redacted.org\rakwp\
   wp-content\plugins\db-backup\db-backup.php on line 76 Notice: Trying to get property
   of non-object in D:\Websites\redacted.org\rakwp\wp-content\plugins\db-backup\
   db-backup.php on line 76 Notice: Undefined variable: wpdb in D:\Websites\redacted.
   org\rakwp\wp-content\plugins\db-backup\db-backup.php on line 76
 * On exporting structure/data:
    Notice: Use of undefined constant data – assumed‘
   data’ in D:\Websites\redacted.org\rakwp\wp-content\plugins\db-backup\db-backup.
   php on line 141 Notice: Undefined index: csv_comp_bkp in D:\Websites\redacted.
   org\rakwp\wp-content\plugins\db-backup\db-backup.php on line 142 Notice: Use 
   of undefined constant am_option – assumed ‘am_option’ in D:\Websites\redacted.
   org\rakwp\wp-content\plugins\db-backup\db-backup.php on line 146 Notice: Use 
   of undefined constant am_csv_tbl – assumed ‘am_csv_tbl’ in D:\Websites\redacted.
   org\rakwp\wp-content\plugins\db-backup\db-backup.php on line 147 Notice: Use 
   of undefined constant ex_struct – assumed ‘ex_struct’ in D:\Websites\redacted.
   org\rakwp\wp-content\plugins\db-backup\db-backup.php on line 163 Notice: Use 
   of undefined constant ex_data – assumed ‘ex_data’ in D:\Websites\redacted.org\
   rakwp\wp-content\plugins\db-backup\db-backup.php on line 175 Notice: Undefined
   variable: output in D:\Websites\redacted.org\rakwp\wp-content\plugins\db-backup\
   db-backup.php on line 148 Notice: Use of undefined constant am_saveAs_option –
   assumed ‘am_saveAs_option’ in D:\Websites\redacted.org\rakwp\wp-content\plugins\
   db-backup\db-backup.php on line 150 Notice: Undefined index: am_saveAs_option
   in D:\Websites\redacted.org\rakwp\wp-content\plugins\db-backup\db-backup.php 
   on line 150
 * There may be – probably are – more notices and/or errors. Please fix for your
   next release.
 * Thanks
 * [https://wordpress.org/plugins/db-backup/](https://wordpress.org/plugins/db-backup/)

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

 *  Plugin Author [syedamirhussain91](https://wordpress.org/support/users/syedamirhussain91/)
 * (@syedamirhussain91)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/plugin-generates-php-notices/#post-5207982)
 * thanks for your valuable feedback, we have fixed this issues in the version 4.5.
 *  Thread Starter [Steve](https://wordpress.org/support/users/stevejohnson/)
 * (@stevejohnson)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/plugin-generates-php-notices/#post-5207984)
 * Super – it’s great when plugin authors listen to feedback! 🙂

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

The topic ‘Plugin generates PHP Notices’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/db-backup.svg)
 * [DB Backup](https://wordpress.org/plugins/db-backup/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/db-backup/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/db-backup/)
 * [Active Topics](https://wordpress.org/support/plugin/db-backup/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/db-backup/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/db-backup/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Steve](https://wordpress.org/support/users/stevejohnson/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/plugin-generates-php-notices/#post-5207984)
 * Status: resolved