Support » Requests and Feedback » WP 2.8 – get_categories() usage in Backend?

  • Hello,

    when I try to use this:
    <?php printdump(get_categories(‘hide_empty=0’)); ?> (printdump is an extended print_r)

    I recieve something like this:

    (Vartype: array)
    
    Array
    (
        [errors] => Array
            (
                [invalid_taxonomy] => Array
                    (
                        [0] => Ungültige Systematik
                    )
    
            )
    
        [error_data] => Array
            (
            )
    
    )

    It worked perfect in WP 2.7.1. Any Ideas?

    Best regards

    Udo

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi Udo,
    I was facing the same problem..
    upgrade to 2.8.1 Beta or the latest nightly build and it will fix it.

    Adham

    Thread Starter udo-kupsch

    (@udo-kupsch)

    Hello Adham,

    I would, but the Blogs I want to update are all in German language, and since I don´t want to use Betas or nightly builds on productive Blogs, I will wait for a fixed version 😉

    Thank you anyway – if I will find the time, I will try to figure out how to fix the code by myself.

    Udo

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WP 2.8 – get_categories() usage in Backend?’ is closed to new replies.