WordPress.org

Support

Support » Plugins and Hacks » WP-DB-Backup » PHP (!) Notice displayed on Dashboard / Updates screen

PHP (!) Notice displayed on Dashboard / Updates screen

  • 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/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP (!) Notice displayed on Dashboard / Updates screen’ is closed to new replies.
Skip to toolbar