• Resolved Steve

    (@stevejohnson)


    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/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Plugin generates PHP Notices’ is closed to new replies.