Support » Plugin: jQuery Archive List Widget » Undefined index: onlycategory

  • Installed the plugin and placed the following in one of my theme files:

    <?php echo do_shortcode('[jQueryArchiveList onlycategory="1" showcount="1" showpost="1"]'); ?>

    Resulted in the following error messages being displayed prior to showing the archive list:

    Notice: Undefined index: onlycategory in /var/www/gcihs/wp-content/plugins/jquery-archive-list-widget/jquery-archive-list-widget.php on line 311
    
    Notice: Undefined index: onlycategory in /var/www/gcihs/wp-content/plugins/jquery-archive-list-widget/jquery-archive-list-widget.php on line 315
    
    Notice: Undefined index: onlycategory in /var/www/gcihs/wp-content/plugins/jquery-archive-list-widget/jquery-archive-list-widget.php on line 328
    
    Notice: Undefined index: onlycategory in /var/www/gcihs/wp-content/plugins/jquery-archive-list-widget/jquery-archive-list-widget.php on line 311
    
    Notice: Undefined index: onlycategory in /var/www/gcihs/wp-content/plugins/jquery-archive-list-widget/jquery-archive-list-widget.php on line 315
    
    Notice: Undefined index: onlycategory in /var/www/gcihs/wp-content/plugins/jquery-archive-list-widget/jquery-archive-list-widget.php on line 328
    
    Notice: Undefined index: onlycategory in /var/www/gcihs/wp-content/plugins/jquery-archive-list-widget/jquery-archive-list-widget.php on line 311
    
    Notice: Undefined index: onlycategory in /var/www/gcihs/wp-content/plugins/jquery-archive-list-widget/jquery-archive-list-widget.php on line 315
    
    Notice: Undefined index: onlycategory in /var/www/gcihs/wp-content/plugins/jquery-archive-list-widget/jquery-archive-list-widget.php on line 328

    TEMP SOLUTION – ADDED ,'onlycategory' => 0 to the defaults array

    https://wordpress.org/plugins/jquery-archive-list-widget/

  • The topic ‘Undefined index: onlycategory’ is closed to new replies.