Support » Plugin: Custom Sidebars - Dynamic Widget Area Manager » Warning and Notice when WP_DEBUG is set to true

  • Resolved David Rozando

    (@daviedr)


    Hi, this is a very nice plugin. But unfortunately I see some notice from PHP regards your code. These notices appears as I turn on the WP_DEBUG mode to true. Below I list the notice I have seen,

    Admin Settings Page

    Notice: Undefined index: defaults in ...\wp-content\plugins\custom-sidebars\customsidebars.php on line 506
    
    Notice: Undefined variable: tabdonation in ...\wp-content\plugins\custom-sidebars\views\tabs.php on line 28

    and on Front end

    Notice: Undefined index: defaults in ...\wp-content\plugins\custom-sidebars\customsidebars.php on line 506
    
    Notice: Undefined variable: sb in ...\wp-content\plugins\custom-sidebars\customsidebars.php on line 98

    This plugin works perfectly, however it would be better if these notices also disappear 🙂

    Thanks!

    http://wordpress.org/extend/plugins/custom-sidebars/

Viewing 1 replies (of 1 total)
  • Mike

    (@michael-copestake)

    WPMU DEV Support Staff

    Hi @davidr

    You don’t need to worry about Notices as PHP errors. When you disable debug mode they will go, this is just information that might be useful to developer but is not in any way a problem and can be safely ignored.

Viewing 1 replies (of 1 total)
  • The topic ‘Warning and Notice when WP_DEBUG is set to true’ is closed to new replies.