• This plugin produces a lot of warnings, just install Query Monitor plugin and visit the front page and you will find them.

    PHP Error Count Location Call Stack Component
    Notice Undefined variable: expanded 1 wp-content/plugins/collapsing-categories/collapscatlist.php:604 list_categories()
    wp-content/plugins/collapsing-categories/collapscat.php:129
    collapsCat()
    wp-content/plugins/collapsing-categories/collapscatwidget.php:26
    collapsCatWidget->widget()
    wp-includes/class-wp-widget.php:395
    WP_Widget->display_callback()
    Unknown location
    dynamic_sidebar(‘sidebar-1’)
    wp-content/themes/songwriter-premium/sidebar.php:17
    load_template(‘~/wp-content/themes/songwriter-premium/sidebar.php’)
    wp-includes/template.php:643
    locate_template()
    wp-includes/general-template.php:122
    get_sidebar()
    wp-content/themes/songwriter-premium/index.php:60 Plugin: collapsing-categories
    Undefined variable: theID 1 wp-content/plugins/collapsing-categories/collapscatlist.php:606 list_categories()
    wp-content/plugins/collapsing-categories/collapscat.php:129
    collapsCat()
    wp-content/plugins/collapsing-categories/collapscatwidget.php:26
    collapsCatWidget->widget()
    wp-includes/class-wp-widget.php:395
    WP_Widget->display_callback()
    Unknown location
    dynamic_sidebar(‘sidebar-1’)
    wp-content/themes/songwriter-premium/sidebar.php:17
    load_template(‘~/wp-content/themes/songwriter-premium/sidebar.php’)
    wp-includes/template.php:643
    locate_template()
    wp-includes/general-template.php:122
    get_sidebar()
    wp-content/themes/songwriter-premium/index.php:60 Plugin: collapsing-categories

Viewing 1 replies (of 1 total)
  • similar with my site,

    Maybe WP 4.7 or php 7 causes, not sure which one.

    What happens if WP_DEBUG = false in wp_config ?

    still piles warning to error.log in server, with WP_DEBUG = false in wp_config ?

    if (empty($some_var) {
       $var_inside = 'some value';
    }
    
    $another_var = $var_inside;

    If WP_DEBUG with false, might be no such a Undefined variable:, I guessed if my remembrance is good.

    So, took this widget out of sidebar, and am waiting new version.

    Isn’t there any good news to this plugin ?

Viewing 1 replies (of 1 total)
  • The topic ‘This plugin produces a lot of warnings (by Query Monitor)’ is closed to new replies.