• Resolved squeaker2

    (@squeaker2)


    I have a question and it is similar to the topic located here:

    http://wordpress.org/support/topic/plugin-category-order-and-taxonomy-terms-order-categories-disappearing-in-wp-multisite

    I had two environments setup – a localhost and the dev environment on a server. I was not modifying the localhost database at all and I found your plugin. I bought it and installed it. I then uploaded the advanced version over to the server and when I activate the plugin – all of my custom taxonomy categories dissapear. I am not using MultiSite and I am under a critical deadline for this application I am creating.

    In your code – you have this:
    function listTerms($taxonomy)

    which then calls this:
    $taxonomy_terms = get_terms($taxonomy, $args);

    That array is returning empty along with the actual category page of my custom taxonomies but ONLY on the server not on the localhost. Is this a permission error or what do I have to do to fix this?

    Thank you for any help
    http://wordpress.org/extend/plugins/taxonomy-terms-order/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter squeaker2

    (@squeaker2)

    $args = array(
                                'orderby'       =>  'term_order',
                                'depth'         =>  0,
                                'child_of'      => 0,
                                'hide_empty'    =>  0
                    );
                    $taxonomy_terms = get_terms($taxonomy, $args);

    WordPress will return data if you remove the orderby term_order here, but obviously that will defeat the purpose of this plugin. Is WordPress trying to prevent us from using that column – is it a permission thing?

    Thread Starter squeaker2

    (@squeaker2)

    Still not sure why this is behaving like this. It “appears” that the problem is the term_order parameter altogether. I am trying to find code that may be trying to call that parameter before it is recognized because that is what is essentially crashing the admin as well.

    If the Admin Sort is checked in the backend (which applies the term_order to all queries) – it crashes the categories of your custom taxonomies. With enough digging I am sure I will find the problem, but any help along the way would be greatly appreciated.

    It is so awkward that this works on localhost, but not on the server. Weird.

    Thread Starter squeaker2

    (@squeaker2)

    I ended up using this plugin instead in a crunch:
    Custom Taxonomy Order

    Please still look into this bug because paid plugins should not have errors. I also recommend separating parent from children in the tree hierarchy like this plugin does. When you get 200-300 categories drag and drop is difficult with that many items.

    I would still recommend your plugin to anyone – just please work out the issue with term_order not being declared or w/e it may be.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Taxonomies Returning Empty’ is closed to new replies.