Support » Plugin: Search By Category » [Plugin: Search By Category] Uninitialized variable $cat_id

  • In the current version 2.0.2 of the plugin, what is the value of $cat_id on about line 246:

    if(!$only_cat){
        ...
        $settings = array('show_option_all' => $focus,
            ...
            'selected' => $cat_id,

    In version 2.0.1 it looked like:

    if(!$only_cat){
        $cat_id=$_GET['cat'];
        ...
        $settings = array('show_option_all' => $focus,
            ...
            'selected' => $cat_id,

    FYI: version 2.0.1 works great, 2.0.2 does not work, sorry i can’t provide more details yet.

    http://wordpress.org/extend/plugins/search-by-category/

  • The topic ‘[Plugin: Search By Category] Uninitialized variable $cat_id’ is closed to new replies.