Support » Plugin: Toolbar Publish Button » Notice: Undefined Index

  • Resolved nossfloda

    (@nossfloda)


    Hi. Got the below when going to Media Library page. DesktopSErver 3.6.3, latest WP and all plugins.

    Thanks for a great plugin.

    ( ! ) Notice: Undefined index: button_bg_color in D:\Work\DS\adolfsson.photo-ms.dev\wp-content\plugins\toolbar-publish-button\toolbar-publish-button.php on line 307
    Call Stack
    # Time Memory Function Location
    1 0.0040 266184 {main}( ) ..\upload.php:0
    2 0.6170 24170912 require_once( ‘D:\Work\DS\adolfsson.photo-ms.dev\wp-admin\admin-header.php’ ) ..\upload.php:73
    3 0.6200 24181872 do_action( ) ..\admin-header.php:97
    4 0.6200 24182256 WP_Hook->do_action( ) ..\plugin.php:453
    5 0.6200 24182304 WP_Hook->apply_filters( ) ..\class-wp-hook.php:323
    6 0.6210 24185872 call_user_func_array:{D:\Work\DS\adolfsson.photo-ms.dev\wp-includes\class-wp-hook.php:298} ( ) ..\class-wp-hook.php:298
    7 0.6210 24186096 tpb->enqueue_admin_assets( ) ..\class-wp-hook.php:298

    ( ! ) Notice: Undefined index: draft_button in D:\Work\DS\adolfsson.photo-ms.dev\wp-content\plugins\toolbar-publish-button\toolbar-publish-button.php on line 308
    Call Stack
    # Time Memory Function Location
    1 0.0040 266184 {main}( ) ..\upload.php:0
    2 0.6170 24170912 require_once( ‘D:\Work\DS\adolfsson.photo-ms.dev\wp-admin\admin-header.php’ ) ..\upload.php:73
    3 0.6200 24181872 do_action( ) ..\admin-header.php:97
    4 0.6200 24182256 WP_Hook->do_action( ) ..\plugin.php:453
    5 0.6200 24182304 WP_Hook->apply_filters( ) ..\class-wp-hook.php:323
    6 0.6210 24185872 call_user_func_array:{D:\Work\DS\adolfsson.photo-ms.dev\wp-includes\class-wp-hook.php:298} ( ) ..\class-wp-hook.php:298
    7 0.6210 24186096 tpb->enqueue_admin_assets( ) ..\class-wp-hook.php:298

    ( ! ) Notice: Undefined index: preview_button in D:\Work\DS\adolfsson.photo-ms.dev\wp-content\plugins\toolbar-publish-button\toolbar-publish-button.php on line 309
    Call Stack
    # Time Memory Function Location
    1 0.0040 266184 {main}( ) ..\upload.php:0
    2 0.6170 24170912 require_once( ‘D:\Work\DS\adolfsson.photo-ms.dev\wp-admin\admin-header.php’ ) ..\upload.php:73
    3 0.6200 24181872 do_action( ) ..\admin-header.php:97
    4 0.6200 24182256 WP_Hook->do_action( ) ..\plugin.php:453
    5 0.6200 24182304 WP_Hook->apply_filters( ) ..\class-wp-hook.php:323
    6 0.6210 24185872 call_user_func_array:{D:\Work\DS\adolfsson.photo-ms.dev\wp-includes\class-wp-hook.php:298} ( ) ..\class-wp-hook.php:298
    7 0.6210 24186096 tpb->enqueue_admin_assets( ) ..\class-wp-hook.php:298

    ( ! ) Notice: Undefined index: scrollbar_return in D:\Work\DS\adolfsson.photo-ms.dev\wp-content\plugins\toolbar-publish-button\toolbar-publish-button.php on line 312
    Call Stack
    # Time Memory Function Location
    1 0.0040 266184 {main}( ) ..\upload.php:0
    2 0.6170 24170912 require_once( ‘D:\Work\DS\adolfsson.photo-ms.dev\wp-admin\admin-header.php’ ) ..\upload.php:73
    3 0.6200 24181872 do_action( ) ..\admin-header.php:97
    4 0.6200 24182256 WP_Hook->do_action( ) ..\plugin.php:453
    5 0.6200 24182304 WP_Hook->apply_filters( ) ..\class-wp-hook.php:323
    6 0.6210 24185872 call_user_func_array:{D:\Work\DS\adolfsson.photo-ms.dev\wp-includes\class-wp-hook.php:298} ( ) ..\class-wp-hook.php:298
    7 0.6210 24186096 tpb->enqueue_admin_assets( ) ..\class-wp-hook.php:298

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author webbistro

    (@webbistro)

    Hi Kristian,

    Thanks for informing us! Please re-save plugin’s settings on Settings > Toolbar Publish Button.

    Did you upgraded from the previous version of the plugin?
    Do you see this only on a single page?

    Best,
    -Nadia

    Hi Nadia

    Of course it was only there the first time I went to that page!! Can’t reproduce it again.

    Sorry.

    Plugin Author webbistro

    (@webbistro)

    Kristian,

    Thank you for the information! I’ll try to reproduce the issue when updating, for now I cannot understand how this was possible. Anyway, all will work well for you.

    Best,
    -Nadia

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Notice: Undefined Index’ is closed to new replies.