• Resolved reivorz

    (@reivorz)


    Hello.
    I’m using “MDTF Taxonomies only” widget in my Sidebar, for featured_item post types, in order to filter Portfolio Categories. From the “Show as” Options Menu, I’ve tried them all, and only “drop down” seems to work. For “checkbox” and “label”, I keep getting the next error when I click the filtering button:

    WP_Error Object ( [errors] => Array ( [invalid_taxonomy] => Array ( [0] => Taxonomía no válida. ) ) [error_data] => Array ( ) [additional_data:protected] => Array ( ) )

    And as for the “Multiple checkbox select”, the different categories won’t even show ( seems like the window gets cropped ). My intention was having the option of selecting multiple filters at once, therefore, the Drop down configuration won’t fit my requirements.
    Any ideas as how to fix the errors I’m getting for the rest of the Show as options?
    Thank you !

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support mediawebster

    (@mediawebster)

    Hello

    Please drop me exact link to the issue and screenshots of the plugin settings

    if(!empty($_GET[‘testfdgdf’])){
    //$listing_category = get_taxonomies( array(‘taxonomy’ => ‘listing-category’,’hide_empty’ => false) );//get_terms(‘listing-category’);

    $args = array(
    ‘name’ => ‘listing-category’
    );
    $output = ‘objects’; // or names
    $taxonomies= get_taxonomies( $args, $output );
    echo ‘

    '; print_r($taxonomies);
    if ( $taxonomies ) {
        foreach ( $taxonomies as $taxonomy ) {
            echo '<div>' . $taxonomy->labels->name . '</div>';
        }
    } 
    //	echo '
    '; print_r($listing_category); 
    	exit;
    }
    
    
    
    
    
    only issue face in function.php & in other place i have getting currect result

    taxonomy=listing-category&post_type=listing

    • This reply was modified 2 years, 6 months ago by ghanshyamwnw.
    Plugin Support mediawebster

    (@mediawebster)

    Hello

    Looks like a problem with registering this taxonomy. (order of function call and taxonomy registration)

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Invalid Taxonomy Error’ is closed to new replies.