• Resolved keha

    (@keha76)


    I have WP_DEBUG enabled and when activating the plugin I get this output:

    Undefined index: mode in /wp-content/plugins/hs-custom-admin-themes/hs-custom-admin-themes.php on line 167
    Notice: Undefined index: mode in /wp-content/plugins/hs-custom-admin-themes/hs-custom-admin-themes.php on line 173
    Notice: Undefined index: mode in /wp-content/plugins/hs-custom-admin-themes/hs-custom-admin-themes.php on line 176

    You should wrap those lines of code with a simple conditional statement, something like this:

    if ( ! empty( $_GET['mode'] ) ) {
    // put the offending code here
    }

    Also, in options-page-wrapper.php, line 214. The variable $selecttheme is not defined, causing a notice too.

    http://wordpress.org/plugins/hs-custom-admin-themes/

Viewing 1 replies (of 1 total)
  • Fuel

    (@denishvachhani)

    Hi Keha76,

    Thanks a lot for your comment, I committed these changes to wordpress. You will get those in next release of plugin.

    Wish you merry christmas in advance 🙂

Viewing 1 replies (of 1 total)
  • The topic ‘unexpected output on activation solution’ is closed to new replies.