WordPress.org

Ready to get started?Download WordPress

Forums

WP-DB-Backup
PHP (!) Notice displayed on Dashboard / Updates screen (3 posts)

  1. David Lingren
    Member
    Posted 1 year ago #

    Activate WordPress debugging in wp-config.php

    define('WP_DEBUG', true);
    define('WP_DEBUG_LOG', true);
    define('WP_DEBUG_DISPLAY', true);

    Login, goto Dashboard
    goto Updates (wp-admin/update-core.php)

    Get PHP Notice:

    ( ! ) Notice: Undefined index: action in C:\Users\dlingren\Documents\My Data\Data Files\Web Design\VirtualHosts\wpectest\wp-content\plugins\wp-db-backup\wp-db-backup.php on line 214
    Call Stack
    # Time Memory Function Location
    1 0.0361 310096 {main}( ) ..\update-core.php:0
    2 0.0373 406976 require_once( 'C:\Users\dlingren\Documents\My Data\Data Files\Web Design\VirtualHosts\wpectest\wp-admin\admin.php' ) ..\update-core.php:10
    3 0.9261 48747896 do_action( ) ..\admin.php:213
    4 1.6920 48803376 call_user_func_array ( ) ..\plugin.php:403
    5 1.6920 48803552 wpdbBackup->update_notice_action( ) ..\plugin.php:0

    To fix, change line 214 from

    if ( 'upgrade-core' == $_REQUEST['action'] ) :

    to

    if ( isset( $_REQUEST['action'] ) && ( 'upgrade-core' == $_REQUEST['action'] ) ) :

    http://wordpress.org/extend/plugins/wp-db-backup/

  2. David Lingren
    Member
    Posted 11 months ago #

    I've just upgraded to version 2.2.4 and this Notice: is still being displayed. The line number to be fixed has changed; the new line is 222.

  3. Austin Matzko
    Member
    Plugin Author

    Posted 11 months ago #

    Thanks for catching that! I've added a patch, and it will go out in the next release: (GitHub commit).

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.