I have been using get_categories() to display the featured categories in my theme option page. However, the function does not seems to work anymore after I’ve upgraded to WordPress 2.8 (It returns an array of error like below).
array(2) { ["errors"]=> array(1) { ["invalid_taxonomy"]=> array(1) { [0]=> string(16) "Invalid Taxonomy" } } ["error_data"]=> array(0) { } }
Now, I am pretty sure WordPress 2.8.1 will be released very soon.
UPDATE : WordPress 2.8.1 is already available, please upgrade now.
- – - This temporary solution was removed because WP 2.8.1 is available now – - -
If you are using get_categories() to display category links in sidebar, you should really use wp_list_categories() instead.
Thank you for reading.