WordPress.org

Ready to get started?Download WordPress

Forums

AVH Extended Categories Widgets
[resolved] [PATCH] Undefined offset warning (2 posts)

  1. flynsarmy
    Member
    Posted 1 year ago #

    When updating a category I got a warning:

    Notice: Undefined offset: 16 in /path/wp/extended-categories-widget/3.3/class/avh-ec.admin.php on line 130

    Update is simple enough. Change

    if (isset($_POST['avhec_categorygroup']) && $tax_meta[$taxonomy][$term_id]['category_group_term_id'] != $_POST['avhec_categorygroup']) {

    to

    if (isset($_POST['avhec_categorygroup']) && isset($tax_meta[$taxonomy][$term_id]['category_group_term_id']) && $tax_meta[$taxonomy][$term_id]['category_group_term_id'] != $_POST['avhec_categorygroup']) {

    http://wordpress.org/extend/plugins/extended-categories-widget/

  2. petervanderdoes
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks for the patch.

    Updated the plugin and released.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.